Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

White pages when I change index.php files. Please help. ;-(


ExclusiveCA

Recommended Posts

White pages when I change index.php files. Please help. ;-(

 

I am starting with a fresh and new database and the newest version. Everytime I try to change the main page (index.php that is in the includes/languages/english) the site simply returns a white page. No error , no partial loads. Just a white screen.

 

I have read some posts, and tried to open the file on my computer with notepad and then remove everything between the '' until it looks like this define('TEXT_MAIN', ''); --still the same white screen.

I have also tried to open it in the filemanager. (although some have said that this strips the php somehow--same white screen

I have tried to set up a site in dreamweaver to change the php--same white screen

 

Please help, I spent hours adding my database items. Now I can't even get to the point where I want to spend more than a few minutes changing the database since I can't get the main page to look clean (let alone tweak it to look good) without the help intro text still there.

 

Thanks in advance ;-) :unsure:

Link to comment
Share on other sites

white screen normally means a PHP error but your php.ini file has not been set up to display errors - hence your just getting a white screen

 

to turn on error reporting add

 

ini_set('display_errors',1);
error_reporting(E_ALL|E_STRICT);

 

to the top of your PHP file

 

If you paste your index.php file here we will be able to tell what the error is..

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...