Link to home
Start Free TrialLog in
Avatar of kalliopi
kalliopi

asked on

"CAN'T EXECUTE CODE FROM A FREED SCRIPT...???"

Hi,

I'm using a menu that I found on a shareware site.  It uses a JS include as in:

<script src="menu.js"></script>

It works on most browsers and most computers, but IE seems to have a problem on some computers and displays the following error:

"Can't execute code from a freed script"

I've done a search on can find no documentation on what might be causing this error - but I'd love any suggestions you might have...
Avatar of DreamMaster
DreamMaster

Most likely, there are some references in the menu.js to other script files...and since they do not exist anymore, you are getting this error...

This could include various different ways, like document.myscript or variants of this...

Max.
Avatar of Michel Plungjan
Google and google groups were full of suggestions

Michel
Avatar of kalliopi

ASKER

DreamMaster - there are no references to the script outside of the script itself.  It is a completely contained system.

mplungian - I didn't find any.  Could you possibly post some of the suggestions you found here?  Or at least URLS to the suggestions?

Thanx for the quick response...
mplungian,

I had done the same searches that you did and found two types of pages were returned by the search.
1) Lists of errors (one of which is the one I was searching for)
2) Many, many, many other people asking almost exactly the same question that I was asking.

Unfortunately, neither of these two types of pages had any answers for me.  I had hoped that your searches were more fruitful, but unfortunately, they don't appear to have been.

Thanks anyway.  I've submitted this question back to the guy that developed the original script and hopefully he'll have some insight.

If anyone has any other suggestions, I'm still looking.  Thanx.
kalliopi, could you perhaps post the code for that script so I can look it over and let you know if I find anything?

Max.
I submitted the question to the guy that wrote it and he found the problem.  Thanks anyway though.
And it was what?

Please post and have CS FAQ the question and return the points
I had multiple body tags in the HTML body (I was using include files and FrontPage automatically adds body tags every time it opens a file for exiting).  As a result, on slower computers, if the script was not finished being processed when the second body tag was reached, it was unloaded from memory and then the error occured.  I removed the other body tags and everything works great now...
Great.

Feel free to ask customer services to PAQ this for you

Michel
What does PAQ mean?  Also, how is that different from deleting the question?
Save it for future reference...

PAQ stands for Previously Asked Question and it keeps the solution available to others to see...so other people having the same problem can find it from your question.. :)

Max.
ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101 or Netminder will return to finalize these if they are still open in 14 days.  Experts, please post closing recommendations before that time.

Below are your open questions as of today.  Questions which have been inactive for 21 days or longer are considered to be abandoned and for those, your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> YOU CANNOT DELETE A QUESTION with comments; special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
Please click this link for Help Desk, Guidelines/Member Agreement and the Question/Answer process.  https://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Click you Member Profile to view your question history and please keep them updated. If you are a KnowledgePro user, use the Power Search option to find them.  

Questions which are LOCKED with a Proposed Answer but do not help you, should be rejected with comments added.  When you grade the question less than an A, please comment as to why.  This helps all involved, as well as others who may access this item in the future.  PLEASE DO NOT AWARD POINTS TO ME.

To view your open questions, please click the following link(s) and keep them all current with updates.
https://www.experts-exchange.com/questions/Q.11825818.html
https://www.experts-exchange.com/questions/Q.20121920.html
https://www.experts-exchange.com/questions/Q.20163396.html
https://www.experts-exchange.com/questions/Q.20173685.html
https://www.experts-exchange.com/questions/Q.20176642.html
https://www.experts-exchange.com/questions/Q.20184412.html
https://www.experts-exchange.com/questions/Q.20277149.html
https://www.experts-exchange.com/questions/Q.20277150.html
https://www.experts-exchange.com/questions/Q.20278200.html



*****  E X P E R T S    P L E A S E  ******  Leave your closing recommendations.
If you are interested in the cleanup effort, please click this link
https://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643 
POINTS FOR EXPERTS awaiting comments are listed in the link below
https://www.experts-exchange.com/commspt/Q.20277028.html
 
Moderators will finalize this question if in @14 days Asker has not responded.  This will be moved to the PAQ (Previously Asked Questions) at zero points, deleted or awarded.
 
Thanks everyone.
Moondancer
Moderator @ Experts Exchange
Please paq and return points
ASKER CERTIFIED SOLUTION
Avatar of Moondancer
Moondancer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial