harmonies Posted July 10, 2006 Posted July 10, 2006 Hi there, :blush: :blush: :blush: :blush: :blush: I have attached the error messages that I am reseaving on the front of the catalogue. I have been in contact with the ISP technical help desk and they have advised the folloing:- " Our engineers have advised me that the correct directory that your code should refer to is /home/hbhtuk/public_html/tmp , afterwhich it should work fine for you. " I do not know which lines of code need to be changed. As the title suggests I am very very green at all this. I would be grateful if someone could advise which lines of code require changing. I am not sure but is it something in the sessions.php file ????? :blush: Warning: session_save_path(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/hbhtuk/public_html) in /home/hbhtuk/public_html/catalog/includes/functions/sessions.php on line 148 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/hbhtuk/public_html/catalog/includes/functions/sessions.php:148) in /home/hbhtuk/public_html/catalog/includes/functions/sessions.php on line 97 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/hbhtuk/public_html/catalog/includes/functions/sessions.php:148) in /home/hbhtuk/public_html/catalog/includes/functions/sessions.php on line 97 Many thanks for all you suuport and help on this Harmonies :thumbsup:
♥Vger Posted July 10, 2006 Posted July 10, 2006 This is being caused because your hosts are running PHP in Safe Mode, with a version of PHP which does not correctly handle the Session Save Path (it's a bug). To resolve it do this: In your admin panel, under Configuration --> Sessions change the Session Save Path to just tmp (with no forward slash before or after tmp) In both of your configure.php files make sure that the last line reads 'mysql' where indicated. This removes the need to have a tmp folder. You still have to carry out the first fix though - because of the bug. Vger
harmonies Posted July 10, 2006 Author Posted July 10, 2006 Hi there, :blush: :blush: :blush: :blush: :blush: I have attached the error messages that I am reseaving on the front of the catalogue. I have been in contact with the ISP technical help desk and they have advised the folloing:- " Our engineers have advised me that the correct directory that your code should refer to is /home/hbhtuk/public_html/tmp , afterwhich it should work fine for you. " I do not know which lines of code need to be changed. As the title suggests I am very very green at all this. I would be grateful if someone could advise which lines of code require changing. I am not sure but is it something in the sessions.php file ????? :blush: Warning: session_save_path(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/hbhtuk/public_html) in /home/hbhtuk/public_html/catalog/includes/functions/sessions.php on line 148 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/hbhtuk/public_html/catalog/includes/functions/sessions.php:148) in /home/hbhtuk/public_html/catalog/includes/functions/sessions.php on line 97 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/hbhtuk/public_html/catalog/includes/functions/sessions.php:148) in /home/hbhtuk/public_html/catalog/includes/functions/sessions.php on line 97 Many thanks for all you suuport and help on this Harmonies :thumbsup: Hi Managed to sort out all of the above coolio. I only have one more question........how do I do the following:- "You need to .htaccess your /catalog/admin directory so that it is password protected. You can use the password manager in your server admin area like cpanel." Many thanks Harmonies
Recommended Posts
Archived
This topic is now archived and is closed to further replies.