Issues:
after migrate from CentOS-3.5 server to FC5 for osCommerce-2.2, there are some issues mainly caused by imcompatibility w/ php5.
- cannot display categories
- cannot display admin
- page manager cannot edit Extra Page
Solutions:
for 1.
- open /catalog/index.php
- change p.products_id = s.products_id
- to p2c.products_id = s.products_id
for 2.
- open /catalog/admin/includes/classes/upload.php
- comment out $this = null
for 3.
- check error_log file of apache
- add before array_merge($var1,..,$varN) the statement:
- if (!is_array()) { $var1 = array($var1) ;};
- :
- if (!is_array()) {$varN = array($varN);};