menu works locally, but not online
menu works locally, but not online
Okay,
I've just uploaded my menu, which worked on my local drive, but doesn't even show up in the online version.
http://www.olneyfriends.org/schooltest/
Any ideas?
PS: using a mac
I've just uploaded my menu, which worked on my local drive, but doesn't even show up in the online version.
http://www.olneyfriends.org/schooltest/
Any ideas?
PS: using a mac
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
still not working...
relevent files in root:
arrow.gif
subon_arrow.gif
menu_data.js
mmenuns4.js
milonic_src.js
mmenudom.js
button.....jpg(s)
relevent files in /schooltest/:
index.htm
i've tried other combo's too, with all files in the same directory, some in a sub directory, and so on.... the paths all work on my computer, but when i mirror the paths online, i get nothing.
is there something very basic that i'm overlooking here?
arrow.gif
subon_arrow.gif
menu_data.js
mmenuns4.js
milonic_src.js
mmenudom.js
button.....jpg(s)
relevent files in /schooltest/:
index.htm
i've tried other combo's too, with all files in the same directory, some in a sub directory, and so on.... the paths all work on my computer, but when i mirror the paths online, i get nothing.
is there something very basic that i'm overlooking here?
I have your site working on my server at http://www.west.asu.edu/sa/testsite/. I am using your _data file (no changes except full URLs for the graphics) and my 5.3 code called locally. I was unable to get the system to work using the menu code from your site. I would suggest downloading a fresh set of code. Make sure you upload it to your server as text, not 'automatic' or any other setting in your ftp program.
Also, a little confused by the doctype...
I changed it to...
...removing the ???? stuff.
Also, a little confused by the doctype...
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
????"http://www.w3.org/TR/html4/strict.dtd">
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/strict.dtd">
John
john,
thanks for checking the menu on your own server!
it's good to know the menu_data.js file works somewhere.
having said that, could you please remove the files from your server? (thanks!)
in reference to the 5.3 menu code idea, i just put up a freshly downloaded code, and it's still not loading the menu.
could this be a liscencing problem? i notice that your menu code is liscenced as "http://www...." whereas mine has no "http://"... it starts with the "www"
could that be causing problems? i tried changing the code in the milonic_src file, to include the "http://" and that did nothing.
do i need to change my registration information with milonic?
thanks for checking the menu on your own server!
it's good to know the menu_data.js file works somewhere.
having said that, could you please remove the files from your server? (thanks!)
in reference to the 5.3 menu code idea, i just put up a freshly downloaded code, and it's still not loading the menu.
could this be a liscencing problem? i notice that your menu code is liscenced as "http://www...." whereas mine has no "http://"... it starts with the "www"
could that be causing problems? i tried changing the code in the milonic_src file, to include the "http://" and that did nothing.
do i need to change my registration information with milonic?
You're welcome.
Don't mess with anything in the _src file - it's a very sensitive piece of code (not to mention "re-coding" that file could cost you your support here)!
Not sure what's up right now. Works here, doesn't work there kinda points to there. Another possibility is improper pathing.
Done.lemon wrote:having said that, could you please remove the files from your server? (thanks!)
I don't think that's the problem. All that should do is add the forced Milonic link at the top of the menu system.lemon wrote:could this be a liscencing problem? i notice that your menu code is liscenced as "http://www...." whereas mine has no "http://"... it starts with the "www"
could that be causing problems? i tried changing the code in the milonic_src file, to include the "http://" and that did nothing.
Don't mess with anything in the _src file - it's a very sensitive piece of code (not to mention "re-coding" that file could cost you your support here)!
Not sure what's up right now. Works here, doesn't work there kinda points to there. Another possibility is improper pathing.
John
check. definitely won't be messing with the src file. the newest one is on my server now, pure and unaltered.
i really have no clue what's going on. frankly, i'm baffled. i've repeatedly checked out all the paths, and they look okay to me. how could it work when mirrored on your server, but not work on mine?
is it possible that there's some kind of configuration that i would need to do to my server? that seems unlikely to me. i'm not the techiest of tech's, but i feel like one server should be just as good as another in terms of javascript. if it were php or cgi or something server side, then i could understand a difference. but.... eh? i'm so confused.
i really have no clue what's going on. frankly, i'm baffled. i've repeatedly checked out all the paths, and they look okay to me. how could it work when mirrored on your server, but not work on mine?
is it possible that there's some kind of configuration that i would need to do to my server? that seems unlikely to me. i'm not the techiest of tech's, but i feel like one server should be just as good as another in terms of javascript. if it were php or cgi or something server side, then i could understand a difference. but.... eh? i'm so confused.
Have you tried, just as a test, putting the full path in for each of the files to see if it works. So, each would be
Ruth
Code: Select all
http://www.olneyfriends.org/whatever file.
Looking at the calls again I don't see a problem with what you have for the paths, and I can get to the files using that structure. No idea why it didn't work when I called your code files from here.
However, there is one other thing I did (forgot!). You're using strict in the doctype, and I'm not really sure just how strict that is. In the first and last menu call statements only (not the _d.write lines), I added "" around both language= and type= parameters, and around just language= in the second line...
FWIW...
However, there is one other thing I did (forgot!). You're using strict in the doctype, and I'm not really sure just how strict that is. In the first and last menu call statements only (not the _d.write lines), I added "" around both language= and type= parameters, and around just language= in the second line...
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>
John
Hi Lemon,
No need to change the licensing info in milonic_src.js; it appears in your download as it appears in Milonic's licensing database, so it's best not to mess with it. As for the problem...
Aside from the fact that you're using a mac ... Your menu_data.js file looks fine (you are missing the semicolon at the end of the aI() string for the "classes" item in your main menu, but that's not a huge deal). I think the problem is that the mmenudom.js file on your server is messed up. The copy you're running locally is probably still OK, or else your test wouldn't work locally. I'm guessing that there was a hiccup during the upload of that file. If I were you, I'd re-upload mmenudom.js to the site's root and see if your menu appears. If not, re-upload all three of the menu's source .js files and try it again.
Hope that helps,
Kevin
No need to change the licensing info in milonic_src.js; it appears in your download as it appears in Milonic's licensing database, so it's best not to mess with it. As for the problem...
Aside from the fact that you're using a mac ... Your menu_data.js file looks fine (you are missing the semicolon at the end of the aI() string for the "classes" item in your main menu, but that's not a huge deal). I think the problem is that the mmenudom.js file on your server is messed up. The copy you're running locally is probably still OK, or else your test wouldn't work locally. I'm guessing that there was a hiccup during the upload of that file. If I were you, I'd re-upload mmenudom.js to the site's root and see if your menu appears. If not, re-upload all three of the menu's source .js files and try it again.
Hope that helps,
Kevin
thanks!
it worked!
for the record, i was using Bullet Proof ftp, and i tried re-sending the mmenudom file but to no avail. THEN, i switched to Fetch FTP, resent the file, and just like that, everything was better.
again, thanks so much for all the helpful comments along the way! this is by far one of the best support forums i've ever had an experience with.
it worked!
for the record, i was using Bullet Proof ftp, and i tried re-sending the mmenudom file but to no avail. THEN, i switched to Fetch FTP, resent the file, and just like that, everything was better.
again, thanks so much for all the helpful comments along the way! this is by far one of the best support forums i've ever had an experience with.
Great! Glad to hear it.lemon wrote:thanks!
it worked!
Fetch has always been on top (although I did find 'CaptainFTP' last month - very good).lemon wrote:for the record, i was using Bullet Proof ftp, and i tried re-sending the mmenudom file but to no avail. THEN, i switched to Fetch FTP, resent the file, and just like that, everything was better.
You're welcome.lemon wrote:again, thanks so much for all the helpful comments along the way! this is by far one of the best support forums i've ever had an experience with.
Thanks for the kind words. You have no idea how much they are appreciated.
John