Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot get to Oscommerce admin page


vjboc

Recommended Posts

When I go to my oscommerce admin page, 3 warnings come up (below). I think I something got deleted by accident.

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home7/soundwa2/public_html/store/admin/includes/filenames.php:2) in /home7/soundwa2/public_html/store/admin/includes/functions/sessions.php on line 102

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home7/soundwa2/public_html/store/admin/includes/filenames.php:2) in /home7/soundwa2/public_html/store/admin/includes/functions/sessions.php on line 102

 

Warning: Cannot modify header information - headers already sent by (output started at /home7/soundwa2/public_html/store/admin/includes/filenames.php:2) in /home7/soundwa2/public_html/store/admin/includes/functions/general.php on line 23

Link to comment
Share on other sites

looks like you have a white space problem in your includes  / filenames.php look at the very top it should be 

 

<?php with no space before it, if there is a space then you will need to get rid of it

 

Nic

 

 

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

To add to Fimble's advice make sure the closing tag at the bottom of the page, includes/filenames.php, ?>, is the very last thing on the page. No space or lines after it.

 

 

Good point and one worth making however the error says its line two which as we both know really means line 1 !!

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Once I used the text editor on my MAC to edit a number of files, and without me noticing it, the text editor double spaced everything. No problem until about 3 months later, my webhost incrementally updated the php, then boom, errors all over the place, including one instance where it was the page that opened before the page gave the error that had the whitespace.

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

Once I used the text editor on my MAC to edit a number of files, and without me noticing it, the text editor double spaced everything. No problem until about 3 months later, my webhost incrementally updated the php, then boom, errors all over the place, including one instance where it was the page that opened before the page gave the error that had the whitespace.

 

 

Your are right to say so, im just being pedantic

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...