patva1 Posted May 24, 2009 Report Share Posted May 24, 2009 Hi. When I tried to update phpVMS I got this error message: Fatal error: Call to undefined method PilotData::updateflighthours() in /home/a8930745/public_html/phpvms/install/update.php on line 165 Can anyone tell me how to fix this problem? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 24, 2009 Administrators Report Share Posted May 24, 2009 Seems like you're missing a file on upload, or a file didn't update Quote Link to comment Share on other sites More sharing options...
patva1 Posted May 24, 2009 Author Report Share Posted May 24, 2009 So will I need to reinstall the entire setup? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 24, 2009 Administrators Report Share Posted May 24, 2009 Just re upload the files. Which version? Quote Link to comment Share on other sites More sharing options...
patva1 Posted May 24, 2009 Author Report Share Posted May 24, 2009 It says I am currently running version 1.2.600 and I am trying to update to the latest. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 24, 2009 Administrators Report Share Posted May 24, 2009 I see. Just re-upload all the files, see if that fixes it Quote Link to comment Share on other sites More sharing options...
patva1 Posted May 24, 2009 Author Report Share Posted May 24, 2009 Ok, I got it updated but now on the admin panel I get the following 2 error messages: Warning: set_time_limit() has been disabled for security reasons in /home/a8930745/public_html/phpvms/core/common/ChartGraph.class.php on line 182 and Warning: imagepng() [function.imagepng]: Unable to open '/home/a8930745/public_html/phpvms//core/cache/dd4b21e9ef71e1291183a46b913ae6f2.png' for writing: Permission denied in /home/a8930745/public_html/phpvms/core/lib/pchart/pChart.class.php on line 3192 Why are these showing up? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 24, 2009 Administrators Report Share Posted May 24, 2009 Make sure the /core/cache directory is 777, ignore the warning for now, or in your local.config.php, at the top, change: Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE); to Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE ^ E_WARNING); Quote Link to comment Share on other sites More sharing options...
patva1 Posted May 24, 2009 Author Report Share Posted May 24, 2009 Ok, thanks, also I like the updates you made especially the awards system. Quote Link to comment Share on other sites More sharing options...
patva1 Posted May 24, 2009 Author Report Share Posted May 24, 2009 Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE); to Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE ^ E_WARNING); ^^ that entire thing is missing from my local.config.php so where exactly should I add it? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 24, 2009 Administrators Report Share Posted May 24, 2009 It's just this one line: Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE ^ E_WARNING); You can add it wherever, pretty sure it's in there. Do a find for "ERROR_LEVEL Quote Link to comment Share on other sites More sharing options...
patva1 Posted May 24, 2009 Author Report Share Posted May 24, 2009 It didn't fix it, but if it isn't causing any internal problems then I'm fine with it. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 24, 2009 Administrators Report Share Posted May 24, 2009 Nope, it won't cause any problems, it's just a warning 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.