Jump to content

Problems with Prestashop Shopping Cart


Recommended Posts

Hi,

I'm just new to Prestashop and still trying to get my head around it. But the team that I'm working for has had a reoccurring issue. When we go to confirm the order, it comes up with a technical error saying that the order hasn't been processed (as written below).

 

TECHNICAL ERROR:unable to confirm order

 

Details:

Error thrown: [object Object]

Text status: error

 

This is for downloads that get emailed to an email address. Even though this error is thrown up, it still sends the email out. Just wondering what the issue with this is and whether anyone could help me narrow it down?

 

Also another issue is that I may order 5 products, however, it only gives me the download link for 3 (as an example). Is this possibly because of the Technical Error???

 

Thanks,

 

jorr17 

Link to comment
Share on other sites

Hi,

here is the error it threw up in chrome.

  1. POST http://www.emeraldchristianfellowship.org.au/h2hmusic/prestashop/index.php?controller=order-opc?rand=1387187469544 500 (Internal Server Error) jquery-1.7.2.min.js:4
    1. f.extend.ajaxjquery-1.7.2.min.js:4
    2. confirmFreeOrderorder-opc.js:271
Thanks
Edited by jorr17 (see edit history)
Link to comment
Share on other sites

Dear all,
We would like the quantity option next to the add to cart button where the user can specify the quantity and press add to cart and the specific quantity is added directly instead of the current option where you need to click the "Cart" to increase the quantity after pressing the initial add to cart option

http://imantra.in/khulla_kharido/ this is what we are working  and we wish to have a quantity add field before the add to cart button similar to this reference link: http://delhilibrary.com/prestashop/index.php?id_category=3&controller=category
On the product listing page

We tried adding the quantity field box which you can see on the following page but which is currently not rightly placed...(http://imantra.in/khulla_kharido/en/3-atta)
But this doesn't work or is placed properly.. if you add a different quantity you will see that it does not add that specific quantity.

Thank you

Link to comment
Share on other sites

  1. Hi Nemo1,

 

Sure, I've attached the screenshot of the error that comes on the screen, not sure if this is what you wanted. I've also got below the error that is included with it. 

  1.  

POST http://www.emeraldchristianfellowship.org.au/h2hmusic/prestashop/index.php?controller=order-opc?rand=1387193820500 500 (Internal Server Error) jquery-1.7.2.min.js:4

  1. f.extend.ajaxjquery-1.7.2.min.js:4

confirmFreeOrderorder-opc.js:271

post-739189-0-37119600-1387194040_thumb.jpg

Link to comment
Share on other sites

turn on error reporting:

 

open: config/defines.inc.php
 
find this line define('_PS_MODE_DEV_', false);
change to look like this: define('_PS_MODE_DEV_', true);
 
 
then open console and reproduce issue.
after that open Network tab:
IIxyRLW.png
 
 
click on "red" POST query and open "response" tab, exactly as i show below:
4T6y6Oo.png
 
 
you will see then full error code.
 
Link to comment
Share on other sites

Dear all,

We would like the quantity option next to the add to cart button where the user can specify the quantity and press add to cart and the specific quantity is added directly instead of the current option where you need to click the "Cart" to increase the quantity after pressing the initial add to cart option

 

http://imantra.in/khulla_kharido/ this is what we are working  and we wish to have a quantity add field before the add to cart button similar to this reference link: http://delhilibrary.com/prestashop/index.php?id_category=3&controller=category

On the product listing page

 

We tried adding the quantity field box which you can see on the following page but which is currently not rightly placed...(http://imantra.in/khulla_kharido/en/3-atta)

But this doesn't work or is placed properly.. if you add a different quantity you will see that it does not add that specific quantity.

 

Thank you

 

it's enough to post this message one time. 

please continue discussion in your topic: http://www.prestashop.com/forums/topic/296125-add-quantity-box-to-product-list-not-working/

Link to comment
Share on other sites

Hi Vekia,

 

Apologies about the late reply. I went ahead and changed the errors to 'true', and now that I have done that, it is no longer throwing up any of the errors. Would there be a reason for this??

 

Also, in the Configuration Information page in Prestashop admin, it says that we have an error of 

 

  • pdo_mysql

 

Not sure whether this could be contributing. And there is also about 15 missing files. I can post them if you want, as I'm not sure whether this is contributing to the cart problem or not.

 

Really appreciating you help, 

 

Thanks, 

 

jorr17

Edited by jorr17 (see edit history)
Link to comment
Share on other sites

 

 

Apologies about the late reply. I went ahead and changed the errors to 'true', and now that I have done that, it is no longer throwing up any of the errors. Would there be a reason for this??

maybe it was related to "recompilation", anyway, if you turn it off again, does it work then well too?

Link to comment
Share on other sites

Hi Vekia,

Errors from Chrome console below. Deve mode set to "True" as instructed.

Preview Tab
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 262144 bytes) in /home/ecf/public_html/h2hmusic/prestashop/tools/tcpdf/unicode_data.php on line 16529
 
 
Response Tab 
<br />
<b>Fatal error</b>:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 262144 bytes) in <b>/home/ecf/public_html/h2hmusic/prestashop/tools/tcpdf/unicode_data.php</b> on line <b>16529</b><br />

 

 

Also just in case it helps. Everything is stock standard Prestashop install. No custom themes. We have about 10 items in our DB and about 20 categories.

 

All catalogue items are digital download items and most are under 2MB in size. We have the server limit for attachments/uploads/downloads set to 50MB. All items are set to $0 and no payment method is set as these are to be downloaded for free. Config page check in PS is happy now that we have PDO_mysql installed.

 

Thanks,

jorr17

Edited by jorr17 (see edit history)
Link to comment
Share on other sites

error code that you've got means that you exceeded memory limit available on your hosting account.

take a look here: http://www.prestashop.com/forums/topic/297261-while-clicking-on-place-order-it-takes-to-a-blank-page-in-156/?do=findComment&comment=1503064

 

maybe you've got similar problem, solution:

 

Hi,

I have got another solution. 

I changed jpg instead of png in logos. and turned off the invoice. then it started to work.

I talked with my hosting provider they said that i will need vps hosting if i want to increase memory limit 384 and it would cost more.

But now it is ok  :).

Link to comment
Share on other sites

Thanks Vekia,

 

Turning off invoicing seems to have worked although this is really only a workaround and I am concerned that we may run into issues further down the track as more products are added. I will talk with our host re this. We are now getting the confirmation and payment accepted emails (both of which we will switch off).

 

We are now having a problem with the virtual products that have a ZIP file as an attachment (as in associated downloadable file - not the attachment feature). We do this where we want to have a collection of files available as a package or in our case as a "Album". We have zipped the MP3s and attached the zip file.

 

We get the confirm and payment emails but not the email with the download link. Works fine for individual MP3s, Tried small ZIP files and tried renaming the ZIP with no spaces but we don't get the email. Are ZIP files valid virtual product files? Others seem to do doing it.

 

Once the system has proven itself, we will look into a module that does this but for now this is how we are doing it.

 

Thanks for your continued assistance.

 

jorr17

Edited by jorr17 (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...