The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Change Username login - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: General (https://userspice.com/forums/forumdisplay.php?fid=20) +--- Forum: New to UserSpice? (https://userspice.com/forums/forumdisplay.php?fid=22) +--- Thread: Change Username login (/showthread.php?tid=323) |
Change Username login - rdlook04 - 11-14-2016 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 ? Change Username login - rdlook04 - 11-14-2016 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 " Change Username login - mudmin - 11-14-2016 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', ) ); |