404 Errors for ajax-loader.gif

More
15 Jun 2011 19:14 #1478 by herb_tea
joomlamailer version: 1.7
Joomla! version: 1.5.23
PHP version: 5.2.17
MySQL version: 5.1.51

I'm using sh404SEF and I've noticed 404 errors for "modules/mod_mailchimpsignup/assets/images/ajax-loader.gif" being generated on almost every page of the site. I have the signup module on almost every page so I suspect every time a page and this module is called it's generating this error.
The file is in fact in this directory and the permissions are 0755 on the dirs and 0644 on the file itself. The module does work and the spinning blue circle appears when a subscription request is submitted but I would really like to eliminate these errors and the server load.
Thanks,
Herb

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

More
16 Jun 2011 12:25 #1525 by pete
Replied by pete on topic 404 Errors for ajax-loader.gif
Hi Herb,

I can't reproduce this. Would you please try something and let me know if it helps. Edit the file /modules/mod_mailchimpsignup/tmpl/default.php
Scroll to the very bottom. You should see a line starting with <div id="ajaxLoader
In that line it says: <img src="modules
Replace that part with:
<img src="<?php echo JURI::root();?>modules

Save the file, upload it to your server and see if it does the trick.

Kind regards,
Pete

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

More
16 Jun 2011 18:33 #1528 by herb_tea
Hi Pete,
Should there be a "/" after <?php echo JURI::root();?> or does this statement include that?
I'll give it a go and let you know what happens.
Thanks,
Herb

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

More
16 Jun 2011 19:37 #1531 by pete
Replied by pete on topic 404 Errors for ajax-loader.gif
Yes, the / is included.

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

More
17 Jun 2011 01:49 #1532 by herb_tea
Good job Pete :) This looks to have done the trick. I ran through a bunch of pages on the site with the module and not a single 404 error showing in sh404SEF.
I'll post back in couple of days to confirm there are no further errors.
Many thanks,
Herb

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

More
17 Jun 2011 14:15 #1562 by pete
Replied by pete on topic 404 Errors for ajax-loader.gif
Great! I'll apply this fix to the next version.

Cheers

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