Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Headers already sent-output started...


ram123

Recommended Posts

Posted

Below is the messgae which is coming on the website... And I have tried removing the spaces in the file session.php but is still the same.... Please help me out......

 

 

 

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/users/enterelectronics.com) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/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 /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php:162) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/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 /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php:162) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php on line 97

Posted
Below is the messgae which is coming on the website... And I have tried removing the spaces in the file session.php but is still the same.... Please help me out......

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/users/enterelectronics.com) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/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 /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php:162) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/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 /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php:162) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php on line 97

 

 

Reply Edited.

 

NATTARIOUS

Posted
Below is the messgae which is coming on the website... And I have tried removing the spaces in the file session.php but is still the same.... Please help me out......

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/users/enterelectronics.com) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/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 /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php:162) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/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 /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php:162) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php on line 97

Try specify a temporary directory within your domain.

If the error still occur, check the lines specified in the error

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php:162) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php on line 97

Posted
Try specify a temporary directory within your domain.

If the error still occur, check the lines specified in the error

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php:162) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php on line 97

 

 

Where should I specfy temporary directory? What is this mean? "File(/tmp) is not within the allowed path(s): (/users/enterelectronics.com)"

Posted
Try specify a temporary directory within your domain.

If the error still occur, check the lines specified in the error

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php:162) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/includes/functions/sessions.php on line 97

 

 

Hello Ram..

 

Just as Coopco mentioned...

 

The tmp directory should be on under your domain... /enterelectronics.com/tmp

Also make sure to make it writable (777) Humm.. hope that helps

 

NATTARIOUS

Posted
Hello Ram..

 

Just as Coopco mentioned...

 

The tmp directory should be on under your domain... /enterelectronics.com/tmp

Also make sure to make it writable (777) Humm.. hope that helps

 

NATTARIOUS

 

 

I am already having tmp file in the root with 776 I am not able to change it.... I have made an another folder in enterelectronics.com/tmp with 777 but still the problem is same.... You can once check over http://www.enterelectronics.com/catalog/ and also I am not able to acccess admin.... i.e, http://www.enterelectronics.com/catalog/admin/ Please help me..... Please see the problem on the website and give me msg what should I do.....

Posted
Hello Ram..

 

Just as Coopco mentioned...

 

The tmp directory should be on under your domain... /enterelectronics.com/tmp

Also make sure to make it writable (777) Humm.. hope that helps

 

NATTARIOUS

Thanks NATTARIOUS for answering.

 

The directory can also be called anything

Posted
Thanks NATTARIOUS for answering.

 

The directory can also be called anything

 

 

Still its not working sir..... please help me out...

I am already having tmp file in the root with 776 I am not able to change it.... I have made an another folder in enterelectronics.com/tmp with 777 but still the problem is same.... You can once check over http://www.enterelectronics.com/catalog/ and also I am not able to acccess admin.... i.e, http://www.enterelectronics.com/catalog/admin/ Please help me..... Please see the problem on the website and give me msg what should I do.....

Posted
Still its not working sir..... please help me out...

I am already having tmp file in the root with 776 I am not able to change it.... I have made an another folder in enterelectronics.com/tmp with 777 but still the problem is same.... You can once check over http://www.enterelectronics.com/catalog/ and also I am not able to acccess admin.... i.e, http://www.enterelectronics.com/catalog/admin/ Please help me..... Please see the problem on the website and give me msg what should I do.....

Put it here http://enterelectronics.com/catalog/tmp/ I think that will work.

Posted
No difference sir.... Its the same thing again......

Please stop PMing me.

 

What do your configure.php files say?

 

Try

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

if that works, then go to admin and fix the temp path in sessions.

Posted
Please stop PMing me.

 

What do your configure.php files say?

 

Try

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

if that works, then go to admin and fix the temp path in sessions.

 

 

No Sir... problem still occuring........

Posted
No Sir... problem still occuring........

Sorry, I do not know how you can fix this except to delete and reinstall.

Posted
Sorry, I do not know how you can fix this except to delete and reinstall.

 

 

oh.... how can I contact any one author of this script? Beacause i have already tried reinstallin it......

Posted
oh.... how can I contact any one author of this script? Beacause i have already tried reinstallin it......

What script? Do you mean OSC?

Posted
Yes.......

If you have installed osc twice and are getting the same errors, you are doing something wrong. Try again and tell it to store sessions in the database.

Posted
If you have installed osc twice and are getting the same errors, you are doing something wrong. Try again and tell it to store sessions in the database.

 

 

How would I tell to store sessions in database? In configure.php it is already specified mysql..... Please help me someone...... I am not able to log in to my admin section also.... The error showing to me is

 

 

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/users/enterelectronics.com) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/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 /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/admin/includes/functions/sessions.php:161) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/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 /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/admin/includes/functions/sessions.php:161) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/admin/includes/functions/sessions.php on line 97

 

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/admin/includes/functions/sessions.php:161) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/admin/includes/functions/general.php on line 22

 

please go to www.enterelectronics.com/catalog/admin/ and check it...... Please help....... :huh:

Posted
How would I tell to store sessions in database? In configure.php it is already specified mysql..... Please help me someone...... I am not able to log in to my admin section also.... The error showing to me is

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/users/enterelectronics.com) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/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 /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/admin/includes/functions/sessions.php:161) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/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 /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/admin/includes/functions/sessions.php:161) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/admin/includes/functions/sessions.php on line 97

 

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/admin/includes/functions/sessions.php:161) in /usr/local/share/doc/vhost/enterelectronics.com/httpdocs/catalog/admin/includes/functions/general.php on line 22

 

please go to www.enterelectronics.com/catalog/admin/ and check it...... Please help....... :huh:

Archived

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

×
×
  • Create New...