Multiple runtime errors notifications... Multiple runtime errors notifications...
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Multiple runtime errors notifications...

Started by skidpics, September 08, 2007, 06:40:03 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

skidpics

I keep having multiple runtime error notifications when running IE..  There are usually different line numbers in the notification and it keeps asking if I would like to debug - Can anyone figure out why it is doing this?  I does NOT do it running firefox, just IE...

Interesting update - It ONLY does it when I using the IE firefox Extension, and not IE itself.

Anyone have any clues?



Sami

More detail please , post the error/notification string
‍I don't answer to PM with support question
Please post your issue to related board

skidpics

Quote from: Sami on September 08, 2007, 08:22:28 AM
More detail please , post the error/notification string
This is the only thing it states on the screen - Of course, it does not show up if you have to option in IE turned off to display the errors:


A runtime error has occured.
Do you wish to debug?

Line 68
error: Syntax Error


Do you want my debug info?


skidpics

Quote from: Nibbler on September 09, 2007, 02:13:05 AM
No; we want line 68.
Microsoft Script Editor does not have line number, but when I go to debug, does it go to the line of code that has the error automatically or do I give you line 68 from a particular file?


Sami

‍I don't answer to PM with support question
Please post your issue to related board

skidpics

Quote from: Sami on September 09, 2007, 08:52:02 AM
Post line #68 of that file

Here is line #68 of the Microsoft Script Debugger:

<th scope="row" width="24%"><!-- Begin: AdBrite --><script type="text/javascript">

Seems like I might need to contact adbrite about their script generating an error, or is there an issue with my javascript on the local pc?


Joachim Müller

Post a link to the page where you get that error. Line numbers between source code and actual output may differ, particularly for dynamically generated pages.

skidpics

Quote from: GauGau on September 09, 2007, 08:10:45 PM
Post a link to the page where you get that error. Line numbers between source code and actual output may differ, particularly for dynamically generated pages.

I get the error with IE when I just go to my website:  http://skidpics.com

Joachim Müller

The following errors need to be corrected (line 69 ff).:   var AdBrite_Title_Color = &#39;940F04&#39;;
   var AdBrite_Text_Color = &#39;000000&#39;;
   var AdBrite_Background_Color = &#39;FFFFFF&#39;;
   var AdBrite_Border_Color = &#39;FFFFFF&#39;;


Replace with   var AdBrite_Title_Color = '940F04';
   var AdBrite_Text_Color = '000000';
   var AdBrite_Background_Color = 'FFFFFF';
   var AdBrite_Border_Color = 'FFFFFF';
and you should be fine.

Seems like apostrophes got replaced with &#39;

skidpics

#10
I see that, but in my theme, it is listed as:

  var AdBrite_Title_Color = '0000FF';
   var AdBrite_Text_Color = '000000';
   var AdBrite_Background_Color = 'FFFFFF';
   var AdBrite_Border_Color = 'FFFFFF';


and if you look at the source code once the page has loaded, there is no change either.  It seems ti changes when debug loads it:

  var AdBrite_Title_Color = '0000FF';
   var AdBrite_Text_Color = '000000';
   var AdBrite_Background_Color = 'FFFFFF';
   var AdBrite_Border_Color = 'FFFFFF';


What would be changing it?

Sami

Did you use anycontent.php ? if yes then check the js code there too
‍I don't answer to PM with support question
Please post your issue to related board

skidpics

Quote from: Sami on September 10, 2007, 03:43:40 PM
Did you use anycontent.php ? if yes then check the js code there too

I am not using it.. 

skidpics

Quote from: Sami on September 10, 2007, 03:43:40 PM
Did you use anycontent.php ? if yes then check the js code there too

You were right.  I was not using anycontent, but rather, had the bad code in MiniCMS..   

Thanks a lot for the help !!

Joachim Müller

Use miniCMS only for textual content, not to add CSS of JavaScript stuff. Marking thread as "solved".