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

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
tahoemike
Posts: 9
Joined: Mon Nov 05, 2007 6:12 am

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

Post 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
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
tahoemike
Posts: 9
Joined: Mon Nov 05, 2007 6:12 am

Post 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
DC
Posts: 138
Joined: Sun Dec 09, 2007 9:28 am

Post by DC »

Buy Klem a beer :-)

DC
To Code Or Not To Code That Is The Question?

Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I see you like my new sig 8) :lol:
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply