The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database connection unsuccessful
#1
Hey there,

I just wanted to try out UserSpice and hit this error on Page3:

Database connection unsuccessful! Please try again.

Even though my host, username, password, database is correct. I've tried a couple now.


I checked the nginx error logs and found this:

2016/06/09 16:44:28 [error] 74248#0: *55 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected end of file, expecting ')' in /usr/local/www/int.drf/users/init.php on line 26" while reading response header from upstream, client: 121.121.107.13, server: xxxx.xxxx.com, request: "GET /install/install/js/vendor/modernizr-2.8.3-respond-1.4.2.min.js HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "xxxx.xxxx.com", referrer: "https://xxxx.xxxx.com/install/step3.php"


Init.php ends like that:

// Set config
$GLOBALS['config'] = array(
'mysql' => array(

---- it looks like something went missing?


Any ideas..?


Edit: Oh I tried to download the zip file off the main page twice, I still get an what it looks like an incomplete init.php..

Thanks.
  Reply


Messages In This Thread
Database connection unsuccessful - by ppp - 06-09-2016, 06:48 AM
Database connection unsuccessful - by mudmin - 06-09-2016, 12:13 PM
Database connection unsuccessful - by brian - 06-09-2016, 12:35 PM
Database connection unsuccessful - by BrownBro - 11-15-2016, 07:49 AM
Database connection unsuccessful - by BrownBro - 11-15-2016, 08:45 AM
Database connection unsuccessful - by mudmin - 11-15-2016, 03:42 PM
Database connection unsuccessful - by cjm1000 - 01-23-2017, 07:31 AM
Database connection unsuccessful - by mudmin - 01-26-2017, 03:47 AM
Database connection unsuccessful - by cjm1000 - 02-28-2017, 09:00 AM
Database connection unsuccessful - by mudmin - 02-28-2017, 01:37 PM
Database connection unsuccessful - by cjm1000 - 02-28-2017, 07:37 PM
Database connection unsuccessful - by mudmin - 02-28-2017, 09:16 PM
Database connection unsuccessful - by raven - 02-28-2017, 11:29 PM
Database connection unsuccessful - by cjm1000 - 03-01-2017, 03:46 AM
Database connection unsuccessful - by mudmin - 03-01-2017, 04:10 AM
Database connection unsuccessful - by cjm1000 - 03-01-2017, 07:05 AM
Database connection unsuccessful - by mudmin - 03-01-2017, 01:06 PM
Database connection unsuccessful - by mudmin - 03-01-2017, 01:07 PM
Database connection unsuccessful - by raven - 03-01-2017, 01:20 PM
Database connection unsuccessful - by cjm1000 - 03-01-2017, 08:01 PM
Database connection unsuccessful - by raven - 03-01-2017, 08:59 PM
Database connection unsuccessful - by raven - 03-01-2017, 09:01 PM
Database connection unsuccessful - by mudmin - 03-02-2017, 02:36 AM
Database connection unsuccessful - by cjm1000 - 03-03-2017, 09:48 AM
Database connection unsuccessful - by mudmin - 03-03-2017, 02:09 PM
Database connection unsuccessful - by cjm1000 - 03-04-2017, 02:07 AM
Database connection unsuccessful - by mudmin - 03-04-2017, 02:11 AM
Database connection unsuccessful - by cjm1000 - 03-04-2017, 09:28 PM
Database connection unsuccessful - by raven - 03-05-2017, 04:03 AM
Database connection unsuccessful - by mudmin - 03-05-2017, 01:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)