scrooge Posted January 1, 2004 Share Posted January 1, 2004 I would be grateful if anyone can help me solve this problem I'm having parsing these scripts. My connection to my database is working fine. +++++++++++++++++++++++++++++++++++++++++++++++++++++ Parse error: parse error in /home/user/public_html/mydb/mydb_fns.php on line 54 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/user/public_html/mydb/mydb_fns.php:54) in /home/user/public_html/mydb/index.php on line 6 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/user/public_html/mydb/mydb_fns.php:54) in /home/user/public_html/mydb/index.php on line 6 +++++++++++++++++++++++++++++++++++++++++++++++++++++ The first paragraph is refering to the following line code (54): $url = "show_cat.php?cat_id=".($row[ "cat_id" ]); which is from an mydb_fns.php The second and third paragraph is refering to the following line code (6): session_start(); which is from index.php calling the functions placed in include.php (above) I am new to this business and any assistance would be much appreciated. Link to comment Share on other sites More sharing options...
241 Posted January 1, 2004 Share Posted January 1, 2004 check for whitespace in your index.php file by placing your cursor after the last ?> and pressing delete also check at the beginning before <?php No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
scrooge Posted January 1, 2004 Author Share Posted January 1, 2004 Thanks for the reply '241', but I've already done that and the problem still persists. By the way the 'include.php' is actually the 'mydb_fns.php' (my bad) Link to comment Share on other sites More sharing options...
241 Posted January 1, 2004 Share Posted January 1, 2004 sorry wrong file should be the 'mydb_fns.php' file the other file to try is english.php samething whitespace the problem is a whitespace somewhere. Do not use the filemanager for this I have seen too many problems from people using filemanager to try and edit files. use a proper editor and edit offline then reload No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.