vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   After upgrade php 5.2 to 5.4 vbseo error on vb 4.2.1 (https://vborg.vbsupport.ru/showthread.php?t=303582)

gsmlover4u 10-19-2013 05:37 AM

After upgrade php 5.2 to 5.4 vbseo error on vb 4.2.1
 
hi to all after upgrade php 5.2 to 5.4 for vbulletin version 4.2.1pl1
appear this error

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/******com/vbseo/includes/functions_vbseo_pre.php on line 279

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/*******com/vbseo/includes/functions_vbseo_pre.php on line 86

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/*******/vbseo/includes/functions_vbseo_pre.php on line 129

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/*******/vbseo/includes/functions_vbseo_pre.php on line 130

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/********/vbseo/includes/functions_vbseo_pre.php on line 131

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/*******/vbseo/includes/functions_vbseo_pre.php on line 132

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/********/vbseo/includes/functions_vbseo.php on line 18

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/********/vbseo/includes/functions_vbseo.php on line 19

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/*******/vbseo/includes/functions_vbseo.php on line 20

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/*********/vbseo/includes/functions_vbseo.php on line 21

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/********/vbseo/includes/functions_vbseo.php on line 22

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/*********/vbseo/includes/functions_vbseo.php on line 23

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/********/vbseo/includes/functions_vbseo.php on line 24

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/********/vbseo/includes/functions_vbseo.php on line 25

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/********/vbseo/includes/functions_vbseo.php on line 26

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/********/vbseo/includes/functions_vbseo.php on line 27

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/*******/vbseo.php on line 17

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /mounted-storage/home127/sub015/sc75274-IGMU/********/vbseo/includes/functions_vbseo_url.php on line 359

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at [path]/vbseo/includes/functions_vbseo_pre.php:279) in [path]/includes/facebook/facebook.php on line 37

WEBDosser 10-19-2013 06:15 AM

I should contact the script owner..

ozzy47 10-19-2013 09:02 AM

They won't answer.

Try some of the suggestions here, http://www.vbulletin.com/forum/forum...66#post4000466

gsmlover4u 10-19-2013 10:09 AM

Quote:

Originally Posted by ozzy47 (Post 2454591)
They won't answer.

Try some of the suggestions here, http://www.vbulletin.com/forum/forum...66#post4000466

sir i am on vb 4.2.1 pl1
not on vb 4.2.2

ozzy47 10-19-2013 10:11 AM

Don't mater, that is for the php version?

WEBDosser 10-19-2013 05:20 PM

Quote:

Originally Posted by ozzy47 (Post 2454591)
They won't answer.

Really?. why so I thought they where a good company.

ozzy47 10-19-2013 06:50 PM

There is a ton of discussions on their site about it, here is one.

Code:

http://www.vbseo.com/f55/does-vbseo-still-aliwe-dead-55740/

cellarius 10-20-2013 12:06 AM

Quote:

Originally Posted by WEBDosser (Post 2454664)
Really?. why so I thought they where a good company.

Things do change.

Thunderbird8 10-20-2013 01:29 AM

This particular error can be easily fixed by finding "function path" in functions_vbseo_pre.php and putting "static" at the beginning of the line (maybe public static, though public is implied if public/private designation is not present). At least that's what I did. I think that's the only 5.4 error that vBSEO has (now if you upgrade to 5.5, there's a ton more because of the preg_replace /e deprecation, so you might want to avoid that version for now).

Also, if you're going to be using PHP 5.4, you should probably upgrade vB itself to 4.2.2, as previous versions spit out a lot of errors similar to what you posted.

synseal 02-18-2014 03:39 AM

Quote:

Originally Posted by Thunderbird8 (Post 2454755)
This particular error can be easily fixed by finding "function path" in functions_vbseo_pre.php and putting "static" at the beginning of the line (maybe public static, though public is implied if public/private designation is not present). At least that's what I did. I think that's the only 5.4 error that vBSEO has (now if you upgrade to 5.5, there's a ton more because of the preg_replace /e deprecation, so you might want to avoid that version for now).

Also, if you're going to be using PHP 5.4, you should probably upgrade vB itself to 4.2.2, as previous versions spit out a lot of errors similar to what you posted.

:up:

Thank you for this, the part about placing static in front of function path just brought my site back online. :o after upgrading to php 5.4 using vbseo.

hohleweg 04-24-2014 07:05 PM

Hey
Same problems
ist this right?

in functions_vbseo_pre.php

Quote:

function path($type = 'static')
{
Jo

Zachery 04-24-2014 07:07 PM

You should stop using vBSEO

hohleweg 04-24-2014 07:15 PM

yes I know
we are already at xenfor
only vb still has to run something
so the question whether it was really
thank you
greeting jo

alaska_av8r 05-02-2014 10:00 PM

I added that code to the line in functions_vbseo_pre.php and now I have a webpage has a redirect loop message and sight is down unless i deactivate vbSEO, any ideas?

ferreo 07-21-2014 10:01 PM

Quote:

Originally Posted by hohleweg (Post 2494520)
Hey
Same problems
ist this right?

in functions_vbseo_pre.php


Jo

No, this is the correct way:

PHP Code:

static function path($type '')



hhumas 10-24-2014 09:36 AM

Quote:

Originally Posted by ferreo (Post 2507699)
No, this is the correct way:

PHP Code:

static function path($type '')




i have replaced this with

Quote:

public static function path($type = '')
and now i am getting a blank page instead of errors

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

can anyone tell me i am getting this mess , after updating

Quote:

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo_pre.php on line 279

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo_pre.php on line 86

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo_pre.php on line 129

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo_pre.php on line 130

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo_pre.php on line 131

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo_pre.php on line 132

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo.php on line 18

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo.php on line 19

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo.php on line 20

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo.php on line 21

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo.php on line 22

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo.php on line 23

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo.php on line 24

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo.php on line 25

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo.php on line 26

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo/includes/functions_vbseo.php on line 27

Strict Standards: Non-static method vBSEO_Storage::path() should not be called statically in /home/nvgamers/public_html/vbseo.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /home/nvgamers/public_html/vbseo/includes/functions_vbseo_pre.php:279) in /home/nvgamers/public_html/vbseo/includes/functions_vbseo_url.php on line 549

Warning: Cannot modify header information - headers already sent by (output started at /home/nvgamers/public_html/vbseo/includes/functions_vbseo_pre.php:279) in /home/nvgamers/public_html/vbseo/includes/functions_vbseo_url.php on line 553

Brandon Sheley 10-24-2014 03:17 PM

vbseo is dead, it's best to just remove it

Disco_Stu 10-24-2014 06:46 PM

If you're going to purchase forum software and start adding all kinds of mods or packages then you need to either be an experienced programmer or hire someone that is. Otherwise you are putting your entire site in the hands of the mod authors.

I've installed a lot of mods from this site but only because I have the ability to modify the mod code which I do a lot of the time.

Adding mods with no knowledge of what's going on under the covers puts you at the mercy of the mod authors whenever something goes wrong.

Mark.B 10-24-2014 07:22 PM

Won't the SKIP_DS_ERRORS line cure this?

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

Quote:

Originally Posted by Brandon Sheley (Post 2519929)
vbseo is dead, it's best to just remove it

I totally agree, but I can empathise where people don't want to ditch it, as it'll break their URLs.

Brandon Sheley 10-24-2014 07:41 PM

Quote:

Originally Posted by Mark.B (Post 2519953)

I totally agree, but I can empathise where people don't want to ditch it, as it'll break their URLs.

I agree, but redirects can be written to help save your URL's.

Mark.B 10-24-2014 07:58 PM

Quote:

Originally Posted by Brandon Sheley (Post 2519961)
I agree, but redirects can be written to help save your URL's.

Indeed they can, though there don't seem to be any definitive instructions. All the ones I have seen posted usually have replies stating most URLs were redirected, but not all.

There's always DBSEO of course, I believe that can redirect vBSEO URLs. However it's still relying on a third party. Albeit one with a good reputation.

Brandon Sheley 10-24-2014 10:35 PM

Sure, but vbseo also had a good reputation for years as well. :)

Mark.B 10-24-2014 11:29 PM

Quote:

Originally Posted by Brandon Sheley (Post 2519980)
Sure, but vbseo also had a good reputation for years as well. :)

Well.....you may find some who disagree. As you may with DBTech. That's why I included the caveat that such a solution is still relying on a third party.

BirdOPrey5 10-27-2014 02:14 AM

Quote:

Originally Posted by Disco_Stu (Post 2520172)
Then what's the point of even having this site?

The purpose of this site is to help users with the modification of vBulletin.

vBulletin.com is the place to discuss (or complain) about the software itself- no one who is a decision maker in vBulletin reads this site. Its like complaining about the park to someone who volunteers their time to pick up litter in the park. If you have a complaint, complain to the city- not the people coming by to help everyone out.

Paul M 10-27-2014 06:59 PM

Quote:

Originally Posted by Mark.B (Post 2519953)
Won't the SKIP_DS_ERRORS line cure this?.

Yes it would stop it.


FYI, off topic posts removed. Refer to post above.

lims 11-24-2014 05:48 AM

Quote:

Originally Posted by hhumas (Post 2519908)
i have replaced this with
Quote:

public static function path($type = '')
and now i am getting a blank page instead of errors
can anyone tell me i am getting this mess , after updating

i think your "public static function path" is wrong :D

Just replace this in functions_vbseo_pre.php
PHP Code:

function path($type ''

with this static
PHP Code:

static function path($type ''

i have replace, and still work :D

Good luck.

HighFlow.nl 12-16-2014 08:49 AM

Did you solve this problem?

We have the same problem after upgrading vbulletin from 4.1.7 to 4.2.2 today.

Getting this error message right after installation:
Code:

Non-static method vBSEO_Storage::path() 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.

hhumas 12-16-2014 02:19 PM

I am unable to remove vbseo completely ..

All i want is that my forum show its home page .. but it gives error or blank page

rest of the forums works fine

HM666 12-16-2014 05:50 PM

For those of you who are having troubles with vBSEO try using DBTech SEO Pro. I have installed it on a client's site and it will import all your vBSEO URL's & settings and work just like vBSEO did without errors or at least it should. So you can ditch vBSEO and stop the blank pages & errors. You have to get the Pro version, the lite version does not offer to convert the URL'S to DBTech SEO.

To completely remove vBSEO make sure that you do the following:

1. Back up your database completely before you start. This is crucial do not skip this step!

2. Make sure that you have uninstalled the vBSEO product. To do this go to Plugins & Products > Manage Products...Find the vBSEO product on the list and click on the drop down to the far right and choose "Uninstall".

3. Delete all the files associated with vBSEO. They usually have vbseo in the filename and you can check for suspect file versions in your vB AdminCP. To check for Suspect files go to Maintenance > Diagnostics > Suspect File Versions then click the "Submit" button directly under it. This will give you a list of the files that are not the current format of vBulletin you are running. Here you can see all the vBSEO files.

4. This step you may or may not need. If you are still having vBSEO problems or it still continues to screw up your URL's etc then you may need to check your database to make sure that when you uninstalled the product that all the database tables were removed. To check your database to see if you still have vBSEO tables in there go to Maintenance > Repair / Optimize Tables. Here you see a list of the tables in your database. If you see any tables that are related to vBSEO then you can run a query to drop those tables. BE CAREFUL IF YOU NEED TO DO THIS! Be sure to back up your database first before making any changes to it.

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

Quote:

Originally Posted by HighFlow.nl (Post 2527394)
Did you solve this problem?

We have the same problem after upgrading vbulletin from 4.1.7 to 4.2.2 today.

Getting this error message right after installation:
Code:

Non-static method vBSEO_Storage::path() 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.

This is probably a PHP error. Is that error above from your error logs? If not you might want to take a look at them and post anything related to vBSEO or vBulletin so other programmers can see the errors.

ozzy47 12-16-2014 09:27 PM

But if you uninstall vBSEO, how do you import the settings and such into DBSEO?

HM666 12-16-2014 09:36 PM

Quote:

Originally Posted by ozzy47 (Post 2527578)
But if you uninstall vBSEO, how do you import the settings and such into DBSEO?

Hmmm Forgot about that. Ok in that case try this then...Disable all the plugins, login to your admincp and then disable the vBSEO installation, re-enable all the plugins again and then install DB SEO. I've done that before for a client and it worked because all the data was still in the database. :)

ozzy47 12-16-2014 09:39 PM

Yeah that seems more like a reasonable route to go. :)

HM666 12-16-2014 10:04 PM

Quote:

Originally Posted by ozzy47 (Post 2527588)
Yeah that seems more like a reasonable route to go. :)

Yeah yeah ok just move along nothing to see here just the senile old man who still needs that nap. lol :)

hhumas 12-17-2014 06:39 PM

Quote:

Originally Posted by HM666 (Post 2527583)
Hmmm Forgot about that. Ok in that case try this then...Disable all the plugins, login to your admincp and then disable the vBSEO installation, re-enable all the plugins again and then install DB SEO. I've done that before for a client and it worked because all the data was still in the database. :)

i am planning on installing fresh vBulletin ,, My database is still there

all i want to know is that how to save the categories of vBulletin ?

HM666 12-17-2014 09:36 PM

Quote:

Originally Posted by hhumas (Post 2527740)
i am planning on installing fresh vbseo ,, My database is still there

all i want to know is that how to save the categories of vBulletin ?

Why are you installing vBSEO fresh? That makes no sense. Its still not going to work. Its kaput, completely and will not work with newer version of vBulletin that have come out. Getting rid of vBSEO is a better option. Otherwise you will continue to have this problem and no one will be able to help you with your site because vBSEO is pretty much permanently broken and is not going to be updated ever.

I'm not sure which categories you mean, CMS categories, forums?..... All that info is in the database or at least it should be.

ForceHSS 12-17-2014 09:38 PM

Why waste time of vbseo when you can install dbseo at least it works

ozzy47 12-17-2014 10:20 PM

Force, that is what we have been saying in the thread. :p

HM666 12-17-2014 10:27 PM

Quote:

Originally Posted by ozzy47 (Post 2527772)
Force, that is what we have been saying in the thread. :p

May the force be with you?.......lol

ForceHSS 12-18-2014 12:59 AM

Quote:

Originally Posted by ozzy47 (Post 2527772)
Force, that is what we have been saying in the thread. :p

Could not be bothered reading the whole thread

HM666 12-18-2014 02:22 AM

Quote:

Originally Posted by ForceHSS (Post 2527832)
Could not be bothered reading the whole thread

Oops wow I need sleep lol. I wondered why Chris had said Force. That is why I made my comment I did not realize he was talking to you lol, I'm ok.


All times are GMT. The time now is 05:18 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.01497 seconds
  • Memory Usage 1,870KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_php_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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