Using PHP5 makes all my products disappear in OSCommerce

We have updated our version of php so the default used is PHP5 rather than PHP4. This can cause the error message "product not found" when clicking on a product in OSCommerce

This problem is caused by the fact that PHP 5 has "register_long_arrays" set to "Off".

To re-enable it add the following line to a php.ini file in the root directory of your site.

register_long_arrays = On

If you site already has a php.ini file, just add it to the next line in the file.

  • 65 Users Found This Useful
Was this answer helpful?

Related Articles

How can I upload my MySQL database?

There are numerous ways to upload a MySQL database, we would strongly recommend trying methods 2...

What modules are installed on the server?

Simply log into your Fast Name Control Panel and select Web Diagnostics. Under that section you...

What version of PHP does Fast-name run?

You can find out the version of different programs that Fast-name run by logging into your Fast...

What is PHP?

Self-referentially short for PHP: Hypertext Preprocessor, an open source, server-side, HTML...

Can I place a PHP script in any directory I choose?

Yes. PHP scripts do not have to reside in any particular directory and will run anywhere in your...