MVS105 Posted July 5, 2010 Report Share Posted July 5, 2010 First of all, I'm sorry for my poor English. But I'm sure you can understand. I am using scripts Lightbox2 Calling the scripts are in template.tpl /* This is required, so phpVMS can output the necessary libraries it needs */ echo $page_htmlhead; ?> <?php /*Any custom Javascript should be placed below this line, after the above call */ ?> <link rel="stylesheet" href="/lib/lightbox/css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="/lib/lightbox/js/prototype.js"></script> <script type="text/javascript" src="/lib/lightbox/js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="/lib/lightbox/js/lightbox.js"></script> if I put in this position (see above) shows the error "No route Passed", but lightbox work correctly. if I put them before (see code below) <link rel="stylesheet" href="/lib/lightbox/css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="/lib/lightbox/js/prototype.js"></script> <script type="text/javascript" src="/lib/lightbox/js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="/lib/lightbox/js/lightbox.js"></script> <?php /* This is required, so phpVMS can output the necessary libraries it needs */ echo $page_htmlhead; ?> <?php /*Any custom Javascript should be placed below this line, after the above call */ ?> No error appears but lightbox does not work. Of course, the error appears when I go to book flight (addbid) Report: install/checkinstall.php phpVMS Virtual Airline Administration Software Install Check phpVMS Build Number: 934 Checking PHP version [OK] PHP version is 5.2.13.x ASP Tags [OK] ASP-style tags are disabled Checking connectivity... [OK] Can contact outside servers Checking for SimpleXML module... [OK] SimpleXML module exists! Checking file hashes for corrupt or mismatched files [OK] No errors found! -- Checked 183 files, found 0 errors Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 5, 2010 Report Share Posted July 5, 2010 I just recently updated to the latest yesterday. Everyone on my server is getting the same error "Route Not Passed". Not sure what's going on here. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted July 6, 2010 Administrators Report Share Posted July 6, 2010 You need to use a lightbox which is compatible with jQuery. You're using prototype which conflicts with that, and will cause errors. By placing it below, you're overriding jquery, which is breaking the site. So I'd find a lightbox which can be used with jquery (there are quite a few, colorbox, etc), and place those includes where it says to in the file Quote Link to comment Share on other sites More sharing options...
MVS105 Posted July 7, 2010 Author Report Share Posted July 7, 2010 You need to use a lightbox which is compatible with jQuery. You're using prototype which conflicts with that, and will cause errors. By placing it below, you're overriding jquery, which is breaking the site. So I'd find a lightbox which can be used with jquery (there are quite a few, colorbox, etc), and place those includes where it says to in the file Thank you very much for your answer 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.