vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   VB 4 Beta 3 Upgarde Problems (https://vborg.vbsupport.ru/showthread.php?t=228422)

kichigaikid 11-20-2009 02:48 AM

VB 4 Beta 3 Upgarde Problems
 
Hi all, can you help me?

I just upgrade from VB 3.8.4 PL 1 to VB 4 Beta 3, and I forgot to disable all plugins in the Control Panel, I only shut down the forum. There are no problems durig the upgrade process, but after the upgrade process done, when I want login to Control Panel, there are errors message like this :
Code:

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

Unable to add cookies, header already sent.
File: /home/siutaoc/public_html/community/includes/class_core.php
Line: 4269

And when I access my forum page, the erros message are :
Code:

Fatal error:  Call to a member function hide_errors() on a non-object in /home/siutaoc/public_html/community/includes/class_bootstrap.php(277) : eval()'d code on line 111
How can I resolve this problem? And if I want to disable the plugin from config.php, how can I do it?

Thanks B4

Brandon Sheley 11-20-2009 02:56 AM

Quote:

Originally Posted by kichigaikid (Post 1917519)
And if I want to disable the plugin from config.php, how can I do it?

Thanks B4

PHP Code:

define('DISABLE_HOOKS'true); 


kichigaikid 11-20-2009 03:11 AM

Quote:

Originally Posted by Loco.M (Post 1917521)
PHP Code:

define('DISABLE_HOOKS'true); 


where it have to put that PHP code? I cant find that code in config.php

Marco van Herwaarden 11-20-2009 10:13 AM

You will need to add that as a new line in your config.php (after the 1st line).

kichigaikid 11-21-2009 02:54 AM

okay, got it. I disable all the plugin from the database. Now, the other problem is :

Code:

Invalid SQL:

    SELECT COUNT(*) AS count
    FROM vbstc_attachment AS attachment
    INNER JOIN vbstc_post AS post USING (postid)
    WHERE attachment.visible = 0;

MySQL Error  : Unknown column 'postid' in 'from clause'
Error Number  : 1054



All times are GMT. The time now is 09:06 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.01174 seconds
  • Memory Usage 1,724KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)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