sergefai Posted October 29, 2006 Posted October 29, 2006 I installed OC according to the instructuionsat the My Webpage. chmoded confige.phph to 444. created tnp and cache folders but all the same I get the warning messages and pink-colored-warning: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 11818 is not allowed to access owned by uid 0 in /home/nvrsinfo/nvrsinfo/www/catalog/includes/functions/sessions.php on line 148 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/nvrsinfo/nvrsinfo/www/catalog/includes/functions/sessions.php:148) in /home/nvrsinfo/nvrsinfo/www/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 /home/nvrsinfo/nvrsinfo/www/catalog/includes/functions/sessions.php:148) in /home/nvrsinfo/nvrsinfo/www/catalog/includes/functions/sessions.php on line 97 Could someone to advise me please on what to do? The PHP version of the server where I installed OC is 5.1.2. Can it cause my problems? Any help would be appreciated Thank you
starcad Posted October 29, 2006 Posted October 29, 2006 I installed OC according to the instructuionsat the My Webpage. chmoded confige.phph to 444. created tnp and cache folders but all the same I get the warning messages and pink-colored-warning: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 11818 is not allowed to access owned by uid 0 in /home/nvrsinfo/nvrsinfo/www/catalog/includes/functions/sessions.php on line 148 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/nvrsinfo/nvrsinfo/www/catalog/includes/functions/sessions.php:148) in /home/nvrsinfo/nvrsinfo/www/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 /home/nvrsinfo/nvrsinfo/www/catalog/includes/functions/sessions.php:148) in /home/nvrsinfo/nvrsinfo/www/catalog/includes/functions/sessions.php on line 97 Could someone to advise me please on what to do? The PHP version of the server where I installed OC is 5.1.2. Can it cause my problems? Any help would be appreciated Thank you Well the first thing you really need to do is secure the admin directory. That won't get rid of the errors but it will prevent people from going in and wrecking your site and possibly you database. If I remember right your getting these errors because SAFE MODE is turned on in your php version and needs to be turned off. I may be mistaken as it has been awhile since I had this error but I'm sure someone will correct me if I'm wrong. Ounce that is done most of the errors will disappear. You still need to create a tmp directory and and change the permissions on the config file. The error is in the first warning ...SAFE MODE Restriction in effect. ... Hope this helps
sergefai Posted October 29, 2006 Author Posted October 29, 2006 Well the first thing you really need to do is secure the admin directory. That won't get rid of the errors but it will prevent people from going in and wrecking your site and possibly you database. If I remember right your getting these errors because SAFE MODE is turned on in your php version and needs to be turned off. I may be mistaken as it has been awhile since I had this error but I'm sure someone will correct me if I'm wrong. Ounce that is done most of the errors will disappear. You still need to create a tmp directory and and change the permissions on the config file. The error is in the first warning ...SAFE MODE Restriction in effect. ... Hope this helps Thank you, but how I can turn on SAFE MODE on my php? Does it mean I have to install OC where SAFE MODE on their php is turned off? Now I am trying toreinstall the OC and store session in dtabase. May be it can help.
sergefai Posted October 29, 2006 Author Posted October 29, 2006 Now I reinstalled the OC and store session in database but nothing changed.
sergefai Posted October 29, 2006 Author Posted October 29, 2006 Now I reinstalled the OC and store session in database but nothing changed. I chmoded config.php to 444 and in my ftp proram I see -rw-r-r---- I also created temp and cache directories. On my computer (Windows) everything is fine. I am at a loss on how to make OC work at My Webpagehttp://nvrs.info/catalog/
starcad Posted October 29, 2006 Posted October 29, 2006 Now I reinstalled the OC and store session in database but nothing changed. I chmoded config.php to 444 and in my ftp proram I see -rw-r-r----I also created temp and cache directories. On my computer (Windows) everything is fine. I am at a loss on how to make OC work at A href="http://"nvrs.info/catalog/" target=_blank>My Webpagehttp://nvrs.info/catalog/ Dude, your doing good, like I said in the other message you posted all you need to do is change the permissions for the file: home/nvrsinfo/nvrsinfo/www/catalog/includes/configure.php to 644 and that should take care of the warnings. If you still see the warnings after you set the permissions then refresh your screen or clear your cache in your browser and it should work. Good job on secureing the admin. That should be the first thing anyone with a new install should do before attempting anything else with the site.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.