MyBB Community Forums

Full Version: FETAL ERROR while upgrade
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi all , I tried upgrade the board from 1.2.14 to 1.4.1

now it's error as below

Fatal error: Cannot redeclare is_super_admin() (previously declared in E:\websites\*** something ***\inc\functions.php:5021) in E:\websites\*** something ***\admin\adminfunctions.php on line 2383

Please help
Im getting the same problem...

Problem thread
MyBB 1.4 doesn't have an /admin/adminfunctions.php file, so there shouldn't be anything trying to load it. Can you try renaming it to something else, like adminfunctions1.php? You'll probably get a different error message, but at least it will say what's trying to load adminfunctions.php.
After Renamed the file you specified .

Error is below .....



Warning: require_once(E:\websites\yes-hosting\camryfamily\board.camryfamily.com\web/admin/adminfunctions.php) [function.require-once]: failed to open stream: No such file or directory in E:\websites\*** somewhere ***\web\install\upgrade.php on line 41

Fatal error: require_once() [function.require]: Failed opening required 'E:\websites\*** somewhere ***\web/admin/adminfunctions.php' (include_path='.;c:\php\PEAR') in E:\websites\*** somewhere ***\web\install\upgrade.php on line 41
Are you sure you uploaded the install directory from MyBB 1.4? It looks like you're using the MyBB 1.2 version of upgrade.php.