error when updating

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?

Seems like you’re missing a file on upload, or a file didn’t update

So will I need to reinstall the entire setup?

Just re upload the files. Which version?

It says I am currently running version 1.2.600 and I am trying to update to the latest.

I see. Just re-upload all the files, see if that fixes it

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?

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);

Ok, thanks, also I like the updates you made especially the awards system.

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?

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

It didn’t fix it, but if it isn’t causing any internal problems then I’m fine with it.

Nope, it won’t cause any problems, it’s just a warning