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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-16-2014, 08:51 AM
HighFlow.nl HighFlow.nl is offline
 
Join Date: Dec 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Upgrade from 4.1.7 to 4.2.2 results in VBSEO error

We have upgraded vbulletin from 4.1.7 to 4.2.2 today.

Getting this error message right after installation:
Non-static method vBSEO_Storage:ath() should not be called statically in

In functions_vbseo_pre.php we changed:
from: function path($type = '')
to: static function path($type = '')
Also tried: public static function path($type = '')

With both modifications we don't get the error message anymore, just a blank page.
(internal server error 500)

What can be the solution?
Hope we can get our forum up and running again.

Thanks in advance.
Reply With Quote
  #2  
Old 12-16-2014, 09:03 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you mean "both modifications"??

http://www.vbulletin.com/forum/forum...ade-php-5-4-17

The blank page likely means you saved something wrong in the php file.
Only try changing this.

Code:
To fix the error with VBSEO you need to:

1) edit /vbseo/includes/functions_vbseo-pre.php
2) on line 181 find: function path($type = '')
3) replace with: public static function path($type = '')
4) save file.

Done
Reply With Quote
  #3  
Old 12-16-2014, 10:22 AM
HighFlow.nl HighFlow.nl is offline
 
Join Date: Dec 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your reply.

I mean I tried the code once at the time.
I found that topic also and followed the instructions.
Replaced it with the code in "3)".
The error message is then not shown, but only a blank page.

Then I found this topic:
https://vborg.vbsupport.ru/showpost....1&postcount=26
So I replaced the function path with: static function path($type = '')

With that also no luck and only blank page.

Can we try anything else?
Reply With Quote
  #4  
Old 12-16-2014, 10:23 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ditch vBSEO and go with [DBTech] DragonByte SEO v1 (vB4)
Reply With Quote
Благодарность от:
Brandon Sheley
  #5  
Old 12-16-2014, 10:24 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since it's returning an internal server error, could you check the error logs of your web-server/PHP cgi?
Reply With Quote
  #6  
Old 12-16-2014, 10:35 AM
HighFlow.nl HighFlow.nl is offline
 
Join Date: Dec 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Ditch vBSEO and go with [DBTech] DragonByte SEO v1 (vB4)
Yes I was thinking so too, but we have to be able to get into the adminCP first and we cannot with this error

Quote:
Originally Posted by Dave View Post
Since it's returning an internal server error, could you check the error logs of your web-server/PHP cgi?
E-mail is send to our server administrator, waiting for the reply of what's in the log.
Reply With Quote
  #7  
Old 12-16-2014, 10:44 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok lets do this, disable plugins via the includes/config.php file.

To do that open your includes/config.php file and below <?php add the following.

PHP Code:
define('DISABLE_HOOKS'true); 
So it looks like this:
PHP Code:
<?php
define
('DISABLE_HOOKS'true);
/*=================================================  =====================*\
|| ##################################################  ################## ||
|| # vBulletin 4.2.2
Use a editor like notepad++ to edit any files, don't use Notepad or Wordpad.
Reply With Quote
  #8  
Old 12-16-2014, 11:01 AM
HighFlow.nl HighFlow.nl is offline
 
Join Date: Dec 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Done it, I can access my admin panel again.

Logged in and disabled VBSEO plugin.

Removed the "DISABLE_HOOKS" from config.php.

Problem is still there
Reply With Quote
  #9  
Old 12-16-2014, 11:03 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would disable hooks again, then look into getting the pro version of DBSEO, and switching, as the pro version has a importer from vBSEO to DBSEO.
Reply With Quote
  #10  
Old 12-16-2014, 11:52 AM
HighFlow.nl HighFlow.nl is offline
 
Join Date: Dec 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried it, installed DBSEO while hooks disabled.
But can't go to CP of DBSEO, url/dbseocp/ just shows a blank page.
So can't go import vBSEO settings.

When hooks enabled, the first problem again: AdminCP is not available at all.

Any other ideas?
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 01:52 AM.


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.07811 seconds
  • Memory Usage 2,263KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete