-
*URGENT* Add to Cart giving blank screen
I have 3 sets of attributes set up with my cart. When the customer clicks "Add to Cart" it gives a completely blank screen, no "This page does not exist" or other messages, just a white screen. Unfortunately, we do have customers waiting to order and cannot, thus getting frustrated. Any idea what is causing this?
http://www.minthandbags.com/shopping_bag
Thank you!
-
Re: *URGENT* Add to Cart giving blank screen
Almost appears as if you have some bad upload files ...
Try reloading all files in /includes/pages/shopping_cart
Also, you are using a default template of Classic ...
You should really be using your own templates and overrides system so that things do not get overwritten on an upgrade or update ...
It is difficult to test for the problem when we cannot have you change templates to determin if this is a template issue or something else ...
-
Re: *URGENT* Add to Cart giving blank screen
I reuploaded the requested files, yet still having issues. Exactly a week ago, I was tweaking shipping/payment modules but afterwards, everything was able to checkout. I also tweaked attributes, but did not install any new things that would prevent the shopping cart to work. Sometime over the weekend, my client emailed me and said it stopped working. I have been searching through the forums since.
I don't know how to create my own template, thought I probably should learn, so I appologize for that lack of help.
The latest thread I saw was http://www.zen-cart.com/forum/showthread.php?t=35720 however, I found it not as helpful as I wanted.
Any other suggestions greatly appreciated :)
-
Re: *URGENT* Add to Cart giving blank screen
Do you have something like Beyond Compare from scootersoftware.com where you can do an FTP compare of a Clean Zen Cart and your copy on the site and see where something could be ... umm ... perhaps a little ...a ... fried? :blink:
-
Re: *URGENT* Add to Cart giving blank screen
What exactly should I be looking for? I downloaded that software, and once I run the comparison of a very clean version of Zen Cart against my ftp site, every folder comes up red (which in my mind would appear everything has been changed). I have reuploaded a clean copy of the shipping modules and in the "pages" section, anything that had to do with the Shopping Cart (i.e. checkout_confirmation, info_shopping_cart, etc).
What files specifically handle the "Add to Cart" function and what effect would a wholesale module downloaded from this site have on this? Immediately after the wholesale module was added, I was able to order tagging someone who would buy wholesale. Their order went smoothly as a test. The specific wholesale module I am using is: http://www.zen-cart.com/forum/showthread.php?t=33439 (Dual Pricing Version 2). Since then, all I have done is added option values and names under the attributes controller. Initially, I had one available option name with about 25-30 values, now I have 3 option names with over 60 values spread between them.
I appologize for being such a newb with Zen Cart, just trying to give you the whole spectrum of the issue. Thanks again for your help :)
-
Re: *URGENT* Add to Cart giving blank screen
When I used the developer's tool kit (love it btw!) to search for "Add to Cart" feature, here is every instance of it in my files. Does any of this help?
Quote:
Searching 592 files ... for: add to cart
/shopping_bag/includes/functions/functions_general.php
Line #1094 : // customer must be logged in and approved to add to cart
/shopping_bag/includes/functions/functions_lookups.php
Line #222 : // don't include READONLY attributes to determin if attributes must be selected to add to cart
Line #227 : // regardless of READONLY attributes no add to cart buttons
/shopping_bag/includes/languages/english.php
Line #374 : define('PRODUCTS_ORDER_QTY_TEXT','Add to Cart: ');
Line #534 : // multiple product add to cart
/shopping_bag/includes/languages/english/button_names.php
Line #78 : define('BUTTON_IN_CART_ALT', 'Add to Cart');
/shopping_bag/includes/modules/pages/advanced_search_result/header_php.php
Line #173 : // always add quantity regardless of whether or not it is in the listing for add to cart buttons
/shopping_bag/includes/modules/pages/index/main_template_vars.php
Line #169 : // always add quantity regardless of whether or not it is in the listing for add to cart buttons
/shopping_bag/includes/templates/template_default/templates/tpl_document_general_info_display.php
Line #86 : <!--bof Add to Cart Box -->
Line #112 : <!--eof Add to Cart Box-->
/shopping_bag/includes/templates/template_default/templates/tpl_document_product_info_display.php
Line #86 : <!--bof Add to Cart Box -->
Line #112 : <!--eof Add to Cart Box-->
/shopping_bag/includes/templates/template_default/templates/tpl_product_free_shipping_info_display.php
Line #86 : <!--bof Add to Cart Box -->
Line #112 : <!--eof Add to Cart Box-->
/shopping_bag/includes/templates/template_default/templates/tpl_product_info_display.php
Line #87 : <!--bof Add to Cart Box -->
Line #113 : <!--eof Add to Cart Box-->
/shopping_bag/includes/templates/template_default/templates/tpl_product_music_info_display.php
Line #86 : <!--bof Add to Cart Box -->
Line #112 : <!--eof Add to Cart Box-->
Match Lines found: 18
-
Re: *URGENT* Add to Cart giving blank screen
Hi,
I'm having the exact same problems. Add to Cart brings me to a blank screen. In fact, Write a Review and Tell a Friend also brings me to a blank screen. Tried doing a search but it seems that not many have this problem.
I've already switched back to Classic template and it doesn't work there as well. Also enabled COD, still nothing.
I'm pretty new to this. Can anybody have any suggestions? I'm using PHP Version: 5.1.6 (Zend: 2.1.0), Zen Cart 1.3.5.
My website url is http://www.thebooktrove.com
Thanks!
-
Re: *URGENT* Add to Cart giving blank screen
What's the URL display on this blank page?
Is there any source at all on the page?
-
Re: *URGENT* Add to Cart giving blank screen
View Source is blank too.
The url on display is:
http://thebooktrove.com/index.php?ma...on=add_product
Thanks for all help!
EDITED: Never, ever post the zen_id or zenAdminID (session id) in a forum, email, newsgroup, newsletter, advertisement, etc. etc. etc. or you will be doomed ... :eek:
-
Re: *URGENT* Add to Cart giving blank screen
Can you check your error logs to see if there are any entries there?
-
Re: *URGENT* Add to Cart giving blank screen
Were you able to fix this? I am not getting blank pages when I add to cart ...
-
Re: *URGENT* Add to Cart giving blank screen
Scratch that ... wrong URL ... :lamo:
-
Re: *URGENT* Add to Cart giving blank screen
Could you check your Configuration ... Session Settings ...
And set them to:
Quote:
Cookie Domain True
Force Cookie Use False
Check SSL Session ID False
Check User Agent False
Check IP Address False
Prevent Spider Sessions True
Recreate Session True
IP to Host Conversion Status True
-
Re: *URGENT* Add to Cart giving blank screen
The Session settings are correct...still nothing.
hmm...when I changed "Shopping Cart Box Status" to always true and I click on the shopping cart box, it brings me to the cart correctly.
However, when I click buy now, or add to cart, it still brings me to a blank page. Pressing the back button on the browser though, my cart correctly added the item. And when I click on shopping cart, the item is correctly reflected. Clicking on Checkout throws me to another blank page.
I also noticed that with a full shopping cart, if I click on the links in the products category, the cart is correctly reflected. But when I click on home, or the page logo, the cart gets mysteriously emptied.
Home I making sense. :unsure: Any help?
-
Re: *URGENT* Add to Cart giving blank screen
Next ...
Change to Classic Template ... does it work?
Next ...
Delete from the server and Reload the files:
/includes/classes/shopping_cart.php
/includes/init_includes/init_cart_handler.php
/includes/modules/pages/shopping_cart/*.*
/includes/templates/template_default/templates/tpl_shopping_cart.php
/includes/languages/english/shopping_cart.php
Look to see if you have overrides on any of these files and for now rename them, example:
/includes/templates/your_template_dir/templates/tpl_shopping_cart.php_HIDDEN
/includes/languages/english/your_template_dir/shopping_cart.php_HIDDEN
etc. etc. etc.
-
Re: *URGENT* Add to Cart giving blank screen
Changing to Classic template still gives the same problem. I also upgraded to V1.3.6 but made no difference.
Can I confirm when you say reload the files, you mean download the whole Zen Cart, find the files, and ftp them individually to the server? Or is it something I do within the admin console? Sorry if it's a dumb question because I got Zen Cart from my hosting company and it was installed through Fantastico, so I never unpacked any files myself.
Thanks!
-
Re: *URGENT* Add to Cart giving blank screen
Download from our site the Zen Cart v1.3.6 from the Download link at the top of your screen ... :smile:
Then, delete/rename any of the files I listed and reload them to your site via a good FTP program ... as in nothing to do with your Control Panel ...
Some files, when broken, bad, corrupt, missing etc. do not throw errors but rather produce dead pages ...
I can add to cart ... get white page ... backup ... and the product will be in my cart ...
So ... part of this is working and part is not ...
-
Re: *URGENT* Add to Cart giving blank screen
Note: you have no prices ...
Your checkout is broken ...
Your add to cart is broken ...
What version Zen Cart were you before you upgrade?
You did upgrade to v1.3.6 by loading all files to the site via FTP and running the /zc_install and UPGRADE your database, correct?
You appear to have more issues than just not being able to add to the cart ...
-
Re: *URGENT* Add to Cart giving blank screen
I was at 1.3.5 previously. I upgraded through the "upgrade" option from Fantastico.
It's not just my cart and checkout that is broken, but tell a friend and write a review gives me a blank page as well...
-
Re: *URGENT* Add to Cart giving blank screen
Hi,
I noticed I have the following error messages in my error log, not sure if it's relevant:
[Fri Nov 17 02:46:48 2006] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/thebookt/public_html/includes/extra_datafiles/collection.php:7) in /home/thebookt/public_html/includes/init_includes/init_templates.php on line 78
[Fri Nov 17 02:46:48 2006] [error] 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/thebookt/public_html/includes/extra_datafiles/collection.php:7) in /home/thebookt/public_html/includes/functions/sessions.php on line 102
[Fri Nov 17 02:46:48 2006] [error] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/thebookt/public_html/includes/extra_datafiles/collection.php:7) in /home/thebookt/public_html/includes/functions/sessions.php on line 102
collection is a new page that I've been trying to add into the "information" sidebox, but somehow even though it appears in page editor, it doesn't appear in the website...
-
Re: *URGENT* Add to Cart giving blank screen
i reloaded the files and still same problem. I noticed that my main page got wiped though, not sure how that happened. I only reloaded the shopping cart pages that you listed...
-
Re: *URGENT* Add to Cart giving blank screen
hmm...i got everything working by completely uninstalling Zen Cart from Fantastico and reinstalling everything :cool: now i gotta do everything again, but i guess it's worth it.
i guess one of the 2 must have happened:
1) i messed up big time while trying to customize the store :blush:
2) the hosting company upgraded to 1.3.6 while i was installing 1.3.5 and something got mixed up
-
Re: *URGENT* Add to Cart giving blank screen
What you will want to do in the future is not use Fantastico to upgrade a site ...
It is fine for a quick install of Zen Cart to see what it is all about ... but it is really best to manage the site on your own and know exactly what is going to happen where ...
If you never change any files on your site ... there shouldn't be anything that an automated upgraded should break ... however ... even automated programs can have a glitch every now and then ... so be very careful in ever trying to use one ... especially on a Live Site ...
-
*URGENT* Add to Cart giving blank screen
Hello. I know this is an old post but I am facing a similar problem with the add to cart giving me a blank white screen.
I am using version 1.3.8a and while the add to cart works properly when I load the classic templates it doesn't work in my custom template.
When using the error logging tool, i get this message:
[28-Nov-2008 05:20:00] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/a/r/u/aruleal/html/shop/includes/languages/mwj/english.php:1401) in /home/content/a/r/u/aruleal/html/shop/includes/init_includes/init_templates.php on line 78
[28-Nov-2008 05:20:00] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/a/r/u/aruleal/html/shop/includes/languages/mwj/english.php:1401) in /home/content/a/r/u/aruleal/html/shop/includes/functions/functions_general.php on line 44
Can anybody tell me what this means??
I appreciate any help!
,aruchan
-
Re: *URGENT* Add to Cart giving blank screen
Quote:
Originally Posted by
aruleal
[28-Nov-2008 05:20:00] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/a/r/u/aruleal/html/shop/includes/languages/mwj/english.php:1401) in ...
Looking up the error message in the FAQ area brings up this article: https://www.zen-cart.com/tutorials/index.php?article=87
-
Re: *URGENT* Add to Cart giving blank screen
oh wow!
i was able to fix the problem.
thanks for the quick help!