I have problem with Top ordering and Switch Layout Type buttons. When I try to change ordering or layout, ajax loader just keeps spinning and if I reload page it gives me desired value.
Chrome DevTools shows 500 (internal Server Error) in jquery.min.js:
Foto: https://ibb.co/d4r8OV
Video: https://www.dropbox.com/s/lbo5v1j77ah2n ... 7.wmv?dl=0
I tried all variations of Loading Bootstrap from Phoca Cart Options, disabling all third party plugins and modules, changing templates, tried on live site and result is same.
At the same time I test Phoca Cart on another localhost site and curious thing is that works perfectly.
Both sites are Joomla 3.9
PHP 7.2.4
Problematic site use Gantry 5 Helium Template
Second one is combination of Phoca Premium (Gantry 5) for Phoca Cart and RS Trone for rest of site (there is some conflict in Bootstrap versions with Phoca Cart)
Ajax loader problem
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Ajax loader problem
Hi, 500 mostly means a PHP error, just click on the link in Developers Tools (Network) for getting more details (when you enable debug mode in Joomla! configuration and you will display PHP errors - in Joomla! Global Configuration and your server), you will get there more info about the problem.
Just click on the link.
Jan
Just click on the link.
Jan
If you find Phoca extensions useful, please support the project
- Nidzo
- Phoca Professional
- Posts: 390
- Joined: 07 Nov 2018, 14:55
Re: Ajax loader problem
When Debug is turned on and when I click on link jquery.min.js it shows:
(Failed to load resource: the server responded with a status of 500 (Internal Server Error))
https://ibb.co/cMGjxq
If I click on 1-rucni-radovi.html link in headers tab I get:
https://ibb.co/n2VNiV
and in Preview tab:
https://ibb.co/kdydqA
Code: Select all
xhr.send((options.hasContent && options.data) || null);
https://ibb.co/cMGjxq
If I click on 1-rucni-radovi.html link in headers tab I get:
https://ibb.co/n2VNiV
Code: Select all
Request URL: http://banija:8383/shop/1-rucni-radovi.html
Request Method: POST
Status Code: 500 Internal Server Error
Remote Address: 127.0.0.1:8383
Referrer Policy: no-referrer-when-downgrade
HTTP/1.1 500 Internal Server Error
Date: Sun, 11 Nov 2018 21:06:21 GMT
Server: Apache/2.4.33 (Win64) PHP/7.2.4
X-Powered-By: PHP/7.2.4
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Cache-Control: no-cache
Pragma: no-cache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
POST /shop/1-rucni-radovi.html HTTP/1.1
Host: banija:8383
Connection: keep-alive
Content-Length: 89
Accept: text/html, */*; q=0.01
Origin: http://banija:8383
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://banija:8383/shop/1-rucni-radovi.html
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
https://ibb.co/kdydqA
- Nidzo
- Phoca Professional
- Posts: 390
- Joined: 07 Nov 2018, 14:55
Re: Ajax loader problem
I found cause of problem. It was Phoca Site Plugin version 3.0.1. I updated to 3.0.2 and now it works.
Thank you Jan!
Thank you Jan!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Ajax loader problem
Hi, great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project