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
Change Username login
#31
i just try , and get this Fatal error: Class 'Config' not found in C:\xampp1\htdocs\userspice2\models\DB.php on line 27..

is because the pdo ?
  Reply
#32
my bad. db doesnt include config.php. all ready did it. but the text change to "Notice: Trying to get property of non-object in "
  Reply
#33
Sorry...I tried that on my system and I think it may have worked because I was already attached to the database.

You might have to go in your config.php and setup your globals manually... try adding this to config.php (with your credentials).

$GLOBALS['config'] = array(
'mysql' => array('host' => 'YOUR_HOST',
'username' => 'YOUR_DB_USERNAME',
'password' => 'YOUR_DB_PW',
'db' => 'YOUR_DB_NAME',
),
'remember' => array(
'cookie_name' => 'pmqesoxiw318374csb',
'cookie_expiry' => 604800 //One week, feel free to make it longer
),
'session' => array(
'session_name' => 'user',
'token_name' => 'token',
)
);
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)