Problem upgrading from 5.0 to 5.02
Problem upgrading from 5.0 to 5.02
I assumed (erroneously, obviously) that all I needed to do was replace the milonic_src, mmenudom, and mmenuns4 files (with license entered) and I'd be set. Wrong.
None of the documentation addresses upgrades so not quite sure what what I might be missing.
None of the documentation addresses upgrades so not quite sure what what I might be missing.
Re: Problem upgrading from 5.0 to 5.02
Hi,
If you can tell us what didn't work as expected after you updated, then we might be able to figure out what went wrong.
Kevin
You assumed correctly... download an update, unzip it, then upload milonic_src.js, mmenudom.js, and mmenuns4.js to your web server, replacing the older versions of these two files.ApexSBS wrote:I assumed... that all I needed to do was replace the milonic_src, mmenudom, and mmenuns4 files...
If you can tell us what didn't work as expected after you updated, then we might be able to figure out what went wrong.
Kevin
Perhaps you should give us a url to see.
Is it possible that your editor is adding characters, perhaps its not set to plain text but to rich text. If you are not sure try uploading the menu without altering anything like the license number. If that works then it may be your text editor is doing something.
Regards,
maz
Is it possible that your editor is adding characters, perhaps its not set to plain text but to rich text. If you are not sure try uploading the menu without altering anything like the license number. If that works then it may be your text editor is doing something.
Regards,
maz
I'm not using any tools I didn't use to build this with originally (notepad, dreamweaver) so I don't have extraneous text included.
Because of issues like this, I tried the menu upgrade on my development server first.
To see the 5.0 menu working on our production server: http://apexwinecellars.com/
I actually run three instances of the menu and have it in an include, but as you can see - it runs just fine as is (5.0).
Because of issues like this, I tried the menu upgrade on my development server first.
To see the 5.0 menu working on our production server: http://apexwinecellars.com/
I actually run three instances of the menu and have it in an include, but as you can see - it runs just fine as is (5.0).
The problem is that you are trying to updgrade from Beta Release Candidate (RC) 9 to version 5.02. Including just the major RCs, that's a jump of over 40 revisions. The menu code is a little different now, and the way the scripts are loaded into a page is different... That's why you're getitng the object expected error... something in milonic_src.js can't find a function or value it's looking for in mmenudom.js, because that file hasn't been loaded into the page.
Once you've uploaded the new milonic_src.js, mmenudom.js and mmenuns4.js, you need to replace the following code in your html:
with:
to load the menu scripts. That shouldn't be too difficult if, as you say, you're using includes. At first glance, your menu_data.js file looks OK, but you may find that it needs some fine tuning after the update.
Hope that helps,
Kevin
Once you've uploaded the new milonic_src.js, mmenudom.js and mmenuns4.js, you need to replace the following code in your html:
Code: Select all
<SCRIPT language=JavaScript src="milonic_src.js" type="text/javascript"></SCRIPT>
<SCRIPT language=JavaScript src="menu_data.js" type="text/javascript"></SCRIPT>
Code: Select all
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>
Hope that helps,
Kevin