Jump to content

Couple of Website Errors...


Recommended Posts

I've been searching around here for the last 16-24 hours for the answers to these issues, but still haven't quite found what I am looking for. I had been building a website on a beta server, and just moved it over to the main one yesterday and we are loving it so far! Unfortunately, I am running into a few errors that I haven't been able to track down and fix...

http://wnvirtual.org/index.php/Airports - I can not get any live flights to show up here as they did on v2 of our website. We use SmartCARS so it usually works just fine, but I can not get it to do anything at all but sit there.

http://wnvirtual.org/index.php/pireps/view/2216 - Route Map does not show... :/

http://wnvirtual.org/index.php/Screenshots - No clue where to start on this one... Worked fine on the beta website!

http://wnvirtual.org/index.php/Airlinemap - Developed by Crazy Creatives, this is THE coolest map out there! It worked fine on web v2, but did not work on the beta website and I thought it may "magically" begin working when uploaded to the main server. I have emailed Crazy Creatives about it too, but figured the information may help solve one or all of the problems above. The map just won't show up at all...

I'm thinking it is a javascript error? But not sure where the error is taking place or how to troubleshoot that. I'm usually pretty good at finding what's going wrong and fixing it, but in this case, I'm just lost.

Thank you for your help!

Link to post
Share on other sites
  • Administrators

All the map issues look like they are javascript related to me. I have attached a couple of pics from Firebug that show a couple of the errors. Looking at your source on the page I would take a good look at the order in which you are loading jQuery. I have run into similar issues using bootstrap, which it looks like you are using as well. The jQuery version that bootstrap uses will not support some of the code written for phpVMS and you will need to make adjustments to your phpvms.js file to support them, especially the map features.

As far as your Screenshots error, I am guessing that there is some discrepancy between what is in the screenshot database and what is actually in the /pics folder that holds the actual images.

post-198-0-68840000-1423947642_thumb.png

post-198-0-33199000-1423947650_thumb.png

Link to post
Share on other sites

All the map issues look like they are javascript related to me. I have attached a couple of pics from Firebug that show a couple of the errors. Looking at your source on the page I would take a good look at the order in which you are loading jQuery. I have run into similar issues using bootstrap, which it looks like you are using as well. The jQuery version that bootstrap uses will not support some of the code written for phpVMS and you will need to make adjustments to your phpvms.js file to support them, especially the map features.

As far as your Screenshots error, I am guessing that there is some discrepancy between what is in the screenshot database and what is actually in the /pics folder that holds the actual images.

post-198-0-68840000-1423947642_thumb.png

post-198-0-33199000-1423947650_thumb.png

Wow, you all are GREAT! Thank you. I will begin looking through those and see what I can do. I believe I saw in another post that on your GitHub you have kind of updated a few things that may help, too? I'm not very "knowledgeable" with the JS side of things... but I will look into re-ordering them and see what I can work out. Thank you!

Taking one look at your site now and you have major Javascript conflicts. May I suggest looking at the link below and look at my post and give that a try. Any issues then report back on this forum

http://forum.phpvms....o-route-passed/

Awesome, thanks! I tried it with just the maps page so far and no dice, but am looking around some more before asking any more questions. Thank you!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...