ercio Posted February 3, 2016 Report Share Posted February 3, 2016 well I get this error after submit a new register. even dough with this error the pilot is registered !! I am on paid sever and using .TPL . ocean blue v2 skin , I now is a .PHP but I managed to change to .TPL Quote Link to comment Share on other sites More sharing options...
Cyris Posted April 3, 2016 Report Share Posted April 3, 2016 Same problem with Ocean Blue v2 Skin. 235 # Add it to the activity feed [b]236 ActivityData::addActivity(array([/b] 237 'pilotid' => $pilotid, 238 'type' => ACTIVITY_PROMOTION, 239 'refid' => $pilotid, 240 'message' => htmlentities($message), )); Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted January 16, 2017 Moderators Report Share Posted January 16, 2017 Sorry to bring up an old thread but my pilots are getting this error relating to this code when trying to file a PIREP manually on the site. They are getting: Fatal error: Class 'ActivityData' not found in /home/alaskair/public_html/core/common/RanksData.class.php on line 236 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 16, 2017 Administrators Report Share Posted January 16, 2017 42 minutes ago, shakamonkey88 said: Sorry to bring up an old thread but my pilots are getting this error relating to this code when trying to file a PIREP manually on the site. They are getting: Fatal error: Class 'ActivityData' not found in /home/alaskair/public_html/core/common/RanksData.class.php on line 236 What version of phpVMS are you using? In /core/common - do you have an ActivityData.class.php file? Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted January 16, 2017 Moderators Report Share Posted January 16, 2017 11 minutes ago, ProAvia said: What version of phpVMS are you using? In /core/common - do you have an ActivityData.class.php file? Yes I have the file - I'm running 2.1.936. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 17, 2017 Administrators Report Share Posted January 17, 2017 My old 2.1.936 - installed 4/2014 - doesn't have an ActivityData.class.php. My new 5.5.2 install does have that file. I didn't think 2.1.936 came with that file - but I've been wrong before. Maybe someone can verify if the ActivityData.class.php file was in version 2. I believe the error you posted is saying that the ActivityData.class.php file is not present - or maybe not in the correct path. In any case, you may want to consider upgrading the the new version 3 once it's released. That should rectify the issue. Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted January 17, 2017 Moderators Report Share Posted January 17, 2017 2 hours ago, ProAvia said: I didn't think 2.1.936 came with that file - but I've been wrong before. Maybe someone can verify if the ActivityData.class.php file was in version 2. ActivityData.class.php was added in one the beta versions of phpVMS, it wasn't in phpVMS v2.1.936 at that time. Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted January 17, 2017 Moderators Report Share Posted January 17, 2017 Ok... so could I just delete it? I only get an error when I pilot submits a manual PIREP, which submits successfully anyway. Just get the error message as above. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 17, 2017 Administrators Report Share Posted January 17, 2017 9 hours ago, Kyle said: ActivityData.class.php was added in one the beta versions of phpVMS, it wasn't in phpVMS v2.1.936 at that time. Thanks Kyle! Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 17, 2017 Administrators Report Share Posted January 17, 2017 Deleting ActivityData.class.php isn't going to alleviate the error. RanksData.class.php appears to be calling "ActivityData". So you have 2 options. Either download a new RanksData.class.php for version 2.1.x that doesn't have the call - or - comment out the entire section in your current RanksData.class.php file referencing that call. Maybe grab the complete file contents from here: https://github.com/nabeelio/phpVMS/blob/master/core/common/RanksData.class.php If you decide on the second option, post lines 230-260 so someone here can help make sure you are commenting out all of the suspect lines. In either case, make a backup of the original file. Then replace the file or contents and test it out. 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.