Jump to content

phpVMS showing errors on login (Please See Description)


anushpatel

Recommended Posts

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)
 
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...