Daniboi Posted February 22, 2021 Report Posted February 22, 2021 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
Administrators ProAvia Posted February 22, 2021 Administrators Report Posted February 22, 2021 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
Daniboi Posted February 22, 2021 Author Report Posted February 22, 2021 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
Administrators ProAvia Posted February 23, 2021 Administrators Report Posted February 23, 2021 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
Daniboi Posted February 23, 2021 Author Report Posted February 23, 2021 (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, 2021 by Daniboi Quote
Administrators ProAvia Posted February 23, 2021 Administrators Report Posted February 23, 2021 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
Daniboi Posted February 23, 2021 Author Report Posted February 23, 2021 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
Administrators ProAvia Posted February 24, 2021 Administrators Report Posted February 24, 2021 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
Strider Posted March 13, 2021 Report Posted March 13, 2021 Free hosting is a way for a web host to entice you to go with them. It is like a free trial of their services, they give you a taster of what they offer but restrict it. You can get very cheap hosting and domains dont cost that much especially if you choose the right one, a .org is usually cheaper then a .com 1 Quote
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.