Solved

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

Posted on 2002-03-18
16
5,447 Views
Last Modified: 2011-08-18
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...
0
Comment
Question by:kalliopi
  • 5
  • 5
  • 3
  • +1
16 Comments
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6876391
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.
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 6876414
Google and google groups were full of suggestions

Michel
0
 
LVL 6

Author Comment

by:kalliopi
ID: 6877420
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...
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 6878307
0
 
LVL 6

Author Comment

by:kalliopi
ID: 6878880
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.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6879217
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.
0
 
LVL 6

Author Comment

by:kalliopi
ID: 6879315
I submitted the question to the guy that wrote it and he found the problem.  Thanks anyway though.
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 6879396
And it was what?

Please post and have CS FAQ the question and return the points
0
 
LVL 6

Author Comment

by:kalliopi
ID: 6879453
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...
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 6879539
Great.

Feel free to ask customer services to PAQ this for you

Michel
0
 
LVL 6

Author Comment

by:kalliopi
ID: 6879583
What does PAQ mean?  Also, how is that different from deleting the question?
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6879589
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.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6974174
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.
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
Please click this link for Help Desk, Guidelines/Member Agreement and the Question/Answer process.  http://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.
http://www.experts-exchange.com/questions/Q.11825818.html
http://www.experts-exchange.com/questions/Q.20121920.html
http://www.experts-exchange.com/questions/Q.20163396.html
http://www.experts-exchange.com/questions/Q.20173685.html
http://www.experts-exchange.com/questions/Q.20176642.html
http://www.experts-exchange.com/questions/Q.20184412.html
http://www.experts-exchange.com/questions/Q.20277149.html
http://www.experts-exchange.com/questions/Q.20277150.html
http://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
http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643 
POINTS FOR EXPERTS awaiting comments are listed in the link below
http://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
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 6974647
Please paq and return points
0
 
LVL 1

Accepted Solution

by:
Moondancer earned 0 total points
ID: 6974834
Thank you, Michel.

100 points refunded this item closed by moving it to our PAQ at zero points.

Moondancer - EE Moderator
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question