Ariel Posted June 16, 2014 Report Share Posted June 16, 2014 Alright guys, before we go on as to how this topic has been brought up several times, and has been resolved, let me point out that i have been through all of those topics and nothing works or has anything to do with my issue. Now what im going through is the add bid link is not clickable and when it is it says its No Route Passed. I just moved hosting. With my previous host provider i didnt have this problem. It just happened when i moved. All of the js files are where they are supposed to be <title>Search - Virtual Delta Airlines</title> <script type="text/javascript"> var baseurl = "http://www.vdelta.org"; var geourl = "http://ws.geonames.org"; </script> <link rel="stylesheet" media="all" type="text/css" href="http://www.vdelta.org/lib/css/phpvms.css" /> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> <script type="text/javascript" src="http://www.vdelta.org/lib/js/jquery.form.js"></script> <script type="text/javascript" src="http://www.vdelta.org/lib/js/phpvms.js"></script> <link rel="stylesheet" type="text/css" href="/lib/skins/.../anylinkmenu.css" /> <script type="text/javascript" src="/lib/skins/.../menucontents.js"></script> </head> Can anyone help me out with this please! Quote Link to comment Share on other sites More sharing options...
flyalaska Posted June 16, 2014 Report Share Posted June 16, 2014 Have you changed anything in your layout.tpl? Its usually a js link in the wrong order. Quote Link to comment Share on other sites More sharing options...
Ariel Posted June 16, 2014 Author Report Share Posted June 16, 2014 Have you changed anything in your layout.tpl? Its usually a js link in the wrong order. Negative the layout.tpl hasn't been changed for over 6 months Quote Link to comment Share on other sites More sharing options...
StartVM Posted June 17, 2014 Report Share Posted June 17, 2014 Ariel try this I give all credit to Ryan from Zumeweb.com for the fix. <!-- Javascript --> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vrd/js/jquery-1.10.1.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/vrd/js/bootstrap.min.js"></script> <script src="http://code.jquery.com/jquery-latest.min.js"></script> <!-- Javascript End --> <?php echo $page_htmlhead; ?> Make sure to include all custom javascript or jquery above the htmlhead. Try that, if it doesn't work, I will do a pastebin of the entire head section of my layout.php (Yes .php btw Simpilot groups version of phpVMS is awesome. So many new features and move secure) Quote Link to comment Share on other sites More sharing options...
Ariel Posted June 18, 2014 Author Report Share Posted June 18, 2014 Ariel try this I give all credit to Ryan from Zumeweb.com for the fix. <!-- Javascript --> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vrd/js/jquery-1.10.1.min.js"></script> <script src="<?php echo SITE_URL?>/lib/skins/vrd/js/bootstrap.min.js"></script> <script src="http://code.jquery.c...n.js"></script> <!-- Javascript End --> <?php echo $page_htmlhead; ?> Make sure to include all custom javascript or jquery above the htmlhead. Try that, if it doesn't work, I will do a pastebin of the entire head section of my layout.php (Yes .php btw Simpilot groups version of phpVMS is awesome. So many new features and move secure) Sorry chase but your fix didnt work for me. Looking at my JS files they are not the same version and i dont have the bootstrap JS since i dont believe our template was created on it. I looked at its original code from the original template files. i see that there was no JS files ever used. Again i dont know why i am getting this error now when i didnt have it previously! Quote Link to comment Share on other sites More sharing options...
magicflyer Posted June 18, 2014 Report Share Posted June 18, 2014 Sorry chase but your fix didnt work for me. Looking at my JS files they are not the same version and i dont have the bootstrap JS since i dont believe our template was created on it. I looked at its original code from the original template files. i see that there was no JS files ever used. Again i dont know why i am getting this error now when i didnt have it previously! First, when you click on that bid link does it redirect to a white page and show that message or does that message just show up where the "flight booked" message is supposed to be? If the former is the case, I am ~85% sure it has something to do with the javascript loading in core_htmlhead.tpl, layout.tpl, or wherever else you're loading JS libraries. To debug, try commenting out in HTML any third party scripts that did not come with the default phpvms. Your page would probably look weird as you do so, but no worries. Once you've identified which JS library is affecting it, load them up before the phpvms JS libraries(Including jquery and jqueryui). What that does is ensure that no phpvms scripts are being overwritten by third party scripts allowing the display engine to prioritize the phpvms backend before the unnecessary stuff. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted June 18, 2014 Administrators Report Share Posted June 18, 2014 Have you tried running firebug on it? I ran it on just the schedules page and it is showing a syntax error in the header but I can not get to the "Add Bid" function. I would be curious if it would show anything when you are logged in and hit the add bid. I wonder if there is something different in the php interpreter on your new server. Quote Link to comment Share on other sites More sharing options...
Ariel Posted June 19, 2014 Author Report Share Posted June 19, 2014 Have you tried running firebug on it? I ran it on just the schedules page and it is showing a syntax error in the header but I can not get to the "Add Bid" function. I would be curious if it would show anything when you are logged in and hit the add bid. I wonder if there is something different in the php interpreter on your new server. You are more than welcome to log in under one of our test accounts PID:DAL075 Password: test1234 First, when you click on that bid link does it redirect to a white page and show that message or does that message just show up where the "flight booked" message is supposed to be? If the former is the case, I am ~85% sure it has something to do with the javascript loading in core_htmlhead.tpl, layout.tpl, or wherever else you're loading JS libraries. To debug, try commenting out in HTML any third party scripts that did not come with the default phpvms. Your page would probably look weird as you do so, but no worries. Once you've identified which JS library is affecting it, load them up before the phpvms JS libraries(Including jquery and jqueryui). What that does is ensure that no phpvms scripts are being overwritten by third party scripts allowing the display engine to prioritize the phpvms backend before the unnecessary stuff. Ryan, when trying to click on the bid link if the page is fully loaded, it will not do anything. NOTHING at all. but when the page is still loading if you click on it it will take you to a page that says no route passed. you are more than welcome as well to log in to experience it yourself! I might just have to do that...remove code and see what is causing it! Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted June 20, 2014 Administrators Report Share Posted June 20, 2014 Attached is what I get. It is saying that the link leads nowhere. (404 not found) Does ACARS work, or anything else that uses the action.php route? Maybe the permissions on action.php? Did the schedules.php controller file get cut off and lose the addbid function? Even just going to http://www.vdelta.org/action.php gives a 404 but should give you a frontpage with no template. I would start looking at your action.php file that should be in the root of the install. Does your host have "action" blocked as a filename? Quote Link to comment Share on other sites More sharing options...
Ariel Posted June 21, 2014 Author Report Share Posted June 21, 2014 Attached is what I get. It is saying that the link leads nowhere. (404 not found) Does ACARS work, or anything else that uses the action.php route? Maybe the permissions on action.php? Did the schedules.php controller file get cut off and lose the addbid function? Even just going to http://www.vdelta.org/action.php gives a 404 but should give you a frontpage with no template. I would start looking at your action.php file that should be in the root of the install. Does your host have "action" blocked as a filename? Hey Simpilot, No everything is where its supposed to be and all is functioning. HUGE thanks go to Ryan for helping me out with this. It was a google maps API that was interfering with JS, but all resolved now. This was a rare case of the No Route Passed error, Thank you all who helped! Quote Link to comment Share on other sites More sharing options...
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.