meeting-room-booking-system / mrbs-code

MRBS application code
Other
127 stars 62 forks source link

mrbs is installed, tables are created, but program doesn't run #1177

Open jberanek opened 10 years ago

jberanek commented 10 years ago

Hello, I installed the program, I created the tables in my sql-Database, I changed the settings in the config.inc.php to: $dbsys = "mysql"; $db_host = "rdbms.strato.de"; $db_database = "DB1440511"; $db_login = "U1440511"; $db_password = '(my Database-Password)'; $db_tblprefix = "mrbs"; // Uncomment this to NOT use PHP persistent (pooled) database connections: // $db_nopersist = 1; I uploaded the web-directory to http://www.kg-lira.de/intern/mrbs/web/

But when I am going to http://www.kg-lira.de/intern/mrbs/web/ or

http://www.kg-lira.de/intern/mrbs/web/index.php or http://www.kg-lira.de/intern/mrbs/web/ or http://www.kg-lira.de/intern/mrbs/web/testdata.php I always receive a blank page.

What is the reason? Please, help me! best reguards Rainer

Reported by: *anonymous

Original Ticket: mrbs/support-requests/441

jberanek commented 10 years ago

I suspect you've accidentally made a typing error when editing the config file. Try editing it again and re-uploading.

Campbell

Original comment by: campbell-m

jberanek commented 10 years ago

I think, no. I just looked to every word, to the ; at the end of every line, at the " by the name of the database and so on, at the ' by the password-line, no I couldn't found there anything. But: I have only one database. There are the table from mrbs and other tables from phplist Is that the reason? b.r. Rainer

Original comment by: *anonymous

jberanek commented 10 years ago

I'd take a look in your web server error logs for any PHP errors.

Original comment by: jberanek

jberanek commented 10 years ago

And what is the reason? Is there a mistake in a Table auf the database?

Original comment by: *anonymous

jberanek commented 10 years ago

Try uploading the standard config file without any changes. You should at least get some kind of error message. Then change the variables one by one.

Campbell

Original comment by: campbell-m

jberanek commented 10 years ago

To clarify my statement, I was asking for the error logs because no one can tell for sure what the error is without reading the error logs.

Original comment by: jberanek

jberanek commented 10 years ago

For me i found a Solution. The .htaccess file in the Webfolder was the Problems Base. Erase or modify the htaccess and it must be done.

Sash

Original comment by: *anonymous

jberanek commented 10 years ago

I keep getting this.

Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2002): Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2) in /homepages/43/d464420908/htdocs/mrbs/mysqli.inc on line 529

Fatal error: failed to connect to database : Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2)

help

Original comment by: *anonymous

jberanek commented 10 years ago

You could try using

$db_host = "127.0.0.1";

instead of

$db_host = "localhost";

Campbell

Original comment by: campbell-m

jberanek commented 10 years ago

campbell, can you help me get this working? I can give you my email to discuss.

cd

Original comment by: *anonymous

jberanek commented 10 years ago

Here is what i am getting now. I changed the config.inc.php file as suggested.

Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2002): Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2) in /homepages/43/d464420908/htdocs/mrbs/mysqli.inc on line 529

Fatal error: failed to connect to database : Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2)

Original comment by: *anonymous

jberanek commented 10 years ago

Can anyone help me get this working. Please.

Original comment by: *anonymous

jberanek commented 10 years ago

Is the MySQL server running? Is phpMyAdmin working?

Original comment by: campbell-m

jberanek commented 10 years ago

You absolutely must have an error in your config, because although you defined:

$dbsys = "mysql";
$db_host = "rdbms.strato.de";

the error is from the mysqli DB code, and it is trying to connect to the local MySQL server, not the one defined by $db_host.

Original comment by: jberanek