Zen Cart Logo
Forums / General Questions / php error codes - has anyone come aross this?

php error codes - has anyone come aross this?

Locked

Views: 1,095

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
21 Jan 2008, 2:49 AM
#1
jasperguy avatar

jasperguy

New Zenner

Join Date:
Nov 2007
Posts:
21
Plugin Contributions:
0

php error codes - has anyone come aross this?

Here is the error I get from my page:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/jollywor/public_html/zencart/includes/classes/class.smtp.php:2114) in /home/jollywor/public_html/zencart/includes/functions/sessions.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/jollywor/public_html/zencart/includes/classes/class.smtp.php:2114) in /home/jollywor/public_html/zencart/includes/init_includes/init_templates.php on line 155

I had recently moved servers and I get this error.

21 Jan 2008, 8:40 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: php error codes - has anyone come aross this?

Searching the FAQ system for "headers already sent" brings up this as the first result:
https://www.zen-cart.com/tutorials/index.php?article=87

I suspect that your class.smtp.php file is incomplete or corrupt and should be re-uploaded ... probably from the original copy.
If you find that it's double-spaced on the server, you should grab the original from the Zen Cart master distribution zip file, and upload that instead ... assuming you've not customized yours in some way.

21 Jan 2008, 5:25 PM
#3
jasperguy avatar

jasperguy

New Zenner

Join Date:
Nov 2007
Posts:
21
Plugin Contributions:
0

Re: php error codes - has anyone come aross this?

Thanks, I'll give it a go.

21 Jan 2008, 5:49 PM
#4
jasperguy avatar

jasperguy

New Zenner

Join Date:
Nov 2007
Posts:
21
Plugin Contributions:
0

Re: php error codes - has anyone come aross this?

I have did what you asked and it gave me three other errors, but I repeated the process with the different errors, and it worked. Thanks.

I guess some of the files were corrupt in the transfer.