Ajax Listing + Sh404SEF = Not working

16 years 7 months ago #2480 by Arnaud
Hi Samir,

I'm currently testing SEF solutions. And there's a problem with Sh404SEF : the plugin (XML or PHP) don't work. I have this message :

There was a problem with the request.


If i deactivate Sh404SEF, the plugin is loaded correctly.

How can i solve this issue, please ?

Please Log in or Create an account to join the conversation.

16 years 7 months ago #2481 by Saka
I will have to install it and test.
Don't you use SEF Advance anyway? :)

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

16 years 7 months ago #2490 by Arnaud
Hi Emir !

I can't buy it for the moment (money money money !). But, as i said to you, i will buy it but later...

Do you have found how to fix the problem with Sh404 ?

Please Log in or Create an account to join the conversation.

16 years 7 months ago #2498 by Saka
sh404sef puts 404 header when included by some reason. That's why AJAX listing displays "There was a problem with the request.", because its returned status is 404 not found, which sh404sef has set up.

I don't think I should put a "fix" for something that's done incorrectly in another component. However, even though it's not a real solution, you can skip the error by editing modules/mod_ajaxlisting.js file.
Find this line:
if (lst_http_request.status == 200) {
replace it with this:
if (lst_http_request.status == 200 || lst_http_request.status == 404) {

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

16 years 7 months ago #2501 by Arnaud
Thank you very much for your help, Emir ;)

Gonna try it and inform the author !

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch