The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
#25
Ok. Something is weird. TimeZone is being set on line 85 of the init.phpm not 64. See if your init.php looks like this or if you're missing a big chunk of it. Compare yours with the one I posted in the hastebin file above. If everything's good there...

Your server must be configured differently than pretty much any one I've come across. Here are some steps for you...

Open your server's php.ini and make sure there's not a semicolon (Winkphp ti in front of the date.timezone.
Code:
;date.timezone=Europe/Berlin

Go ahead and set your timezone in there while you're at it. Here are a list of the php timezones-click on your area to displa them.
http://php.net/manual/en/timezones.php

You can also try putting this (with your timezone) at the top of the init.php on line 3.
ini_alter('date.timezone','Asia/Calcutta');



  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: 3 Guest(s)