Timeout error during installation

unclebobo wrote on Saturday, December 08, 2007:

Where might I increase the time from 60 seconds to remedy this error?:

Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\openemr\setup.php on line 259

I don’t see anything that resembles a time variable in the setup.php on line 259.

sunsetsystems wrote on Saturday, December 08, 2007:

Look for a file called php.ini somewhere in your xampp configuration.  It will be in there.

Rod
www.sunsetsystems.com

unclebobo wrote on Sunday, December 09, 2007:

Thanks Rod.
That took care of that issue and brought up another:

Fatal error: Cannot redeclare sqlconnect() (previously declared in C:\xampp\htdocs\openemr\library\sql.inc:24) in C:\Xampp\htdocs\openemr\library\sql.inc on line 24

I’ve made sure all is up and running and setup does see the SQL server. Is there a list of the latest error codes and/or troubleshooting proceedures available for d/l somewhere?

I’m no programmer so all this is a learning experience for me.

Thanks for all your help.
Brad

sunsetsystems wrote on Sunday, December 09, 2007:

That’s a rather odd error, as it indicates sql.inc was included twice – whereas the pervasive use of include_once and require_once should be preventing that.  Not to mention that I did do an install under Win XP with XAMPP recently and did not see that error.

What actions cause it to occur?

Rod
www.sunsetsystems.com

unclebobo wrote on Sunday, December 09, 2007:

In order:
on Win 2003R2 Enterprise
installed latest Xampp successfully
switched to php4
changed timeout in php.ini to 120 seconds
went through OEMR setup successfully
clicked link to start OEMR
get banner page with this error:

Fatal error: Cannot redeclare sqlconnect() (previously declared in C:\xampp\htdocs\openemr\library\sql.inc:24) in C:\Xampp\htdocs\openemr\library\sql.inc on line 24

Head hurts

sunsetsystems wrote on Sunday, December 09, 2007:

Try php5 instead.  That’s what I used.  Reports are that it fixed some Windows bugginess related to the *_once functions.

Rod
www.sunsetsystems.com

unclebobo wrote on Sunday, December 09, 2007:

Reinstalled XAMPP 1.6.4
completed OEMR successfully using PHP 5
Now receiving these errors when I "click here to start OEMR".:

Warning: include_once(C: mpp\htdocs\openemr/library/classes/Filtreatment_class.php) [function.include-once]: failed to open stream: Invalid argument in C:\Program Files\xampp\htdocs\openemr\interface\login\login_frame.php on line 4

Warning: include_once() [function.include]: Failed opening ‘C: mpp\htdocs\openemr/library/classes/Filtreatment_class.php’ for inclusion (include_path=’.;C:\Program Files\xampp\php\pear’) in C:\Program Files\xampp\htdocs\openemr\interface\login\login_frame.php on line 4

Fatal error: Class ‘Filtreatment’ not found in C:\Program Files\xampp\htdocs\openemr\interface\login\login_frame.php on line 12

I also noticed that SQL service would be killed AFTER trying to start OEMR.

Brad

sunsetsystems wrote on Sunday, December 09, 2007:

Looks like you have a typo in the $webserver_root parameter of globals.php.  Backslashes in strings need to be doubled, but it’s easier to use forward slashes, like this:

$webserver_root = "c:/xampp/htdocs/openemr";

By the way you didn’t need to reinstall everything – just switching back to php5 should have been enough.  :slight_smile:

Rod
www.sunsetsystems.com

andres_paglayan wrote on Monday, December 10, 2007:

just a guess,
seems that the include_once is being fooled by the capital at Xamp for one include and the lowercase for the other,
so, find out what you have in the conf files and make it consistent with the presence or absence of caps under your real path,