Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 8th, 2003, 11:14 AM
Authorized User
Points: 49, Level: 1
Points: 49, Level: 1 Points: 49, Level: 1 Points: 49, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Chicago, IL, USA.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch3 Pg97 Runtime Error

Hello,

Im using the Beginning Dreamweaver MX book and I thought I had followed everything pretty well.

When trying to create the popup window and running it in IE6, I get a runtime error:

Line: 8
Error: 'Menu' is undefined

Please Help!
  #2 (permalink)  
Old September 8th, 2003, 12:12 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

It sounds like you haven't uploaded the necessary .js file to the server. To do this, locate the file mm_menu.js on the Files panel in Local View, right-click it and the choose Put. This will send the page to your remote server, so it can be requested in the browser.

HtH,

Imar



---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #3 (permalink)  
Old September 10th, 2003, 11:48 AM
Registered User
 
Join Date: Sep 2003
Location: LaFayette, GA, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had the same problem and can't get rid of it. I tried the solution given but that didn't work. I did have two mm_menu.js files. One inthe templates and one in the root. Put both but still get that error message but only on pages that were created with Album creator and then modified with a template.

  #4 (permalink)  
Old September 10th, 2003, 12:21 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Well, in that case, I think you should post some code. It's pretty hard to guess what the problem can be without seeing any code. Please post just the relevant portions, if you can figure them out.

Before you post the code, check the following:

1. On what pages is the .js file referenced?
2. How is this reference created and how does it look? (like /SomeSite/mm_menu.js or ../mm_menu.js for example)
3. Are you sure the mm_menu.js file is uploaded to the Remote Server in the correct directory??

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch3 Appendix MySQL Syntax Error amin7b5 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 April 16th, 2008 01:49 PM
hi i got runtime error 13 Type Mismatch error sriharsha345 Access VBA 2 February 21st, 2008 09:30 AM
runtime error dhoward VB.NET 2002/2003 Basics 2 November 1st, 2007 03:30 PM
mysterious error runtime error '451' coyotworks Excel VBA 1 May 12th, 2006 03:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.