vjboc Posted June 16, 2010 Posted June 16, 2010 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
FIMBLE Posted June 16, 2010 Posted June 16, 2010 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
npn2531 Posted June 16, 2010 Posted June 16, 2010 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. Oscommerce site: OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120
FIMBLE Posted June 16, 2010 Posted June 16, 2010 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
npn2531 Posted June 16, 2010 Posted June 16, 2010 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
FIMBLE Posted June 16, 2010 Posted June 16, 2010 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
npn2531 Posted June 16, 2010 Posted June 16, 2010 Pedantic and attention to detail is kind of a basic requirement when it comes to computer code. LOL Oscommerce site: OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120
FIMBLE Posted June 16, 2010 Posted June 16, 2010 Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
vjboc Posted June 16, 2010 Author Posted June 16, 2010 Hey thanks guys. It had space on the bottom of the page. Really appreciate it. vinny
FIMBLE Posted June 16, 2010 Posted June 16, 2010 You were right George :-) Glad you got it sorted Vinny Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.