Deivydask Posted March 5, 2007 Share Posted March 5, 2007 hello, I got a problem: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 32220 is not allowed to access owned by uid 0 in /home/elitcom/public_html/loja/includes/functions/sessions.php on line 118 Warning: Cannot modify header information - headers already sent by (output started at /home/elitcom/public_html/loja/includes/functions/sessions.php:118) in /home/elitcom/public_html/loja/includes/functions/general.php on line 1174 I really need help, thanks for answers dude's Link to comment Share on other sites More sharing options...
Iggy Posted March 5, 2007 Share Posted March 5, 2007 hello, I got a problem: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 32220 is not allowed to access owned by uid 0 in /home/elitcom/public_html/loja/includes/functions/sessions.php on line 118 Warning: Cannot modify header information - headers already sent by (output started at /home/elitcom/public_html/loja/includes/functions/sessions.php:118) in /home/elitcom/public_html/loja/includes/functions/general.php on line 1174 I really need help, thanks for answers dude's In your /includes/configure.php what does this line say? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' If it doesn't say mysql type it in there and report back the results. Iggy Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
Deivydask Posted March 5, 2007 Author Share Posted March 5, 2007 In your /includes/configure.php what does this line say? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' If it doesn't say mysql type it in there and report back the results. Iggy I did what you said and got new error: "Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'apache@localhost' (Using password: NO) in /home/dcreative/public_html/test/includes/functions/database.php on line 19 Unable to connect to database server!" Link to comment Share on other sites More sharing options...
Deivydask Posted March 5, 2007 Author Share Posted March 5, 2007 In your /includes/configure.php what does this line say? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' If it doesn't say mysql type it in there and report back the results. Iggy I did what you said and got new error: "Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'apache@localhost' (Using password: NO) in /home/dcreative/public_html/test/includes/functions/database.php on line 19 Unable to connect to database server!" Link to comment Share on other sites More sharing options...
Iggy Posted March 5, 2007 Share Posted March 5, 2007 I did what you said and got new error: "Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'apache@localhost' (Using password: NO) in /home/dcreative/public_html/test/includes/functions/database.php on line 19 Unable to connect to database server!" Now you'll want to confirm that your MySQL connection/user/password/db are correct on these 4 lines define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); Iggy Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
Deivydask Posted March 5, 2007 Author Share Posted March 5, 2007 Now you'll want to confirm that your MySQL connection/user/password/db are correct on these 4 lines define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); Iggy Now is new error: "Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 36476 is not allowed to access owned by uid 0 in /home/dcreative/public_html/test/includes/functions/sessions.php on line 118 Warning: Cannot modify header information - headers already sent by (output started at /home/dcreative/public_html/test/includes/functions/sessions.php:118) in /home/dcreative/public_html/test/includes/functions/general.php on line 1174 Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. " web link http://www.dcreative.puslapiai.lt/test/ Link to comment Share on other sites More sharing options...
Iggy Posted March 5, 2007 Share Posted March 5, 2007 Now is new error:"Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 36476 is not allowed to access owned by uid 0 in /home/dcreative/public_html/test/includes/functions/sessions.php on line 118 Warning: Cannot modify header information - headers already sent by (output started at /home/dcreative/public_html/test/includes/functions/sessions.php:118) in /home/dcreative/public_html/test/includes/functions/general.php on line 1174 Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. " web link http://www.dcreative.puslapiai.lt/test/ In the admin under Configuration > Sessions > Session Directory see if it says /tmp there. If it does just delete the entry so it's blank. Iggy Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
Deivydask Posted March 5, 2007 Author Share Posted March 5, 2007 In the admin under Configuration > Sessions > Session Directory see if it says /tmp there. If it does just delete the entry so it's blank. Iggy When I delte text "/tmp" and pressed update I got new error: "Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 36476 is not allowed to access owned by uid 0 in /home/dcreative/public_html/test/admin/includes/functions/sessions.php on line 110 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/dcreative/public_html/test/admin/includes/functions/sessions.php:110) in /home/dcreative/public_html/test/admin/includes/functions/sessions.php on line 67 Warning: Cannot modify header information - headers already sent by (output started at /home/dcreative/public_html/test/admin/includes/functions/sessions.php:110) in /home/dcreative/public_html/test/admin/includes/functions/general.php on line 18 " where is the problem :( Link to comment Share on other sites More sharing options...
Iggy Posted March 5, 2007 Share Posted March 5, 2007 When I delte text "/tmp" and pressed update I got new error:"Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 36476 is not allowed to access owned by uid 0 in /home/dcreative/public_html/test/admin/includes/functions/sessions.php on line 110 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/dcreative/public_html/test/admin/includes/functions/sessions.php:110) in /home/dcreative/public_html/test/admin/includes/functions/sessions.php on line 67 Warning: Cannot modify header information - headers already sent by (output started at /home/dcreative/public_html/test/admin/includes/functions/sessions.php:110) in /home/dcreative/public_html/test/admin/includes/functions/general.php on line 18 " where is the problem :( Hrrm, You may have to start dinging permissions on files and dirs around to let the webserver write. First off try disabling cache. Then track down each line the errors are referring to and see if the webserver can write to them. I personally don't run php with safe mode so I'm not sure exactly what your setup is like. You might do a search of the forums for other folks with safe mode problems. And lastly, ask your host. Iggy Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.