Menu

Installer.class.php is missing its initial public variables

Developers
2015-04-23
2015-04-27
  • Barry R. Dick

    Barry R. Dick - 2015-04-23

    openemr/library/classes/Installer.class.php

    Is missing its classes initial public vars

    public $iuser = NULL;
    public $iuserpass = NULL;
    public $iuname = NULL;
    public $iufname = NULL;
    public $igroup = NULL;
    public $server = NULL;
    public $loginhost = NULL;
    public $port = NULL;
    public $root = NULL;
    public $rootpass = NULL;
    public $pass = NULL;
    public $dbname = NULL;
    public $collate = NULL;
    public $site = NULL;
    public $source_site_id = NULL;
    public $clone_database = NULL;
    public $no_root_db_access = NULL;
    public $development_translations = NULL;
    public $ippf_specific = NULL;
    public $conffile = NULL;
    
     
  • Brady Miller

    Brady Miller - 2015-04-26

    Hi Barry,

    Always good to see improvements on that script. Does this prevent errors or warnings? If so, best to place this on git/github for review/testing.

    thanks,
    -brady
    OpenEMR

     
  • Barry R. Dick

    Barry R. Dick - 2015-04-27

    I thought that at first that it would solve it. But I tried it again and they are Notices.

    Notice: Undefined index: iuser in C:\Apache24\htdocs\openemr\library\classes\Installer.class.php on line 14

    Notice: Undefined index: iuserpass in C:\Apache24\htdocs\openemr\library\classes\Installer.class.php on line 15

    Notice: Undefined index: iuname in C:\Apache24\htdocs\openemr\library\classes\Installer.class.php on line 16

    Notice: Undefined index: iufname in C:\Apache24\htdocs\openemr\library\classes\Installer.class.php on line 17

    But it doesn't solve it after all.

     

Log in to post a comment.