Ajax Listing + Sh404SEF = Not working
- Arnaud
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
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 :
If i deactivate Sh404SEF, the plugin is loaded correctly.
How can i solve this issue, please ?
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.
- Saka
- Offline
- Administrator
16 years 7 months ago #2481
by Saka
Emir Sakic
www.sakic.net
I will have to install it and test.
Don't you use SEF Advance anyway?
Don't you use SEF Advance anyway?
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- Arnaud
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
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 ?
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.
- Saka
- Offline
- Administrator
16 years 7 months ago #2498
by Saka
Emir Sakic
www.sakic.net
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) {
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.
- Arnaud
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 7 months ago #2501
by Arnaud
Thank you very much for your help, Emir
Gonna try it and inform the author !
Gonna try it and inform the author !
Please Log in or Create an account to join the conversation.