vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   4.2.2 PL1 to PL2 Error (https://vborg.vbsupport.ru/showthread.php?t=315815)

Black Snow 12-04-2014 11:15 AM

4.2.2 PL1 to PL2 Error
 
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:
Code:

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:
Code:

define("DISABLE_HOOKS", 1);
But it still won't let me in.

Any ideas?

kh99 12-04-2014 11:17 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.

ozzy47 12-04-2014 11:19 AM

Perhaps a renamed admincp folder?

Black Snow 12-04-2014 11:20 AM

Quote:

Originally Posted by kh99 (Post 2525558)
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:
Code:

adminfunctions_template.php
Do I need to run an update via the upgrade.php script when going from PL1 to PL2?

--------------- Added [DATE]1417699308[/DATE] at [TIME]1417699308[/TIME] ---------------

Quote:

Originally Posted by ozzy47 (Post 2525561)
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 [DATE]1417700553[/DATE] at [TIME]1417700553[/TIME] ---------------

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.

kh99 12-04-2014 11:45 AM

Quote:

Originally Posted by Black Snow (Post 2525562)
I have this:
Code:

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.


All times are GMT. The time now is 06:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01681 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete