I need help. Getting a lot of errors. Notice: Undefined index: state in C:\xampp\htdocs\openemr\setup.php on line 14

scifi000 wrote on Thursday, June 04, 2015:

Hello. I installed XAMPP and the Apache and MySQL is running properly. I opened up http://localhost/openemr and am trying to install OpenEMR. But, I am getting a lot of errors. Please help me.
Notice: Undefined index: state in C:\xampp\htdocs\openemr\setup.php on line 14

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

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

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

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

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

Notice: Undefined index: server in C:\xampp\htdocs\openemr\library\classes\Installer.class.php on line 18

Notice: Undefined index: loginhost in C:\xampp\htdocs\openemr\library\classes\Installer.class.php on line 19

Notice: Undefined index: port in C:\xampp\htdocs\openemr\library\classes\Installer.class.php on line 20

Notice: Undefined index: root in C:\xampp\htdocs\openemr\library\classes\Installer.class.php on line 21

Notice: Undefined index: rootpass in C:\xampp\htdocs\openemr\library\classes\Installer.class.php on line 22

Notice: Undefined index: login in C:\xampp\htdocs\openemr\library\classes\Installer.class.php on line 23

visolveemr wrote on Thursday, June 04, 2015:

Hi,

Please ensure you have the correct php settings as specified here on php.ini file:
http://www.open-emr.org/wiki/index.php/FAQ#What_are_the_correct_PHP_settings_.28can_be_found_in_the_php.ini_file.29.3F

In this case, the display_errors = Off is may not set correctly.

Please restart XAMPP after changes in php.ini file.

Thanks
OpenEMR Customization/Support Team,
ViSolve Inc
services@visolve.com | Phone: 408-850-2243
Demo’s @ ViSolve Demo Library

1 Like

fsgl wrote on Thursday, June 04, 2015:

Notices are generally innocuous. Only fatal errors need remedy.

Assuming that the OS is Windows, would suggest the following:

  1. Start from scratch, delete XAMPP & install Package.
  2. Set timezone in php.ini, change these settings & start Apache & MySQL.
  3. Patch to 3 & follow other instructions in the install guide.

scifi000 wrote on Thursday, June 04, 2015:

I will try all the remedies above. But, when I try to install openEMR and let the the set up tool create data bases for me, it gives me a “Connecting to MySQL Server… OK.
Creating database… ERROR. Check your login credentials. unable to execute SQL: ‘create database openemr character set utf8 collate utf8_general_ci’ due to: Can’t create database ‘openemr’; database exists”

When I click on “I have already created the database.” It gives me a fatal error.
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\openemr\library\classes\Installer.class.php on line 445

scifi000 wrote on Thursday, June 04, 2015:

After I put in the recommended PHP.ini file, all I got was to step 3. It no longer shows any error messages but will not complete the installation. Looks like this:
OpenEMR Setup

Step 3

Configuring OpenEMR…

Connecting to MySQL Server… OK.

fsgl wrote on Thursday, June 04, 2015:

It’s way, way, way easier to install the XAMPP-OpenEMR Package vs. separate installs of XAMPP then OpenEMR.

So; stop Apache/MySQL, exit xampp control, uninstall the entire xampp folder from C-drive & follow steps 1 thru 3 from the above post.

scifi000 wrote on Friday, June 05, 2015:

Ok, I deleted and installed the XAMPP-openemr package.