Quote:
Originally Posted by findingpeace
Yesterday, we upgraded from 4.2.1 to 4.2.2 - we did this after extensive testing in a separate environment, to get all of our other plugins playing nice. The upgrade went smoothly, and we love the new version! Much faster on PHP 5.4, so we're really happy about that.
One quick thing I wanted to share, unrelated to plugins. Click the "Advanced Search" button on your site. ( http://www.yoursite.com/search.php). Do you have errors at the top of the page?
I did, and it frustrated me because we had carefully followed all upgrade steps. It persisted, even with hooks off.
The solution? See below:
http://www.vbulletin.com/forum/forum...93#post4000793
Code:
1. - edit the files "socialgroupmessage.php" and "socialgroupdiscussion.php" found in "packages/vbforum/item/"
2. - The original function reads:
protected function getLoadQuery($required_query, $force_rebuild = false)
3. - Change the function to this:
protected function getLoadQuery($required_query = self::QUERY_BASIC, $force_rebuild = false)
I personally much prefer this method, since I don't think turning off error messages is a very good way of dealing with errors. Just wanted to share, in case anyone saw the same issue!
|
Will have to check this out. I had some errors in my admincp and on the Articles tab, and was told on here to turn off errors. Will check the search function, after turning on errors.
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
Was told by Ozzy that these were php 5.4 errors. Did you have the same ones, and if so, how did you fix them - besides turning off errors? Thanks.