CUAHSI / HydroServer

BSD 3-Clause "New" or "Revised" License
8 stars 4 forks source link

registering hydroserver lite #119

Open xhqiao89 opened 7 years ago

xhqiao89 commented 7 years ago

nebojsa_mijatovic[CodePlex]
Hello, I have installed the HIS server on virtual machine running windows server and the Xampp program. but when click on the following link http://cuahsi.hidmet.gov.rs/services/cuahsi_1_1.php received the error message:

Warning: require_once(./configuration/app_config.php): failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\rhmss\services\table_names.php on line 4

Fatal error: require_once(): Failed opening required './configuration/app_config.php' (include_path='.;C:\Program Files\xampp\php\PEAR;.;C:\Program Files\xampp\php\PEAR') in C:\Program Files\xampp\htdocs\rhmss\services\table_names.php on line 4

Could you please help us with this?

Thanks in advance...

Best regards, Nebojsa Mijatovic nebojsa.mijatovic@hidmet.gov.rs

xhqiao89 commented 7 years ago

nebojsa_mijatovic[CodePlex]
Hello Jiri, Thank you very much for your response. I forgot to replace two files: table_names.php and wof_read_db.php Now it is ok. Also I tested with the WaterOneFlow for PHP 2.2, on both servers test and production. and it works. Anyway thank you very much, you could close this issue. Best regards, Nebojsa

xhqiao89 commented 7 years ago

jirikadlec2[CodePlex]
Thank you for your testing of the PHP WaterOneFlow web service. We appreciate testing on as many platforms and configurations as possible.

I noticed that in your current installation on http://cuahsi.hidmet.gov.rs/services/cuahsi_1_1.php there are some notice warning messages inside the xml response that might be causing problem in HydroDesktop and HIS Central registration.

The developer team is working on finding the cause of the warnings on XAMPP.

As a temporary solution in your installation, you can edit the file \xampp\php\php.ini in your xampp installation and set the error_reporting line in php.ini to:

error_reporting = E_ALL ~E_NOTICE

Regards, Jiri Kadlec