flynryan692 Posted June 5, 2010 Report Share Posted June 5, 2010 When I search a schedule on the schedules the page goes to action.php/schedules/view and it is missing the skin..it is just a white page with the flight information and it is the only page that I have found that does this...this happened after I put in a new skin...any ideas? Thnx Quote Link to comment Share on other sites More sharing options...
Matthew Talbot Posted June 5, 2010 Report Share Posted June 5, 2010 Download PHPVMS again and open the folder and put all the schedule .tpl things on again, all Optimize the Tables Hope it works, I will have a look around for you Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 5, 2010 Administrators Report Share Posted June 5, 2010 Going to action.php will be without the skin, since it's the AJAX caller. Use index.php/schedules/view Quote Link to comment Share on other sites More sharing options...
flynryan692 Posted June 5, 2010 Author Report Share Posted June 5, 2010 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.. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 6, 2010 Administrators Report Share Posted June 6, 2010 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 Quote Link to comment Share on other sites More sharing options...
flynryan692 Posted June 6, 2010 Author Report Share Posted June 6, 2010 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? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 6, 2010 Administrators Report Share Posted June 6, 2010 Try freshing your cache maybe? Maybe you removed it in the wrong place by accident? Quote Link to comment Share on other sites More sharing options...
flynryan692 Posted June 6, 2010 Author Report Share Posted June 6, 2010 Still nothing.. The fancy box is is gone, but the page is still going to action.php Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 6, 2010 Administrators Report Share Posted June 6, 2010 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? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 6, 2010 Administrators Report Share Posted June 6, 2010 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 Quote Link to comment Share on other sites More sharing options...
flynryan692 Posted June 6, 2010 Author Report Share Posted June 6, 2010 Seems to be working now that I took out the jQuery. Thank you Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 6, 2010 Administrators Report Share Posted June 6, 2010 Cool, np 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.