Kishshey Posted November 5, 2015 Report Share Posted November 5, 2015 I have the "same old" No route passed error. However noConflict is not helping this time. I am using PHPVMS 5.5.2. I can confirm that default skin works fine. I also tried removing ALL javascripts from my theme(leaving only the default comes with phpvms 5.5.2). Still no luck. However, I noticed when I add the JQuery noConflict line on the theme, I get this error Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'viewaction.php' in xxxyyy/core/classes/MainController.class.php on line 218 Thanks, Kishshey Quote Link to comment Share on other sites More sharing options...
web541 Posted November 5, 2015 Report Share Posted November 5, 2015 Has the skin got the <?php echo $page_htmlhead; ?> In the head of layout.tpl? Is there any javascript or jquery libraries referenced at the top of any of the skin templates (not layout.tpl)? Quote Link to comment Share on other sites More sharing options...
Kishshey Posted November 5, 2015 Author Report Share Posted November 5, 2015 yes, it is, and the header file has not been touched at all. Just the way it came Quote Link to comment Share on other sites More sharing options...
web541 Posted November 5, 2015 Report Share Posted November 5, 2015 For a temporary solution, you are really not supposed to do this because it will cause issues in the future, Before your javascript in your head of layout.tpl put this <?php echo $page_htmlhead; ?> And just before your </head> tag, place it again and hopefully someone else can come up with a more permanent solution - if you go to the errors tab in firebug, what errors do you get? Have you checked on the forums, there seems to be a lot of posts about this? Quote Link to comment Share on other sites More sharing options...
Kishshey Posted November 6, 2015 Author Report Share Posted November 6, 2015 I see the following on the errors page TypeError: $.components is undefined var options = $.components.getDefaults("animsition"); animsition.js (line 48, col 9) TypeError: a.Ak is undefined ...(){_.rc(["util","stats"],function(a,{a.Ak.Dh();a.j();d&&b.Vc.j({ev:"api_alread... js?sensor=true (line 115, col 1088) Thanks Quote Link to comment Share on other sites More sharing options...
web541 Posted November 6, 2015 Report Share Posted November 6, 2015 By the looks of things, there is a few problems with your animsition.js file. Try removing it from the skin and see if there are any more errors. Quote Link to comment Share on other sites More sharing options...
Kishshey Posted November 6, 2015 Author Report Share Posted November 6, 2015 Returns with this error again Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'viewaction.php' in xxxyyy/core/classes/MainController.class.php on line 218 Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted November 12, 2015 Moderators Report Share Posted November 12, 2015 Create a PHP file and name it whatever you want then inside add the following: <Table> <thead><tr><th colspan="2">Confirmed!</th></tr></thead> <tr> <td align="center">Your flight has been booked succecfully!</td> <td align="center"> <a href="<?php echo url('/profile'); ?>"><input class="button alt" type="submit" name="submit" value="Go To Pilot Center" /> <a href="<?php echo url('/schedules/bids'); ?>"><input class="button alt" type="submit" name="submit" value="Remove Bid" /> </td> </tr> </table> Then open modules/schedules and go to addbid function line 172 and alter it to the following: if ($ret == true) { $this->show('yourfilename.php'); } else { echo 'Already in bids!'; } This will reroute you to a page where you can choose to remove the bid or go to pilot center. This is a temporary solution that requires no jquery call. 1 Quote Link to comment Share on other sites More sharing options...
Kishshey Posted November 14, 2015 Author Report Share Posted November 14, 2015 Awesome, I'll give this a try tonight. Thank you for helping, as always 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.