Jump to content

Schedules Page missing skin


flynryan692

Recommended Posts

Yeah I know, I didn't edit any of the schedules things, it was working fine with index.php/schedules/view until I switched the skin then it started going to action.php

I'll try to re-up the schedule .tpl's

EDIT: You know, for my new skin I had to add in a bunch of javascript files to the htmlhead.tpl thing, is the AJAX caller in there and perhaps I messed it up..or my javascript files are knocking it out of wack?

EDIT2: Re-uploading the .tpl's did not work..

Link to comment
Share on other sites

  • Administrators

If you check the firefox error console, it's probably going to action.php since there's a Javascript error. Otherwise, it should just reload it right in the div there.

It's most likely a Javascript error. That error console should give you some clues

Link to comment
Share on other sites

You are correct, here is what I got:

$("#form, .ajaxform").ajaxForm is not a function
http://www.flysnapjet.com/lib/js/phpvms.js

$("a[rel=group]").fancybox is not a function
http://www.flysnapjet.com/lib/skins/sja/js/sja.js

Since I am not using fancybox anymore I removed it and I am still getting the same error..

Thanks for the help.

EDIT: For some reason, I removed both things with fancybox in it in the file, but when I click the link to the sja.js file firefox still shows both of them. I reuploaded the file and when I open it in cpanel its gone and when I open it in dreamweaver its gone. Some how it is still showing up?

Link to comment
Share on other sites

  • Administrators

Means there's still some script error. You can try installing the firebug plugin for firefox, enabled it when load that schedules page and try using the search. You'll see some errors popping up there too.

What's the link to your page?

Link to comment
Share on other sites

  • Administrators

I see all these in your header:

<script type="text/javascript" src="[url="view-source:http://www.flysnapjet.com/lib/skins/sja/js/jquery-1.4.2.js"]http://www.flysnapjet.com/lib/skins/sja/js/jquery-1.4.2.js[/url]"></script>
<script src="[url="view-source:http://www.flysnapjet.com/lib/skins/sja/js/jqFancyTransitions.1.7.js"]http://www.flysnapjet.com/lib/skins/sja/js/jqFancyTransitions.1.7.js[/url]" type="text/javascript"></script> 
<script type="text/javascript" src="[url="view-source:http://www.flysnapjet.com/lib/skins/sja/js/sja.js"]http://www.flysnapjet.com/lib/skins/sja/js/sja.js[/url]"></script>
<script type="text/javascript" src="[url="view-source:http://www.flysnapjet.com/lib/skins/sja/js/hoverIntent.js"]http://www.flysnapjet.com/lib/skins/sja/js/hoverIntent.js[/url]"></script>
<script type="text/javascript" src="[url="view-source:http://www.flysnapjet.com/lib/skins/sja/js/superfish.js"]http://www.flysnapjet.com/lib/skins/sja/js/superfish.js[/url]"></script>

That first line can be taken out since jquery is already included. I'm seeing these errors on the index.php/schedules page:

missing ( before formal parameters
http://www.flysnapjet.com/lib/skins/sja/js/sja.js
Line 57

$("#form, .ajaxform").ajaxForm is not a function
http://www.flysnapjet.com/lib/js/phpvms.js
Line 31

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...