View Full Version : 4.2.2 PL1 to PL2 Error
Black Snow
12-04-2014, 11:15 AM
I have just upgraded the forum from 4.2.2 PL1 to PL2 and now I can't get the forum to work.
I get this error on every page in the admincp:
Warning: require_once(/XXX/forum/includes/adminfunctions_template.php): failed to open stream: No such file or directory in /XXX/forum/admincp/plugin.php on line 29 Fatal error: require_once(): Failed opening required '/XXX/forum/includes/adminfunctions_template.php' (include_path='.:') in /XXX/forum/admincp/plugin.php on line 29
I have disabled the plugins via config.php using this:
define("DISABLE_HOOKS", 1);
But it still won't let me in.
Any ideas?
Do you have a file named includes/adminfunctions_template.php on your server? If not, you need to upload it again. I don't know why running an upgrade would make it disappear, but that's what the error message is saying.
ozzy47
12-04-2014, 11:19 AM
Perhaps a renamed admincp folder?
Black Snow
12-04-2014, 11:20 AM
Do you have a file named includes/adminfunctions_template.php on your server? If not, you need to upload it again. I don't know why running an upgrade would make it disappear, but that's what the error message is saying.
I have this:
adminfunctions_template.php
Do I need to run an update via the upgrade.php script when going from PL1 to PL2?
--------------- Added 1417699308 at 1417699308 ---------------
Perhaps a renamed admincp folder?
I did rename the admincp folder about a year ago. I edited the error in the first post to show admincp instead of the real folder name.
--------------- Added 1417700553 at 1417700553 ---------------
I don't know what happened but my adminfunctions_template.php got deleted somehow when I uploaded the files. I re-uploaded them and got a different error. I uploaded the previous file and got another error. Uploaded the new file and it is all working again.
Strange.
I have this:
adminfunctions_template.php
Do I need to run an update via the upgrade.php script when going from PL1 to PL2?
Then I don't know what's going on. If you look at admincp/plugin.php line 29, you'll see that it's the 4th file included from the includes folder, and apparently the first 3 are working.
Edit: But I see you have it working now.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.