I'm getting an 503 error every time I click the Update Cart Qty (blue button) aspect of the default OC theme. I can remove products using delete button without issue. I can continue to "Checkout" without issue. I just cannot update the quantity of the product(s) in my cart.
This is a brand new 2.0.3.1 install with default store categories and products for testing purposes. I have encountered no other issue to date.
Any suggestions?
This is a brand new 2.0.3.1 install with default store categories and products for testing purposes. I have encountered no other issue to date.
Any suggestions?
Possibly related to this
http://forum.opencart.com/viewtopic.php?f=181&t=146489
http://forum.opencart.com/viewtopic.php?f=181&t=146489
Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
Thanks for the info.artcore wrote:Possibly related to this
http://forum.opencart.com/viewtopic.php?f=181&t=146489
What php.ini file is artcore talking about? The one in root or admin? His post doesn't stipulate, and after opening both files does not have the "Resource Limits" heading in either.
Thanks
Thanks for pointing it out. I updated that post as well. I'm on a dedicated machine
You can try to add it to your php.ini in the catalog part or, depending on your hosting create a .user.ini (there's a dot in front of user!)
If you want to know if Suhosin is installed, create a info.php file in your root with the contents:
and call it from your browser e.g.: yourdomain.com/info.php
do delete this info.php afterwards
You can try to add it to your php.ini in the catalog part or, depending on your hosting create a .user.ini (there's a dot in front of user!)
If you want to know if Suhosin is installed, create a info.php file in your root with the contents:
Code: Select all
<?php phpinfo(); ?>
do delete this info.php afterwards
Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
@artcore - thanks a bunch for replying. I'll find the file in catalog and add it and see if this resolves the issue. OpenCart developers need to tackle this, along with other bug reports regarding orders and cart system.
@deepvision - at this stage I don't need to share the URL but thank you for replying.
From what I have seen posted of late this issue is rampant in OC2 installs.
@deepvision - at this stage I don't need to share the URL but thank you for replying.
From what I have seen posted of late this issue is rampant in OC2 installs.
It works fine for me with new brand install. Something must to trigger it on your site.
I wonder how the requests to update the cart look like. If they are fine then there is something on the server side. And without access to ftp it is only guesses. If you change your mind let me know and I might be able to help.
I wonder how the requests to update the cart look like. If they are fine then there is something on the server side. And without access to ftp it is only guesses. If you change your mind let me know and I might be able to help.
@deepvision
When adding a product to cart an array key is generated from product_id+recurring_id+option_id base_encoded and serialized. If there's just a product_id this key is smaller than 64 chars and won't trigger suhosin's limit, otherwise it would empty the array and cause the error. if(!empty($this->request->post['quantity]) will always be false in checkout/cart/edit
@KatGirl: catalog side is your site root, just to be clear. There's already a php.ini from Opencart and you can add .user.ini if that's how your host is setup
Cheers
When adding a product to cart an array key is generated from product_id+recurring_id+option_id base_encoded and serialized. If there's just a product_id this key is smaller than 64 chars and won't trigger suhosin's limit, otherwise it would empty the array and cause the error. if(!empty($this->request->post['quantity]) will always be false in checkout/cart/edit
@KatGirl: catalog side is your site root, just to be clear. There's already a php.ini from Opencart and you can add .user.ini if that's how your host is setup
Cheers
Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
@artcore - I've looked in root and there's (1) php.ini file. I've looked in admin folder, there's (1) php.ini file. There is no php.ini file in catalog folder.
I'm fairly experienced with folders and files and ftp. If you can clarify which folder - either admin php.ini OR root php.ini file - I'll add the information.
Thanks for your help.
I'm fairly experienced with folders and files and ftp. If you can clarify which folder - either admin php.ini OR root php.ini file - I'll add the information.
Thanks for your help.
Who is online
Users browsing this forum: No registered users and 213 guests