• Home
  • Get help
  • Ask a question
Last post 17 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67848
All time tickets 10485
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#1107 – Wishlist and Compare with SH404Sef Activated

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Saturday, 03 October 2015 15:55 UTC
deasascivitacastellana
I when I activated Sh404sef doesn't work the Wishlist and Compare. The system charge in continuous.
How can I do? >Do you know this bug. In attachment the screen. My web site is www.xxxx.it

If i disactivated Sh404sef the system work
Monday, 05 October 2015 08:47 UTC
wb_weeblr
Hi

If i disactivated Sh404sef the system work
This does NOT mean the problem is in sh404SEF.

In your case, it's a bug in your whishlist extension, a very common one: they are using a relative URL to call their script.

The bug is in the file: /templates/t3_blank/js/linescript.js, on line 232:

 function addToWishlists(product_id) { 
  jQuery('#system_view_overlay').show();
	  jQuery('.AjaxPreloaderC').show();
	jQuery.ajax({
		url: 'index.php?option=com_wishlists&task=add',
		type: 'post',
		data: 'product_id=' + product_id,
		dataType: 'json',
		success: function(json){
			


Note that you have the same bug also on line 206 of this same file (in the removeCompare function) and on line 272 (in the removeWishlists function).

Normally, all of those should be prefixed with the current site URL. A quick fix is simply to add a / at the beginning:
url: '/index.php?option=com_wishlists&task=add',


Of course, if this is coming from an external developer, you should report the problem to them.

And once again: this is a bug in the extension. It does work with Joomla SEF, but this is because of a problem in Joomla router, which should also give a 404 in this case.

Rgds
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.