Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Safe Mode


Guest

Recommended Posts

Please in mega layman's terms can someone help me fix these error messages:

 

In the mysite/catalog/index.php I am getting this messages.

 

Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 32064 is not allowed to access /tmp owned by uid 0 in /home/libraria/public_html/catalog/includes/functions/sessions.php on line 169

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/libraria/public_html/catalog/includes/functions/sessions.php:169) in /home/libraria/public_html/catalog/includes/functions/sessions.php on line 102

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/libraria/public_html/catalog/includes/functions/sessions.php:169) in /home/libraria/public_html/catalog/includes/functions/sessions.php on line 102

 

In the /mysite/catalog/admin/index.php admin area I am getting these messages.

 

Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 32064 is not allowed to access /tmp owned by uid 0 in /home/libraria/public_html/catalog/admin/includes/functions/sessions.php on line 165

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/libraria/public_html/catalog/admin/includes/functions/sessions.php:165) in /home/libraria/public_html/catalog/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 /home/libraria/public_html/catalog/admin/includes/functions/sessions.php:165) in /home/libraria/public_html/catalog/admin/includes/functions/sessions.php on line 102

 

Warning: Cannot modify header information - headers already sent by (output started at /home/libraria/public_html/catalog/admin/includes/functions/sessions.php:165) in /home/libraria/public_html/catalog/admin/includes/functions/general.php on line

 

Thanks in advance!

 

Damian

Link to comment
Share on other sites

SAFE MODE Restriction in effect

 

Go to your admin configuration sessions and set the sessions directory to tmp. That means no slashes.

 

Stupid question number 2. Where does the admin configuration sessions live?

Link to comment
Share on other sites

Damian - you might want to ask your host to turn safe mode off. A lot of hosts use it thinking it add security but it doesn't. Some will turn it off when askd.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Your admin tool usu http://www.yourdomain.com/admin

 

 

When I go to the admin page this is what comes up? How can I change the tmp

SAFE MODE settings when this appears?

 

 

Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 32064 is not allowed to access /tmp owned by uid 0 in /home/libraria/public_html/catalog/admin/includes/functions/sessions.php on line 165

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/libraria/public_html/catalog/admin/includes/functions/sessions.php:165) in /home/libraria/public_html/catalog/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 /home/libraria/public_html/catalog/admin/includes/functions/sessions.php:165) in /home/libraria/public_html/catalog/admin/includes/functions/sessions.php on line 102

 

Warning: Cannot modify header information - headers already sent by (output started at /home/libraria/public_html/catalog/admin/includes/functions/sessions.php:165) in /home/libraria/public_html/catalog/admin/includes/functions/general.php on line 22

Link to comment
Share on other sites

Damian - you might want to ask your host to turn safe mode off. A lot of hosts use it thinking it add security but it doesn't. Some will turn it off when askd.

 

Jack

 

 

Hi Jack,

 

thanks for this, I rang them and they stated I need to build a php.ini file. Does this make sense? Where can I get this file?

 

Damian

Link to comment
Share on other sites

It's just a text file. Create a file and name it php.ini. Edit it and add this line

safe_mode = Off

. Save it and upload it to whatever directory is having the problem. If there is a php.ini file already there, you will need to merge them.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...