- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 20.12.20, 20:11
- Opened by: Alexandro Galussio
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #20273 - error 500
I have an error 500 in AMP when I enter a category (I attach error in development mode)
Do you know how to solve it?
Comments
URL - AMP
https://www.tiendahippie.es/es/mobile
https://www.tiendahippie.es/es/mobile/category/40-ropa-otono-invierno
Try this solution https://support.promokit.eu/?do=details&task_id=20242
I don’t understand the language. Do you know what language it is?
I already copied the category.php file into /modules/pkamp/controllers/front/ but it still doesn’t work.
Attached is the complete error
Attached is the complete error
Attachments:
error-full.png(190.1 KiB)Today I emptied the cache of opcache and prestashop but it remains the same.
As I can see you didn’t update the file https://take.ms/Zqy6r
I just did it for you, please check it out
it is not possible, I am by ftp seeing the file that I copied yesterday
Attachments:
amp-categoy.png(229 KiB)Is the issue fixed now?
Yes, I do now. But that change I am enclosing was already there. Did you change anything else?
I didn’t touch anything else
It is very strange. Because the screenshot you send me has another file than the one I see. And there is not the category.php.old (the previous php)
Is the folder correct?
/public_html/modules/pk_amp/controllers/front
If so, you will see that the date of modification is 20/12 21:18 hs
I want to know how it was solved in case it happens again.
Thank you
Now I have another problem.
1- When you add a product to the cart you put in reference “null” Attached cart image
2- When advancing with the purchase gives error in that process. Attached image “purchase”.
TEST USER
usr: agalussio@gmail.com
pass 123456a+
Thank you
Attachments:
cart.png(392.1 KiB)purchase.png(237.5 KiB)Yes, I see.
Need some time to find a fix
Okay, I’ll be waiting.
I just hide it at all on Add to cart button click. https://take.ms/uyoeq
It’s not critical issue, so we will try to fix it in further update
And the error that I send you when you are going to finalize the purchase is for the same reason?
I think it’s another mistake
Attached image “purchase”
Attachments:
purchase.png(237.5 KiB)The issue has been fixed. Please test to confirm the change
No, the error remains, but only if it is in development mode. I see it because I have my ip defines.inc.php
That error does not affect any functionality?
Try now
1- Failure to add an item to the cart
2- The icons do not appear at the top (cart - account)
Attachments:
falla-añadir-producto.png(159.8 KiB)faltan-iconos.png(346.6 KiB)Now it also fails without development mode! No icons in the AMP header !
fixed https://take.ms/t51ac
That was a cache issue because of AMP module update
Excellent! Thanks Fred!
you are welcome