uHotelBooking install connection error

uHotelBooking
Talk and help info about common issues

Moderators: ne_moj, zewa

paragate
Master
Master
Posts: 151
Joined: Nov 13th, '14, 13:04
Location: Denmark, Odense

uHotelBooking install connection error

Postby paragate » Jun 2nd, '17, 07:05

hi
I can not install uhotelbooking.
Have just tried to iinstall uHotelBooking v. 2.5.9 how come i get an database connection error

Code: Select all

comming from functions.database.mysqli.inc.php  line   20 on           array('System Fatal Error', 'Database connection', (SITE_MODE == 'development') ? 'Reporting details:<br>'.mysqli_connect_error() : 'Please check your database connection parameters!'),

i write uhotel.dev/install.php "uhotel.dev is equal to localhost"
Regards

administrator
Site Admin
Site Admin
Posts: 5939
Joined: Jan 7th, '09, 23:18
Contact:

Re: uHotelBooking install connection error

Postby administrator » Jun 2nd, '17, 11:28

Turn SITE_MODE into 'development' and see description of the error.

paragate
Master
Master
Posts: 151
Joined: Nov 13th, '14, 13:04
Location: Denmark, Odense

Re: uHotelBooking install connection error

Postby paragate » Jun 2nd, '17, 11:45

first of all to try to install uhotelbooking i have to manually go into include dir
and remove base.inc.php
then i can install db with PDO when i try to start uhotelbooking site i
got this error
Database connection error! This application is currently experiencing some database difficulties. Please check back again late
For more information turn on debug mode in your application
where i have defined PDO instead of MySQLi when using mysql nothing happens
define('DB_TYPE', 'PDO'); /* possible values: PDO, MySQLi */
debug is development...

paragate
Master
Master
Posts: 151
Joined: Nov 13th, '14, 13:04
Location: Denmark, Odense

Re: uHotelBooking install connection error

Postby paragate » Jun 3rd, '17, 05:27

Maybe you can activate the download link again, then i can try install again'
if no other have the same problem?

administrator
Site Admin
Site Admin
Posts: 5939
Joined: Jan 7th, '09, 23:18
Contact:

Re: uHotelBooking install connection error

Postby administrator » Jun 4th, '17, 13:39

Open protected/config/ folder and remove all files from there. Then try again.


Return to “uHotelBooking {ALL}”