Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moved servers...store is a blank page now


Guest

Recommended Posts

Guys,

 

Thanks in advance for your help. I moved a heavily modified cart from a server with PHP 4 to a server with PHP 5, I placed a .htaccess file in the root to fix the register globals problem, and I no longer get that error...however...I now get a blank screen, like what happens when there is a php error with error reporting turned off.

 

This is a major problem for me, and I was wondering if anyone had experienced this, and if so what they did. Or is there something I need to do (besides go back to PHP 4, I have other OSC stores as modified as this one running in this environment) I even tried installing a fresh install into another folder, and I get the same result.

 

Any advice on this would be greatly appreciated.

 

In advance, thanks,

GrayOne

Link to comment
Share on other sites

did you updated the configure.php files?

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

Provided that you are using osCommerce 2.2 MS2 with all of the updates up to and included the 17th August 2006 then the default osCommerce will work on PHP 5, provided that Register Globals and Register Long Arrays are 'on' in php.ini.

 

The problems you are experiencing could come from the following other areas:

 

1. If the PHP 5 server also uses MySQL 5 (osCommerce 2.2 MS2 is not compatible with MySQL 5).

 

2. If you have contributions installed which only show up problems with modern versions of PHP 5. For instance, cDynamic Meta Tags.

 

You first need to track down where the first error is occuring by looking in your Error Log. Fix that problem and then see if another one occurs - and work through them until they are all resolved.

 

Vger

Link to comment
Share on other sites

Provided that you are using osCommerce 2.2 MS2 with all of the updates up to and included the 17th August 2006 then the default osCommerce will work on PHP 5, provided that Register Globals and Register Long Arrays are 'on' in php.ini.

 

The problems you are experiencing could come from the following other areas:

 

1. If the PHP 5 server also uses MySQL 5 (osCommerce 2.2 MS2 is not compatible with MySQL 5).

 

2. If you have contributions installed which only show up problems with modern versions of PHP 5. For instance, cDynamic Meta Tags.

 

You first need to track down where the first error is occuring by looking in your Error Log. Fix that problem and then see if another one occurs - and work through them until they are all resolved.

 

Vger

 

Thanks for the response, during the wait for replies in here, I did some checking on another of the carts I am running on this setup, in the .htaccess file I noticed that register_long_arrays was on, in the .htaccess file of the new server, I had not included that line. I am going to repoint the domain name to the server and test it. I will repost after that and let you know what happens. I think that it is the register_long_arrays setting though, come to think of it. Thanks for the help...I'll keep you posted.

Link to comment
Share on other sites

osCommerce 2.2 MS2 is not compatible with MySQL 5

who told you that? I personally tested on linux testing server with MySQL 4, MySQL 5 & MySQL 6 (bets version) and found only with few SQL query problems but not blank pages!

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

Thanks for the help so far. I turned on register_long_arrays, basically I moved the htaccess file from a working store but no dice.

 

Here is the URL:

 

http://www.fangoria.com/oscommerce2/index.php

 

You can see that the page is blank, error_reporting is also on. With error_reporting on, I would hope to see an error pointing me in the right direction, any advice, I need to get this store going.

 

Could a database error be causing this?

 

GrayOne

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...