Daniboi 0 Posted February 22 Report Share Posted February 22 Hello, When I Click on Bid flight, 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 /home/vol8_3/epizy********/norwegianairvirtualcc.rf.gd/htdocs/core/classes/MainController.class.php on line 218. Thanks: Quote Link to post Share on other sites
Administrators ProAvia 96 Posted February 22 Administrators Report Share Posted February 22 Revert to default skin and try again. Does it work or do you get the same error? phpVMS version? PHP version? MySQL or MariaDB version? What skin are you using? Quote Link to post Share on other sites
Daniboi 0 Posted February 22 Author Report Share Posted February 22 I Get the same errors with the Default skin. Phpvms version is 5.5.x Php version is 5.6 The Mysql version is not stated. I am mainly using Elaskin as my skin Quote Link to post Share on other sites
Administrators ProAvia 96 Posted February 23 Administrators Report Share Posted February 23 Suggest you contact your hosting company and ask them what MySQL or MariaDB version you are using. Are you using paid or free hosting? The Warning is basically saying that the Schedules module does have the method "viewaction.php". No idea how or why you are calling that. The default Schedules files do not contain that method. There is a "view" call - but no "viewaction.php". Are you attempting to display schedule search results? 1 Quote Link to post Share on other sites
Daniboi 0 Posted February 23 Author Report Share Posted February 23 (edited) I am attempting to add a bid from schedules view. I am using Free hosting I will contact and hear. What file is the view call in? Edited February 23 by Daniboi Quote Link to post Share on other sites
Administrators ProAvia 96 Posted February 23 Administrators Report Share Posted February 23 Free hosting always causes issues. Free hosts limit access to certain required items. If you are serious about your VA, get paid hosting. If you are just setting up your VA for testing, use WAMP or XXAMP running on a local machine. Look in /core/common/SchedulesData.class.php and /core/modules/Schedules/Schedules.php. one of those files should have a "view" function in it. 1 Quote Link to post Share on other sites
Daniboi 0 Posted February 23 Author Report Share Posted February 23 Okay, Thank you! I don’t have, or want to spend money for now on hosting, but why does free hosting has some limitations? Quote Link to post Share on other sites
Administrators ProAvia 96 Posted February 24 Administrators Report Share Posted February 24 Free hosting puts limits on required PHP functions and other stuff. It's free for a reason - very basic function. If you are serious about running a VA and want to attract quality pilots and staff, free hosting isn't going to get you there. If you don't want to spend the money, think about joining one of the many quality VA's already established. 1 Quote Link to post Share on other sites
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.