vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   [RESOLVED] Weird problem after upgrade. (https://vborg.vbsupport.ru/showthread.php?t=308221)

ForceHSS 02-12-2014 06:45 PM

1. - GetLoadQuery function edit the files "socialgroupmessage.php" and "socialgroupdiscussion.php" found in "packages/vbforum/item/"

2. - The original function reads:


Code:

protected function getLoadQuery($required_query, $force_rebuild = false)
3. - Change the function to this:

Code:

protected function getLoadQuery($required_query = self::QUERY_BASIC, $force_rebuild = false)

RichieBoy67 02-12-2014 06:47 PM

Quote:

Originally Posted by ForceHSS (Post 2480664)
1. - GetLoadQuery function edit the files "socialgroupmessage.php" and "socialgroupdiscussion.php" found in "packages/vbforum/item/"

2. - The original function reads:


Code:

protected function getLoadQuery($required_query, $force_rebuild = false)
3. - Change the function to this:

Code:

protected function getLoadQuery($required_query = self::QUERY_BASIC, $force_rebuild = false)

Yeah, that is another way to fix it but the class_core should also do it. I think he is now referring to the database error he gets when rebuilding the post cache but not sure.

Eq4bits 02-12-2014 06:48 PM

just looked at the class_core.php agin should mine, after adding that bit read like this?
PHP Code:

        case E_NOTICE:
            
// Just ignore these completely //
        
break;
     case 
E_NOTICE:
    case 
E_STRICT;
    case 
E_DEPRECATED
    
// Just ignore these completely //
    
break; 


ForceHSS 02-12-2014 06:49 PM

if he downloaded a new 4.2.2 the fix in the class_core should already be in there

Eq4bits 02-12-2014 06:55 PM

Quote:

Originally Posted by ForceHSS (Post 2480664)
1. - GetLoadQuery function edit the files "socialgroupmessage.php" and "socialgroupdiscussion.php" found in "packages/vbforum/item/"

2. - The original function reads:


Code:

protected function getLoadQuery($required_query, $force_rebuild = false)
3. - Change the function to this:

Code:

protected function getLoadQuery($required_query = self::QUERY_BASIC, $force_rebuild = false)

Made changes, get this when I run rebuild thread info:
error page with:
Warning: mysql_query() [function.mysql-query]: Unable to save result set in ..../includes/class_core.php on line 417

and the out of memory stuff

when I run rebuild forum info it 'runs' but on the tools page this is displayed:
Parse error: syntax error, unexpected ')', expecting ';' or '{' in /home/******/public_html/****/forum/packages/vbforum/item/socialgroupdiscussion.php on line 129


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

Quote:

Originally Posted by ForceHSS (Post 2480667)
if he downloaded a new 4.2.2 the fix in the class_core should already be in there

Yes I downloaded vB4.2.2 this morning

RichieBoy67 02-12-2014 06:56 PM

Like this I believe

case E_NOTICE:
case E_STRICT;
case E_DEPRECATED;
// Just ignore these completely //
break;

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

Quote:

Originally Posted by ForceHSS (Post 2480667)
if he downloaded a new 4.2.2 the fix in the class_core should already be in there

Yeah I thought that too but have installed a couple new sites since and have still had to fix.

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

Quote:

Originally Posted by Eq4bits (Post 2480669)
Made changes, get this when I run rebuild thread info:
error page with:
Warning: mysql_query() [function.mysql-query]: Unable to save result set in ..../includes/class_core.php on line 417

and the out of memory stuff

when I run rebuild forum info it 'runs' but on the tools page this is displayed:
Parse error: syntax error, unexpected ')', expecting ';' or '{' in /home/******/public_html/****/forum/packages/vbforum/item/socialgroupdiscussion.php on line 129


--------------- Added 12 Feb 2014 at 14:55 ---------------


Yes I downloaded vB4.2.2 this morning

Did you make the changes to the socialgroup files too?

Eq4bits 02-12-2014 07:01 PM

Quote:

Originally Posted by RichieBoy67 (Post 2480663)
That fixes the depreciation issue. Not the issue with being out of memory. For that you need to configure your server or talk to your host.

I had sent in a ticket to my host and their reply was to optimize my d/b (which I had been doing approx. 10/hour for several hours) and advised to use specific vB 'optimiztion plugins' (which were for vB3.x and I'm running 4.2.2)
I followed the suggestions HERE and made the appropriate changes, saved, cleared cache, tried running general update tools again, and still having issues.

the natives are getting restless as I've had the forum disabled all morning. I'm afraid they may burn me out LOL

RichieBoy67 02-12-2014 07:04 PM

Quote:

Originally Posted by Eq4bits (Post 2480674)
I had sent in a ticket to my host and their reply was to optimize my d/b (which I had been doing approx. 10/hour for several hours) and advised to use specific vB 'optimiztion plugins' (which were for vB3.x and I'm running 4.2.2)
I followed the suggestions HERE and made the appropriate changes, saved, cleared cache, tried running general update tools again, and still having issues.

the natives are getting restless as I've had the forum disabled all morning. I'm afraid they may burn me out LOL

What are you using for a host? A shared hosting account? is this a new server you are on or something?

You are using vb3 plug ins on a vb4.2.2 site?

Don't use Yahoo yui. Use Google or nothing in that setting.

As for the rest they are not going to really impact this issue much that happens when rebuilding a database table.

Did you try rebuilding thread/post cache using a smaller amount of posts at a time?

ForceHSS 02-12-2014 07:04 PM

Quote:

Originally Posted by RichieBoy67 (Post 2480671)
Like this I believe

case E_NOTICE:
case E_STRICT;
case E_DEPRECATED;
// Just ignore these completely //
break;




Yeah I thought that too but have installed a couple new sites since and have still had to fix.

just checked ur right not in there was sure i seen it

it needs to be like this

case E_NOTICE:
case E_STRICT:
case E_DEPRECATED:
// Just ignore these completely //
break;

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

Quote:

Originally Posted by Eq4bits (Post 2480674)
I had sent in a ticket to my host and their reply was to optimize my d/b (which I had been doing approx. 10/hour for several hours) and advised to use specific vB 'optimiztion plugins' (which were for vB3.x and I'm running 4.2.2)
I followed the suggestions HERE and made the appropriate changes, saved, cleared cache, tried running general update tools again, and still having issues.

the natives are getting restless as I've had the forum disabled all morning. I'm afraid they may burn me out LOL

if you want to send me the 3 files i will make the changes for you but going to bed in 5 mins so be quick

Eq4bits 02-12-2014 07:08 PM

Quote:

Originally Posted by RichieBoy67 (Post 2480671)
Did you make the changes to the socialgroup files too?

Yes, sir ;)

I'm submitting ticket to host. Same host I've used the past 10 years with only 1 issue as problematic as this one seems to be, so don't suggest changing hosts - these guys have excellent customer service and response times avg. 15 minutes.

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

Quote:

Originally Posted by ForceHSS (Post 2480677)
if you want to send me the 3 files i will make the changes for you but going to bed in 5 mins so be quick

Are you still up? I can send the files but where do I send them? Can do so quickly once I know where to send


All times are GMT. The time now is 02:12 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.01126 seconds
  • Memory Usage 1,762KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete