vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Mod broke my forum - How do I fix it (https://vborg.vbsupport.ru/showthread.php?t=281754)

addamroy 04-18-2012 09:57 PM

Mod broke my forum - How do I fix it
 
I recently went to update a mod as per the instructions, this mod, https://vborg.vbsupport.ru/showthrea...263521&page=23

and it seems to have broken my forum, everything is just showing a white page. Can't get to the main forum, can't get to admin cp, etc.

Basically it said, import and overwrite the file, did that. Then it said uninstall the additional file/product that's no longer required, and once I did that the forum broke.

How do I fix this? I do have a database backup I downloaded right before I went to update the mod (good thinkin I know), but is there any way to fix it without restoring the database?

kh99 04-18-2012 10:23 PM

Edit the file includes/config.php and add this line, at the top just under the <?php:

Code:

define('DISABLE_HOOKS', 1);

Hopefully that will let you get back in to uninstall or disable the product, then you can remove that line.

addamroy 04-18-2012 10:30 PM

darn that makes perfect sense LOL.

I just called the hosting company and they're restoring the database to it's state as of last night right now so I'm waiting for that to finish. Then I guess once that's done I have to import the database backup I made a few hours ago so i don't loose much content, it's a pretty active forum.

I almost want to reinstall this product that broke my forum again just so I can test to see if the above solution would have worked :P

Thanks I appreciate it.

There should be a sticky for this somewhere, like in the mods forum.

Pandemikk 04-18-2012 10:59 PM

It needs to be commented out in config.php by default. Same thing with debug mode.

addamroy 04-18-2012 11:04 PM

Quote:

Originally Posted by Pandemikk (Post 2321401)
It needs to be commented out in config.php by default. Same thing with debug mode.

what?

Lynne 04-18-2012 11:31 PM

I would suggest you set up a test site and then install the mod on there so you can see what sort of problems you may run into.

Pandemikk 04-19-2012 04:01 PM

I was noting that the disable hooks bit should be in config.php by default, commented out.


All times are GMT. The time now is 11:58 AM.

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.01245 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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