flynryan692 Posted February 22, 2011 Report Posted February 22, 2011 So here is the problem, the acars map on a web site I'm helping make just isn't working. When they originally made the site the map did not work, then they switched to my server and it still didn't work. We built a new skin on another phpvms install and then copied over everything except the config files (thus pretty much a fresh install). The map still does not work at all. When you look inside of the database the information is being populated but it is not on the map. Again, this is a brand new map so everything should be working. I even reset the acars in the admin panel, and I'm on host gator. So, any ideas? Would it be a config file error, database error, or CHMOD error? EDIT: here is three errors I got when running the check install... Checking file hashes for corrupt or mismatched files [Checksum failed] /core/templates/frontpage_main.tpl did not match, possibly corrupt or out of date [Error] ../core/modules/kACARS_Free/kACARS_Free.php doesn't exist [Checksum failed] /lib/js/jquery.tablesorter.pager.js did not match, possibly corrupt or out of date ^Yes, kACARS free is missing because we have the custom version now, and the acars map didn't work before we took it out anyway. Quote
Administrators simpilot Posted February 22, 2011 Administrators Report Posted February 22, 2011 Are there any errors showing in firebug when you try to view the map in Firefox? Is the table under the map populating with data or is it empty as well? Quote
flynryan692 Posted February 22, 2011 Author Report Posted February 22, 2011 One error, this is it: qm_create is not defined [break On This Error] <script type="text/javascript">qm_crea...se,false,false,false,false);</script> acars (line 279) Quote
md82 Posted February 24, 2011 Report Posted February 24, 2011 Mine isn't working either, I have the same error on firebug.. any help appreciated Quote
Administrators simpilot Posted February 24, 2011 Administrators Report Posted February 24, 2011 Do you guys have a link we can look at? Does the map show up at all, or does it just not show the aircraft positions? Quote
flynryan692 Posted February 24, 2011 Author Report Posted February 24, 2011 Here you go http://allegiantvirtual.com/index.php/acars The map shows up, but flights are not put into the map, and they don't appear below the map either. The data is populated in the database though... Quote
Administrators simpilot Posted February 24, 2011 Administrators Report Posted February 24, 2011 I think the clock generator script you have may be interfereing with it. Can you remove it and see if that allows the map to show? The error you posted is actually coming from: <!-- Clock Part 1 --> <script language="JavaScript"> // Anytime Anywhere Web Page Clock Generator // Clock Script Generated at // http://www.rainbow.arch.scriptmania.com/tools/clock function tS(){ x=new Date(tN().getUTCFullYear(),tN().getUTCMonth(),tN().getUTCDate(),tN().getUTCHours(),tN().getUTCMinutes(),tN().getUTCSeconds()); x.setTime(x.getTime()); return x; } function tN(){ return new Date(); } function lZ(x){ return (x>9)?x:'0'+x; } function tH(x){ if(x==0){ x=12; } return (x>12)?x-=12:x; } function dT(){ if(fr==0){ fr=1; document.write('<font color="#5890a8"><font size=1 face=Arial><b><span id="tP">'+eval(oT)+'</span></font></font></b>'); } document.getElementById('tP').innerHTML=eval(oT); setTimeout('dT()',1000); } function aP(x){ return (x>11)?'':''; } var fr=0,oT="lZ(tH(tS().getHours()))+':'+lZ(tS().getMinutes())+':'+lZ(tS().getSeconds())+aP(tS().getHours())"; </script> <!-- Clock Part 1 - Ends Here --> and <!-- Create Menu Settings: (Menu ID, Is Vertical, Show Timer, Hide Timer, On Click ('all' or 'lev2'), Right to Left, Horizontal Subs, Flush Left, Flush Top) --> <script type="text/javascript">qm_create(0,false,0,500,false,false,false,false,false);</script> Quote
flynryan692 Posted February 24, 2011 Author Report Posted February 24, 2011 I have the same clock on another site that does work, but I went ahead and tried it anyway just to be 100% sure it wasn't the clock. The map did not work when I took out the clock. Any other ideas? Quote
Administrators simpilot Posted February 24, 2011 Administrators Report Posted February 24, 2011 I just went to your site to see what the new error was but the clock script is still in place. Quote
md82 Posted February 25, 2011 Report Posted February 25, 2011 It cant be the clock script, on the development phpvms install the map works.. its when we transfer the skin to the original phpvms install it stops working. Quote
Administrators simpilot Posted February 25, 2011 Administrators Report Posted February 25, 2011 Are both sites on the same server, or is one on your local machine? Quote
flynryan692 Posted February 25, 2011 Author Report Posted February 25, 2011 Same server, and I put the clock script back in after testing it. Quote
flynryan692 Posted February 25, 2011 Author Report Posted February 25, 2011 Nothing to do with javascript at all, I exported the acarsdata table from another site, dropped the one on this site and then imported the table. Works now. Quote
Administrators simpilot Posted February 25, 2011 Administrators Report Posted February 25, 2011 What was the difference between the two tables? Is it something we can change in the install sql? Quote
flynryan692 Posted February 26, 2011 Author Report Posted February 26, 2011 No, before the site was moved to my server it was on a free hosting so it must have done something funky to it. 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.