vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Lots of errors after 4.2.2 upgrade (https://vborg.vbsupport.ru/showthread.php?t=304936)

pityocamptes 11-23-2013 06:17 PM

Lots of errors after 4.2.2 upgrade
 
This is on my CMS page at top:

Warning: Declaration of vBCms_Item_Content::setItemId() should be compatible with that of vB_Model::setItemId() in ..../packages/vbcms/item/content.php on line 26

These are in admincp:

Warning: Declaration of vB_Database_Alter_MySQL::add_index() should be compatible with that of vB_Database_Alter::add_index() in ..../includes/class_dbalter.php on line 882

Warning: Declaration of vB_Database_Alter_MySQL::add_field() should be compatible with that of vB_Database_Alter::add_field() in ..../includes/class_dbalter.php on line 882

Warning: Declaration of vB_Database_Alter_MySQL::drop_field() should be compatible with that of vB_Database_Alter::drop_field() in ..../includes/class_dbalter.php on line 882

Warning: Declaration of vB_Database_Alter_MySQL::query() should be compatible with that of vB_Database_Alter::query() in ..../includes/class_dbalter.php on line 882

How do I fix???

ozzy47 11-23-2013 06:37 PM

Read this.

http://www.vbulletin.com/forum/forum...66#post4000466

pityocamptes 11-23-2013 06:59 PM

Ok, that worked, but are the errors being ignored going to cause problems? I used this:

define('SKIP_ALL_ERRORS', true);

Any additional info on the errors, and what issues they may cause would be great thanks!

ozzy47 11-23-2013 07:03 PM

It's just a minor conflict somewhere between some function, and php5.4, nothing to worry about.

pityocamptes 11-25-2013 06:36 PM

Quote:

Originally Posted by ozzy47 (Post 2463162)
It's just a minor conflict somewhere between some function, and php5.4, nothing to worry about.

...but I think my server is running php 5.3, if I'm correct. Would I still have these issues? Or something more serious? Thanks.

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

i saw this on another site:

Now, open the second file ./includes/class_core.php & find for


Code:

$this->shutdown = vB_Shutdown::instance();
Replace it with


Code:

$this->shutdown =@ vB_Shutdown::instance();


Do I have to put that in as well, and what exactly will that do? Thanks.

Scandal 11-25-2013 07:28 PM

Quote:

Originally Posted by pityocamptes (Post 2463669)
...but I think my server is running php 5.3, if I'm correct. Would I still have these issues? Or something more serious? Thanks.

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

i saw this on another site:

Now, open the second file ./includes/class_core.php & find for


Code:

$this->shutdown = vB_Shutdown::instance();
Replace it with


Code:

$this->shutdown =@ vB_Shutdown::instance();


Do I have to put that in as well, and what exactly will that do? Thanks.

http://stackoverflow.com/questions/1...-symbol-in-php

:)

pityocamptes 11-25-2013 07:51 PM

Quote:

Originally Posted by Scandal (Post 2463691)

Thanks. I did the supress errors in the config file, but I was not told about this second part here on VBulletin. I actually stumbled across it in a different site and post. Do I have to initiate this second line of code if I already suppressed the error in config?


All times are GMT. The time now is 01:33 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.01017 seconds
  • Memory Usage 1,731KB
  • 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
  • (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