Mazie Posted April 14, 2006 Posted April 14, 2006 Wow, you seem to be the right place for me! For some reason when I try to update my site, I get an error message regarding my js menus. There has been no problem until today when my update stops to tell me that my *.js has been modified. Since I didn't modify it, I'm not sure where to find the error. Here is a sample: //----------DHTML Menu Created using AllWebMenus PRO ver 3.1-#516--------------- var awmMenuName='awards'; var awmLibraryPath='/allwebmenus'; var awmImagesPath='/allwebmenus'; var awmSupported=(navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || document.all || document.layers || navigator.userAgent.indexOf('Opera')>-1)?1:0; if (awmAltUrl!='' && !awmSupported) window.location.replace(awmAltUrl); if (awmSupported){ var awmMenuPath; if (document.all) mpi=document.all['awmMenuPathImg-awards'].src; if (document.layers) mpi=document.images['awmMenuPathImg-awards'].src; if (navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || navigator.userAgent.indexOf('Opera')>-1) mpi=document.getElementById('awmMenuPathImg-awards').src; awmMenuPath=mpi.substring(0,mpi.length-16); while (awmMenuPath.search("'")>-1) {awmMenuPath=awmMenuPath.replace("'", "'");} var nua=navigator.userAgent,scriptNo=(nua.indexOf('Safari')>-1)?7:(nua.indexOf('Gecko')>-1)?2:((document.layers)?3:((nua.indexOf('Opera')>-1)?4:((nua.indexOf('Mac')>-1)?5:((nua.indexOf('Konqueror')>-1)?6:1)))); document.write("<script SRC='"+awmMenuPath+awmLibraryPath+"/awmlib"+scriptNo+".js'><\/SCRIPT>"); var n=null; awmzindex=900; } var awmSubmenusFrame=''; var awmSubmenusFrameOffset; var awmOptimize=0; function awmBuildMenu(){ if (awmSupported){ awmCreateCSS(1,2,0,'#FFFFFF','#5A75A7',n,'bold 12px sans-serif',n,'none',0,n,0,0); awmCreateCSS(0,1,0,n,'#5A75A7',n,n,n,'none',0,'#C0C0C0',0,0); awmCreateCSS(1,2,0,'#FFFFFF','#5A75A7',n,'italic 10px sans-serif',n,'none',1,n,0,1); awmCreateCSS(0,2,0,'#FFFFFF','#5A75A7',n,'italic 10px sans-serif',n,'none',1,n,0,1); var s0=awmCreateMenu(0,0,0,0,1,0,0,0,0,3,134,0,0,1,0,"Awards Program","",n,1,1,1,0,n,n,100); it=s0.addItem(2,3,3," Purpose ",n,n,"","",n,n,n,"awards/purpose.htm",n); it=s0.addItem(2,3,3," Categories ",n,n,"","",n,n,n,"awards/categories.htm",n); it=s0.addItem(2,3,3," Nominations; ",n,n,"","",n,n,n,"awards/nomination.htm",n); it=s0.addItem(2,3,3," Award Recipients ",n,n,"","",n,n,n,"awards/recipient.htm",n); s0.pm.buildMenu(); }} I'm baffled at why I'm now getting an error message. thanks so much Quote
TCH-Bruce Posted April 14, 2006 Posted April 14, 2006 Have you compared the file on your system to the file on the server? Are they identical? It could simply be that the time stamp is different and it's assuming there was some change to the file. Quote
Mazie Posted April 14, 2006 Author Posted April 14, 2006 Thanks Bruce, that's a great suggestion. Being a very tedious program, I compared the file on my computer with the file on the server. Just to emphasize that I went line by line and found them to be identical. Any other suggestions? Quote
TCH-Thomas Posted April 14, 2006 Posted April 14, 2006 I have used All web menus before but stopped using it for various reasons. What error message does it give you? Quote
Mazie Posted April 14, 2006 Author Posted April 14, 2006 The error message I get when I try to publish is: "Server error; The page awards.js has been modified by (unknown) on 20 Nov 2005 16:08:15 - 0500." What has me baffled is that I didn't modify it and as far as I know, I'm the only one with access. Thanks for any help. Quote
TCH-Thomas Posted April 14, 2006 Posted April 14, 2006 It sounds like you will need to submit a ticket to the help desk so the techs can see that nothing have changed on the server such as ownership etc. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.