-
Posts
8151 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Nabeel
-
The page isn't loading, but I'm assuming it's a stock install to the same db. In core_htmlhead.tpl, there's this line: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script> Change it to jquery.js (remove the .min) So: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.js"></script> That way I can debug it tomorrow morning, if you can just leave that up for now. Thanks. I suspect its because a nav-point is invalid, so it's erroring due to that, but I don't see any errors. If you can also export your acarsdata table with all the data so I can take a look at that too. Thanks!
-
Nevermind. Your source is completely messed up. All your javascript should go under that call in header.tpl. I paste-binned your site source: http://pastebin.com/m6e617560 Lines 1 to 71 are in the wrong place. They should go after where line 140 is now. And then, lines 75 to 115 should also go under lines 140. (basically, all that stuff after the Template::Show('core_htmlhead.tpl') call in header.tpl. Also delete lines 105 to 108. They're unnecessary and ruining the rest of your page, since they're calling an older version of jquery and the javascript includes. Not to mention, the paths are incorrect
-
Crap, that was a debugging thing I did - I'll have that fixed in the next commit. I removed the time restriction so I can see all the flights, since I wasn't flying at the time. I think nav points problem might have to do with the way I'm calculating distance, so I'm working on that. http://dev.phpvms.net/routetest.php?depicao=SAWH&arricao=SBGR&route=GRA+UT101+MDP+UA310+CRR+UM540+POR+UA314+FLN+UW21+ANISE&submit=View+Route But in the case of JUICE, the coordinate which is further is actually the correct one, so I'm trying to find out what the proper way of calculating is.
-
If you can give me the airport pairs you're using, I'll see what I come up with
-
Some tables use MyISAM, some use InnoDB. I guess you could convert the InnoDB ones by hand to myisam (in install.sql and then run the installer), but you would lose foreign keys. I've coded phpvms torely on those keys, and while you mi ght be ok in most cases, it could break in others. I can't support it in that case. So you're free to modify it yourself (the install.sql file)