Page 1 of 1

I think I broke the script (Problem with the Javascript)

Posted: Mon Nov 05, 2007 6:34 am
by tahoemike
Script URL: http://www.tahoecabinrentals.com/support/
Version of script: 0.94.1
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
javascript error
Error: object expected
Code 0


Write your message below:
After upgrading from a perfectly working 0.93.x (I think)
I now get the following error when clicking on any of the javascript links from both Admin side, and user/front end.

For example, when clicking on the "Forgot tracking ID" I get this error:
Line: 89
Char: 1
Error: Object Expected
Code: 0
URL: http://www.tahoecabinrentals.com/support/

And of course nothing else happens besides the error message.

(Here is line 89: <p><a href="Javascript:void(0)" onClick="Javascript:hesk_toggleLayerDisplay('forgot')">Forgot tracking ID?</a></p>)

I've done a view source on the other sites using 0.94.1 and looked at this same line of code, and it appears to be the exact code as mine.

Any ideas on the problem? I must be missing something simple/obvious.

I know it is not my browser(s) as I have tried several different browsers (Firefox, Mozilla, Opera, IE,) from 3 different computers and I get the same error. I also visited other sites using 0.94.1 and there are no javascript errors.

Thanks!!

-Mike

Posted: Mon Nov 05, 2007 2:45 pm
by Klemen
Upload the new header.inc.php file (you've got the old one) and make sure the hesk_javascript.js is uploaded as well.

Posted: Mon Nov 05, 2007 5:39 pm
by tahoemike
Klemen Stirn wrote:Upload the new header.inc.php file (you've got the old one) and make sure the hesk_javascript.js is uploaded as well.
Give Klemen a cigar! 8)

Thanks very much.

-Mike

Posted: Sat Feb 02, 2008 5:23 am
by DC
Buy Klem a beer :-)

DC

Posted: Sat Feb 02, 2008 10:46 am
by Klemen
I see you like my new sig 8) :lol: