anushpatel Posted August 1, 2017 Report Posted August 1, 2017 Hi , I recently attempted to install phpVMS on one.com hosting , It uses php 5.6 , I have installed phpvms numerous times on this version hassle free but now the install on my latest install is showing Warning: Creating default object from empty value in /customers/b/8/9/british-airways-vam.com/httpd.www/pilots/core/classes/Vars.class.php on line 74 and Warning: Cannot modify header information - headers already sent by (output started at /customers/b/8/9/british-airways-vam.com/httpd.www/pilots/core/classes/Vars.class.php:74) in /customers/b/8/9/british-airways-vam.com/httpd.www/pilots/core/modules/Login/Login.php on line 154 I don't know what to do.. Please could I get help.] The install is at pilots.british-airways-vam.com (The Client wanted VAM a while back but I convinced him to use phpVMS) Quote
Administrators Nabeel Posted August 1, 2017 Administrators Report Posted August 1, 2017 Have you made any changes or is this a new install? You can try this branch: https://github.com/nabeelio/phpvms_v2, download from there Quote
t_bergman Posted August 1, 2017 Report Posted August 1, 2017 Could also be a permissions issue if the files cannot be modified. Quote
anushpatel Posted August 1, 2017 Author Report Posted August 1, 2017 4 hours ago, Nabeel said: Have you made any changes or is this a new install? You can try this branch: https://github.com/nabeelio/phpvms_v2, download from there I have used that branch , I modified CodonModule.class.php and just after php opening tag I added: (Strict standards errors) ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); and done this. change core/common/PilotData.class.php on line 436 from:public static function saveAvatar($code, $pilotid, $_FILES) { to:public static function saveAvatar($code, $pilotid) { 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.