|
Hi james,
Glad to hear you found the source of the problem.
Hope you get this sorted by the developer, but to be honest I doubt they will investigate the problem to their fullest.
And glad to have tried to help you there.
|
Syntax Error
|
Posted 18 years ago
by andyr2005
|
|
Hi james,
The reason it is a problem, is the fact that fpslideshow is being used on your website as a Joomla module, and therefore, as part of the site initializing for a viewer, Joomla calls the mod_fpslideshow.js while it loads the module, and therefore doesn't need to be hardcoded into the template.
It may or may not sure as an error, to be honest, when I was having the problems, I never really checked the error console, I just delved straight back into the template to see what was going on.
Thanks.
|
Syntax Error
|
Posted 18 years ago
by andyr2005
|
|
Hi james,
From looking at the source on the site in Firefox, I can see the following:
<script language="javascript" type="text/javascript" src="modules/mod_fpslideshow/mod_fpslideshow.js"></script>
Please open your index.php file and remove that full line, and let me know if that resolves it. If not, I have a feeling the problem is to do with the fact that I can see many duplicate .js calls there.
Thanks.
Note: Visit my site, also under construction at www.planetnvidia.com in Internet Explorer, the site uses the .htaccess file as described in the installation guide for JoomSEF, and prior to me removing the conflicting .js call, was having the error you have, but now no longer have.<br><br>Post edited by: andyr2005, at: 2007/04/25 11:46
|
Syntax Error
|
Posted 18 years ago
by andyr2005
|
|
Hi,
James, also are you using a module called Slimbox by any chance, if so, as I posted before, remove the .js call in the header of the index.php, this doesn't need to be hardcoded, cause Joomla will call it anyway due to the module being used on the site.
I believe IE is kicking up the fuss because 2 duplicate .js are being used.
Thanks, Andrew.
|
Syntax Error
|
Posted 18 years ago
by andyr2005
|
|
Hi,
I seem to have resolved the problem I am having, for those who are using RocketTheme templates and get this error, please do the following:
Open your templates index.php file and search for slimbox.js and you should find something like this:
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/slimbox.js"></script> All you need to do, is completely remove that line, and the error should no longer appear.
Thanks, Andrew.
|
Syntax Error
|
Posted 18 years ago
by andyr2005
|
|
Hi,
I take it you didn't ever receive a response?
I have tried to submit a support ticket and haven't got a response that way either. They must not know what the problem is.
|
Syntax Error
|
Posted 18 years ago
by andyr2005
|
More |