*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?