Error Undefined index: state in installation

dharashah wrote on Saturday, February 04, 2012:

I just downloaded openemr 4.1.0.
While installing Open EMR, i am getting error
Notice: Undefined index: state in C:\….\openemr\setup.php on line 13
on http://localhost/openemr/setup.php

If I press Continue on first Page, I get a list of several errors like
Notice: Undefined index: iuser in C:\…\OpenEMR\library\classes\Installer.class.php on line 13

Notice: Undefined index: iuserpass in C:\…\OpenEMR\library\classes\Installer.class.php on line 14

Notice: Undefined index: iuname in C:\…\OpenEMR\library\classes\Installer.class.php on line 15

Notice: Undefined index: igroup in C:\…\OpenEMR\library\classes\Installer.class.php on line 16

Notice: Undefined index: server in C:\…\OpenEMR\library\classes\Installer.class.php on line 17

Notice: Undefined index: loginhost in C:\…\OpenEMR\library\classes\Installer.class.php on line 18

Notice: Undefined index: port in C:\…\OpenEMR\library\classes\Installer.class.php on line 19

Notice: Undefined index: root in C:\…\OpenEMR\library\classes\Installer.class.php on line 20

Notice: Undefined index: rootpass in C:\…\OpenEMR\library\classes\Installer.class.php on line 21

Notice: Undefined index: login in C:\…\OpenEMR\library\classes\Installer.class.php on line 22

Notice: Undefined index: pass in C:\…\OpenEMR\library\classes\Installer.class.php on line 23

Notice: Undefined index: dbname in C:\…\OpenEMR\library\classes\Installer.class.php on line 24

Notice: Undefined index: collate in C:\…\OpenEMR\library\classes\Installer.class.php on line 25

Notice: Undefined index: source_site_id in C:\…\OpenEMR\library\classes\Installer.class.php on line 27

Notice: Undefined index: clone_database in C:\…\OpenEMR\library\classes\Installer.class.php on line 28

Notice: Undefined index: development_translations in C:\…\OpenEMR\library\classes\Installer.class.php on line 29

Please help me how to remove these errors

bradymiller wrote on Saturday, February 04, 2012:

Hi,

Ensure you have correct php configuration:
http://open-emr.org/wiki/index.php/FAQ#What_are_the_correct_PHP_settings_.28can_be_found_in_the_php.ini_file.29_.3F

If still having problems, helpful for us to know your operating system and which OpenEMR package you installed.

-brady

dharashah wrote on Wednesday, February 08, 2012:

Hi Brady,
   Thanks for the reply.
  
   I have checked the PHP Configuration.
   It seems correct. All Configuration required is already done.

   I am using Windows 7 (32 bit) OS and have downloaded OpenEMR 4.1.0
  
   I am still facing the same error.
 
Regards,
Dhara Shah

bradymiller wrote on Wednesday, February 08, 2012:

Hi,
Make sure you restart the apache server. If your php configuration is correct (same settings as above wiki link) then all those benign warnings should end up in your php log and not on your screen.
-brady

dharashah wrote on Thursday, February 09, 2012:

Thanks a lot brady.
It is working!!

I had previously tried to ignore the list of errors on the screen and continue with the installation.
But somehow it didnt work

I had kept Display_Errors = On as mine is a developer machine.
It seems that turning it off did the trick.