Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2019, 01:10 AM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Possible Serious PHP Error?

I'm getting this error whenever I try to refresh in the CMS or when I click on various links in the CMS sidebar menu.

1. I'm using the built in vBulletin sidebar CMS menu, recent posts & threads widgets in the CMS for testing purposes.

2. I'm using vB 4.2.5 Suite.

3. Running PHP version 7.1.32

4. Using MySQL 5.0.12 (MySQLi)

5. Its a fresh install and I'm using the default style.

6. There are plugins & mods installed. I disabled them globally and tried again and still get the same error. So I do not believe that its a mod that I've installed.

7. I also have an issue with the Mod_Security at times in various places on the site.

Code:
Not Acceptable!
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.
Here is the error I get:

Code:
Call to undefined function fetch_phrase_group() on line 196 in /home/xxxxx/public_html/xxxxx/packages/vbcms/widget/activitystream.php
#0 /home/xxxxx/public_html/xxxxx/packages/vbcms/widget/activitystream.php(172): vBCms_Widget_ActivityStream->getStream()
#1 /home/xxxxx/public_html/xxxxx/packages/vbcms/controller/content.php(237): vBCms_Widget_ActivityStream->getPageView()
#2 /home/xxxxx/public_html/xxxxx/vb/controller.php(261): vBCms_Controller_Content->actionView()
#3 /home/xxxxx/public_html/xxxxx/packages/vbcms/route/content.php(97): vB_Controller->getResponse()
#4 /home/xxxxx/public_html/xxxxx/vb/router.php(251): vBCms_Route_Content->getResponse()
#5 /home/xxxxx/public_html/xxxxx/vb/bootstrap.php(58): vB_Router::getResponse()
#6 /home/xxxxx/public_html/xxxxx/content.php(30): require_once('/home/xxxxx...')
#7 {main}

Line 196ish activitystream.php:

Code:
	/*
	 * Fetch the stream data!
	 */
	private function getStream()
	{
		global $vbphrase;

		fetch_phrase_group('activitystream');

		$activity = new vB_ActivityStream_View_Block($vbphrase);
		return $activity->process($this->config);
	}

	/**
	 * Gets a cache key - each user has a cache due to complicated permissions
	 * 	 
	 * @param  boolean $widgetid - Added for PHP 5.4 strict standards compliance
	 * @param  boolean $nodeid   - Added for PHP 5.4 strict standards compliance
	 *
	 * @return string
	 */
Is this possibly a PHP 7.1 issue I'm having or is it something else?
Reply With Quote
  #2  
Old 09-26-2019, 01:33 AM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4.2.5 requires SQL 5.5.8 or newer.
Reply With Quote
  #3  
Old 09-26-2019, 01:56 AM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by In Omnibus View Post
4.2.5 requires SQL 5.5.8 or newer.
Checking with the host right now. They said it was 5.6.3, but that is not what it shows in the phpinfo. *SIGH*

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

Took the PHP back to 5.6 and it seems to be working fine now. Thanks for the help.
Reply With Quote
  #4  
Old 09-26-2019, 07:29 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstall the binary for mysql-server, it must of not uninstalled & updated correctly, this is why the binary shows the wrong version.

If you ran an yum update on an rpm based system, it would of spit out an error on the update & stated it didnt install the new version of mysql-server
Reply With Quote
  #5  
Old 09-26-2019, 08:26 AM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
Uninstall the binary for mysql-server, it must of not uninstalled & updated correctly, this is why the binary shows the wrong version.

If you ran an yum update on an rpm based system, it would of spit out an error on the update & stated it didnt install the new version of mysql-server
On the phpinfo it states MySQLi is 5.0.12 and in the hosting panel it stated that the MySQL was 5.6.3 but then when I went back and looked it said it was 5.7 something. So I'm guessing the host may have done that. This is a shared hosting server and I'm not too terribly happy with them right now. They cannot seem to pull their heads out to fix anything. For now I guess I'll just have to stick with Wordpress and find another solution forum wise. vBulletin 4.2.5 just cannot keep up with the latest tech and I'm NOT upgrading (again) to vB5.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:15 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.03796 seconds
  • Memory Usage 2,206KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete