Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.



Recommended Posts

Hi i have just installed oscommerce and have got rid of all the error messages in pink at the top of the screen.


However i am now unable to access to admin page, as i only get a white screen:



Looking through the forums i found mention of the htaccess file, and im wondering if this is whhat i need to use to fix the problem?


Only, i dont understand the info in that file when i read it through notepad.


It seems to be a set of instructions rather than a file that is used by oscommerce. Is this the case or does it need to be there.


Please help





Link to comment
Share on other sites

Found the solution.


Its actually an error in the code.

Go to /catalog/admin/includes/classes/sessions.php

look on line 33, it should look like:


var $cookie_path = substr(DIR_WS_ADMIN, 0, -1);


you have to add ' ' around the substr statement, like:


var $cookie_path = 'substr(DIR_WS_ADMIN, 0, -1)';


Then the admin page is not blank anymore


This has to be fixed in the code and next release,

can someone forward it to the right person so it gets done?



Link to comment
Share on other sites

  • 2 weeks later...


I tried the the instructions you provided but this didnt work.


did you find there was anything further that needed to be done?






I am definately not an expert at this, but I did have the same problem. Mine blank screen was coming up because of the way I had the WS and FS paths setup in the configure.php's. You may want to check the paths.



Link to comment
Share on other sites


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

  • Create New...