Add to cart not working

Permalink Browser Info Environment
When I enter a quantity and press add to card, it just has a little spinning circle and goes nowhere. I waited for 15 minutes without anything loading. I went to the cart and it says there is nothing in my cart. Why is it doing this?

Type: Discussion
Status: In Progress
heatherbryant
View Replies:
andrew replied on at Permalink Reply
andrew
We'd be happy to look into this for you. Can you provide a link to the affected site?
heatherbryant replied on at Permalink Reply
heatherbryant
Here is the link to one of the pages in the catalog. The site it still
under construction so please excuse the crude nature.

http://www.bryantbilliards.com/catalog/accessories/felice-billiard-...





Heather Bryant, President
BryantBilliards.com
heather@bryantbilliards.com
409-925-2560 Office
409-739-3956 Cell
andrew replied on at Permalink Reply
andrew
Sorry for the delay. It appears that the form posting to /index.php/cart/update (which happens behind the scenes, through JavaScript) is triggering a page not found error. I have found that the cart is present, however (at least, when browsing to /cart it shows up.) If you could private message me FTP access credentials to your server I'd be happy to delve more deeply into this. It is definitely not standard behavior. I'm wondering if one of your add-ons is conflicting in some way with the eCommerce add-on.
heatherbryant replied on at Permalink Reply
heatherbryant
Any luck? I have customers waiting on this site to be finished. If we can't find a solution, I will have to ask for a refund and start all over again. I really don't have time for that but I have to get this store online. Please help...
andrew replied on at Permalink Reply
andrew
I took a look at the server. It appears that everything is in the correct spot, and the addon should be functioning normally. The fact that the cart works when you browse to the page and does not work when submitting to it leads me to suspect a security add-on like mod_security. This is a server-level add-on which keeps malicious scripts from causing damage to websites, but it can block legitimate scripts as well. It looks like this server has this module enabled – I would open a support ticket with hostmonster and tell them that they should look for the text "index.php/cart/update" and see if that appears in the logs. If so, they should disable that particular rule for your site.

Or, even better: get them to temporarily disable mod_security entirely for your site, and see if that fixes the issue. If it does, you can have them re-enable it piecemeal so that you get some benefit of it without it hurting your site.
carlab replied on at Permalink Reply 3 Attachments
carlab
I am having a similar problem since updating ecommerce.
Attached is the error message I'm receiving. I also can't access Zone based shipping or clear cache.
Korvin replied on at Permalink Reply
Korvin
Make sure your ecommerce and your concrete5 versions are both updated to the latest available. If that doesn't resolve the issue, please enable debug mode and open a new support ticket with the contents of the error you're seeing.

Best wishes,
Korvin
carlab replied on at Permalink Reply
carlab
I have updated both but the website is showing the old concrete 5 version. How do I update this?

Sent from my iPhone

> On 26 Aug 2016, at 9:03 AM, concrete5 Community <discussions@concretecms.com> wrote:
PortlandLabs replied on at Permalink Reply
PortlandLabs
I'm not sure I understand. Please open a new support ticket for this issue.
jimmoore2004 replied on at Permalink Reply
jimmoore2004
I noticed index.php is added to the path in 3 instances of the cart and 1 for the checkout.
I saw a post earlier from a user with a like symptom (spinning wheel) after upgrading to latest 5.6.3 version. I also read can be caused from corrupt "Pretty UrLs" - should toggle off and back on. Bad .htaccess file
Could be a site.php issue. Try adding
define('URL_REWRITING_ALL', true);
to site.php. See:https://www.concrete5.org/community/forums/usage/how-do-i-remove-index.php-from-the-path/
You mentioned you made css changes in an earlier post in regards to the product block. Post related to that also. I am not a programmer, but hopefully this will lend the experts some insight to correct your issue

Your Billiard Site:
<div class="cc-cart-links">
<a href="/index.php/cart?rcID=377"
onclick="ccm_coreCommerceLaunchCart(this, '/index.php/tools/packages/core_commerce/cart_dialog'); return false">View Cart</a>
(<span id="cc-cart-quantity" href="/index.php/tools/packages/core_commerce/cart_quantity">0 items</span>)
<span class='cc-checkout-link-show' style='display:none'>
<a href="http://www.bryantbilliards.com/index.php/checkout/">Checkout</a>

Working site:
<div class="cc-cart-links">
<a href="/cart?rcID=193"
onclick="ccm_coreCommerceLaunchCart(this, '/tools/packages/core_commerce/cart_dialog'); return false">View Cart</a>
(<span id="cc-cart-quantity" href="/tools/packages/core_commerce/cart_quantity">0 items</span>)
<span class='cc-checkout-link-show' style='display:none'>
<a href="https://www.deltonaflorists.com/checkout/">Checkout</a>
snookerly replied on at Permalink Reply
snookerly
I tried the link and it is still not working.
I triedhttp://snookerly.com/cue-tip-glue/... and all links were working well.
Thanks
EvanCooper replied on at Permalink Reply
EvanCooper
Hi there,

Can you open a new support ticket and post your environment information in it? Thanks!

concrete5 Environment Information

# concrete5 Version
5.6.3.3

# concrete5 Packages
Basic Forum (1.0), blogga (1.0.), Box Grabber (1.2), Carousel Pro (1.2.14), CrimsonRed Menus (1.4), Easy News (1.2.0), eCommerce (2.8.16), Email List Signup (1.5.5), Enlil Transparent Yogurt (1.0.0), Galleria image gallery (2.0), Google Docs Viewer (1.0), Google Gadget (1.0), googlesearch (1.1), iCal Template (1.1), Iframe (1.0), MindNet Browser Update Notification (1.1), Next & Previous (1.02), Page List Teasers (1.2), Parent Link (1.0), Print Page (1.4), Sidebar Cart (0.9), Sortable Fancybox Gallery (1.17), Sortable Responsive Gallery (1.2), Stickies (1.2.3), Table-Based Shipping (1.1.0), Theme Options Lite (1.2), Thumbview Template (1.1.1), Transparent Email Obfuscation (1.0.3), Zoom Image (1.0.5).

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - In all cases.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.4.43

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, recode, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 10M
sql.safe_mode - Off
upload_max_filesize - 10M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.