Guest Posted December 7, 2007 Posted December 7, 2007 After installing to the catalog folder and setting the correct permissions I get the ollowing when trying to view the catalog: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 12544 is not allowed to access /tmp owned by uid 0 in /mywebsite/catalog/includes/functions/sessions.php on line 162 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mywebsite/catalog/includes/functions/sessions.php:162) in /mywebsite/catalog/includes/functions/sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mywebsite/catalog/includes/functions/sessions.php:162) in /mywebsite/catalog/includes/functions/sessions.php on line 97 I've substituted the web ath with "mywebsite" for security reasons. I also get the following when trying to access the admin page: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 12544 is not allowed to access /tmp owned by uid 0 in /mywebsite/catalog/admin/includes/functions/sessions.php on line 161 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mywebsite/catalog/admin/includes/functions/sessions.php:161) in /mywebsite/catalog/admin/includes/functions/sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mywebsite/catalog/admin/includes/functions/sessions.php:161) in /mywebsite/catalog/admin/includes/functions/sessions.php on line 97 Warning: Cannot modify header information - headers already sent by (output started at /mywebsite/catalog/admin/includes/functions/sessions.php:161) in /mywebsite/catalog/admin/includes/functions/general.php on line 22 Please please help me. I want my site up and running by Jan 1st 08! Thanks :'(
♥geoffreywalton Posted December 7, 2007 Posted December 7, 2007 I googled for oscommerce Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The first result seems to answer your problem Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Guest Posted December 11, 2007 Posted December 11, 2007 Thanks Geoffrey. I now get the following error..... Parse error: syntax error, unexpected $end in /mysite/catalog/includes/functions/sessions.php on line 188 Any Ideas? I googled for oscommerce Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The first result seems to answer your problem
♥geoffreywalton Posted December 11, 2007 Posted December 11, 2007 Looks like your editing broke the syntax rules. 1. Check what you did. 2. If the first thing in the file is <?php make sure there are no blank lines or spaces before it. 3. If the last thing in the file is ?> then make sure there are no blank lines or spaces after it. My session file only has 115 lines in it but you may have installed different contributions. Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
tskinner Posted December 12, 2007 Posted December 12, 2007 Hi I found this topic searching for the parse error unexpected $ on line..........anyway, thanks for reminding me to check the syntax elsewhere. It ended up being a commented out "}" having nothing to do with the line it gave me for the error. Anyway...thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.