Jump to content

Recommended Posts

Posted

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?

Posted

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?

  • Administrators
Posted

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

Posted

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?

  • Administrators
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...