ukmil Posted October 30, 2015 Report Posted October 30, 2015 ok, so my server was updtate to PHP 5.4 now i get Cannot re-assign auto-global variable _FILES I understand this is due to PHP 5.4, and I have read there are workarounds somewhere, but I cannot find any information on this forum on how to fix it. Does anyone have any ideas what needs changing to fix this issue Quote
flyalaska Posted October 30, 2015 Report Posted October 30, 2015 is there a file and line number that the error refers too? Quote
ukmil Posted October 30, 2015 Author Report Posted October 30, 2015 Fatal error: Cannot re-assign auto-global variable _FILES in /home1/ukmilorg/public_html/vms/core/common/PilotData.class.php on line 436 Quote
flyalaska Posted October 30, 2015 Report Posted October 30, 2015 http://forum.phpvms.net/topic/8920-sudden-problem/#entry59386 Quote
ukmil Posted October 31, 2015 Author Report Posted October 31, 2015 that seems to have got the site working but not when I approve a Pirep I get Strict Standards: Non-static method PilotData::generateSignature() should not be called statically, assuming $this from incompatible context in /home1/ukmilorg/public_html/vms/admin/modules/PIREPAdmin/PIREPAdmin.php on line 316 Quote
flyalaska Posted October 31, 2015 Report Posted October 31, 2015 Open admin/action.php Find error_reporting(E_ALL ^ E_NOTICE); Replace with ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); Quote
ukmil Posted October 31, 2015 Author Report Posted October 31, 2015 thanks, that fixed that. Now when I Bid for a flight, i get Strict Standards: Non-static method SchedulesData::setBidOnSchedule() should not be called statically in /home1/ukmilorg/public_html/vms/core/common/SchedulesData.class.php on line 853 Bid added Quote
Heritage1 Posted January 9, 2016 Report Posted January 9, 2016 Simple fix, Down grade your php version back to 5.3, phpvms doesn't like the newer versions , I've run into this many times. Lock your CGI script (php version to 5.3). Nice to have the upgrades, but my main stay on my domain is phpvms, I don't need upgrades, hope this helps you. Jim 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.