All,
I just upgraded Aeva Media to 1.2 .... (uninstall + re-install) All works perfectly, however I'm seeing this error on every single page in my forum ... Seems to happen in IE8 , but not Firefox?
SMF 2.0 RC3
Any thoughts as to how to fix it ?? Thanks in advance.
========================================
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; MS-RTC LM 8)
Timestamp: Thu, 3 Jun 2010 15:57:03 UTC
Message: 'hs' is undefined
Line: 17
Char: 5
Code: 0
URI: http://fundyschutzhund.ca/forums/index.php
=======================================
I think. this line in your index.template.php is bad...
<script language="JavaScript" type="text/javascript" src="http://fundyschutzhund.ca/forums/Themes/default/Highslide/highslide.english-utf8.js"></script>
I don't know a highslide.english-utf8.js .. normaly this is named as highslide.js
Fel
I cant find this in any of the index.template.php files ....
Should be the one in my active theme directory, correct ?
yes .. on the theme what is set as default theme for guests.
Fel
// * Highslide image viewer mod
echo '<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.js"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.', $context['user']['language'], '.js"></script>
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/Highslide/highslide.css" media="screen" />
<script type="text/javascript">
hs.graphicsDir = "', $settings['default_theme_url'], '/Highslide/";
hs.outlineType = "rounded-white";
hs.captionEval = "this.thumb.alt";
hs.transitions = ["expand", "crossfade"];
hs.numberOfImagesToPreload = 5;
hs.dimmingOpacity = 0;
hs.fadeInOut = false;
hs.align = "center";
hs.showCredits = false;
hs.creditsText = "";
hs.creditsHref = "";
hs.creditsTitle = "";
if (hs.addSlideshow) hs.addSlideshow({
interval: 5000,
repeat: false,
useControls: true,
fixedControls: false,
overlayOptions: {
opacity: 1,
position: "top right",
hideOnMouseOut: false
}
});
</script>';
The file forums/Themes/default/Highslide/highslide.js is exist and redable?
also change this:
// * Highslide image viewer mod
echo '<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.js"></script>
to
// * Highslide image viewer mod
echo '
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.js"></script>
Fel
This does NOT exist (No Highslide directory here)
forums/Themes/default/Highslide/highslide.js
EDIT: I just went to a backup from 30 days ago, and this folder was not there either.
Ok, resolved ...
I had an old install of Highslide Image Viewer 1.6,which I applied to the default theme, as well as my active theme. When I uninstalled it, it cleaned out the index.template.php in the default theme directory, but it left the code I pasted above in my current theme's index.template.php .... so I just manually deleted the code from it.
Re-uploaded and all is fine.
The reason I had to uninstall it is that it conflicts with Aeva Media and breaks it's highslide functionality when it is installed... Go figure :)
Cheers !