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
/printthread.php 16 require_once



UserSpice
error while updating to 4.3 - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: error while updating to 4.3 (/showthread.php?tid=882)



error while updating to 4.3 - mroeterdink - 12-10-2017

When I run the update.php script I get the followinn error on my screen:

Fatal error: Uncaught Error: Class 'Cookie' not found in D:\xampp\htdocs\Stamboom\users\init.php:79 Stack trace: #0 D:\xampp\htdocs\Stamboom\users\update.php(2): require_once() #1 {main} thrown in D:\xampp\htdocs\Stamboom\users\init.php on line 79

I have tried it three time with no luck. Has anybody an idea wat is going wrong?

Michael.


error while updating to 4.3 - Brandin - 12-11-2017

Can you paste your init without your DB creds on hastebin please?


error while updating to 4.3 - mroeterdink - 12-12-2017

I hope I did what you asked for:

https://hastebin.com/exupemufug.xml


error while updating to 4.3 - Brandin - 12-12-2017

Looks like you're missing the autoloader init edit...

In Line 2:
Code:
require_once 'classes/class.autoloader.php';



error while updating to 4.3 - mroeterdink - 12-18-2017

Sorry that it took almost a week to try but this fixed the problem. Thanks!