Jump to content

Same old "No route passed", but JQuery noConflict does not help


Kishshey

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Moderators

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.

  • Like 1
Link to comment
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...