Forums / General Questions / blank page adding items to shopping cart or checking out

blank page adding items to shopping cart or checking out

Views: 2,816

Results 1 to 14 of 14
14 Apr 2011, 1:56 PM
#1
bloomingvine avatar

bloomingvine

New Zenner

Join Date:
Jan 2011
Location:
midwest USA
Posts:
73
Plugin Contributions:
0

blank page adding items to shopping cart or checking out

I just tried to rename my template from classic to something else, and I must have screwed up something. I ended up having to restore my zencart store via my hosting's 24 hour ago back up. Evreything is back and working now, but when I go to place items in a shopping cart, it goes to a blank screen. I checked the cache file for the most recent mydebug log, and this is what it said..

[14-Apr-2011 05:14:01] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/content/36/5920136/html/zencart/includes/classes/class.smtp.php:2135) in /home/content/36/5920136/html/zencart/includes/functions/sessions.php on line 114
[14-Apr-2011 05:14:01] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/36/5920136/html/zencart/includes/classes/class.smtp.php:2135) in /home/content/36/5920136/html/zencart/myadmin/includes/init_includes/init_templates.php on line 28
[14-Apr-2011 05:14:01] PHP Warning: session_regenerate_id() [<a href='function.session-regenerate-id'>function.session-regenerate-id</a>]: Cannot regenerate session id - headers already sent in /home/content/36/5920136/html/zencart/includes/functions/sessions.php on line 179
[14-Apr-2011 05:14:01] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/36/5920136/html/zencart/includes/classes/class.smtp.php:2135) in /home/content/36/5920136/html/zencart/myadmin/includes/functions/general.php on line 21

The items get placed in the shoping cart if you hit the back button, but initially goes to a blank page.

I have been reading and all I can find out is that somewhere , most likely, my restore caused a blank line or syntax error somewhere in the php. I dont know anything about php. If someone could please point me in the right direction? Or do I need to go through evry php file in the whole shop? I'm running zencart v. 1.3.9h and my site is at http://bloomingvinedesign.com/zencart/

I reject your reality and substitute my own--Adam Savage

14 Apr 2011, 1:58 PM
#2
bloomingvine avatar

bloomingvine

New Zenner

Join Date:
Jan 2011
Location:
midwest USA
Posts:
73
Plugin Contributions:
0

Re: blank page adding items to shopping cart or checking out

I also forgot, I know it was working earlier today because i ran a transaction through yesterday evening.

I reject your reality and substitute my own--Adam Savage

14 Apr 2011, 2:05 PM
#3
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: blank page adding items to shopping cart or checking out

What version of zen cart are you using?
Is the error when you used Pay Pal?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2011, 2:11 PM
#4
bloomingvine avatar

bloomingvine

New Zenner

Join Date:
Jan 2011
Location:
midwest USA
Posts:
73
Plugin Contributions:
0

Re: blank page adding items to shopping cart or checking out

v 1.3.9h I can't put an item in my shopping cart. it goes to a blank page. nope. if you hit back, the item was put there. I dont want to mess things up even more since i am on the back up version. there is no restore from here.

I reject your reality and substitute my own--Adam Savage

14 Apr 2011, 2:43 PM
#6
bloomingvine avatar

bloomingvine

New Zenner

Join Date:
Jan 2011
Location:
midwest USA
Posts:
73
Plugin Contributions:
0

Re: blank page adding items to shopping cart or checking out

ok I read that, and from that error report, found that the file had blank spaces. The problem is, I am not sure if im looking at the right error report or how to generate one. I fixed the spaces refered to on that particualr one, but I still get the blank page when putting items into my shopping cart.

I reject your reality and substitute my own--Adam Savage

14 Apr 2011, 2:46 PM
#7
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: blank page adding items to shopping cart or checking out

Please do this...> root directory/ Cache

  1. delete all error logs
  1. then go to product and add to cart
  1. then report back with new error log

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2011, 3:07 PM
#8
bloomingvine avatar

bloomingvine

New Zenner

Join Date:
Jan 2011
Location:
midwest USA
Posts:
73
Plugin Contributions:
0

Re: blank page adding items to shopping cart or checking out

haredo:

Please do this...
[/LIST]

Thank You!! so much for helping me by the way. Here is the new error log

[14-Apr-2011 08:06:27] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/36/5920136/html/zencart/includes/languages/english/extra_definitions/classic/mainsitemenu.php:3) in /home/content/36/5920136/html/zencart/includes/functions/functions_general.php on line 45

I reject your reality and substitute my own--Adam Savage

14 Apr 2011, 3:25 PM
#9
bloomingvine avatar

bloomingvine

New Zenner

Join Date:
Jan 2011
Location:
midwest USA
Posts:
73
Plugin Contributions:
0

Re: blank page adding items to shopping cart or checking out

I fixed the spaces on line three of the file in question, but it still doesn't work. I had copied the folder in extra definitions and renamed it from classic, to bloomingvinedesign. So there are two separate folders there. could this be the problem? This is how my problems started though, when I tried to delete the new template folders I made. I broke the whole site I guess the restore didn't remove them, just copied over everything that was there.

I reject your reality and substitute my own--Adam Savage

14 Apr 2011, 3:29 PM
#11
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: blank page adding items to shopping cart or checking out

Find an original folder from zen cart you downloaded and use an ftp program to load over this .php file...

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2011, 3:46 PM
#12
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: blank page adding items to shopping cart or checking out

Do you have winmerge program...
Use this to compare an original copy and the one on your working site..> includes/languages/english/extra_definitions/classic/mainsitemenu.php

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2011, 4:15 PM
#13
bloomingvine avatar

bloomingvine

New Zenner

Join Date:
Jan 2011
Location:
midwest USA
Posts:
73
Plugin Contributions:
0

Re: blank page adding items to shopping cart or checking out

Thank You So Much! The problem is solved. I kept a hard copy of the original download and all of my add-ons, and looked for the file that was giving the error. The file was not where it was supposed to be, and once I renamed it with the extension old, in order to quickly replace it if it happened to be crucial, everything worked just fine.

You can tell where therror originiates from by the file location given after the words output in the error log. (your error log is located in cache on your hosted site). Hope this helps someone.

I reject your reality and substitute my own--Adam Savage

14 Apr 2011, 4:18 PM
#14
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: blank page adding items to shopping cart or checking out

Awe, you are most welcome..
Somehow a misplaced .php was placed in this folder which caused the error log to fire and create a blank page...

Please delete it permanently because it is not suppose to be there:smile:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.