PDA

View Full Version : Got error after upgrading vb4 plz help to fix this ( solved)


nomoreturn
11-15-2009, 01:59 AM
Hello every one install vbulletin 4 and after upgrading got this error plz help me to fix this thanks

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

Fatal error: Call to a member function hide_errors() on a non-object in /home/****/public_html/includes/class_bootstrap.php(277) : eval()'d code on line 465

ForumsMods
11-15-2009, 02:03 AM
Disable your plugins and hacks.

TheLastSuperman
11-15-2009, 02:06 AM
If your unfamiliar with how to disable your mods/hacks please see here: https://vborg.vbsupport.ru/showthread.php?t=227933

Step #3

nomoreturn
11-15-2009, 02:26 AM
yeha i did and now i have another problem i can open anyof my forum when i click on forum got this message

vBulletin Message
Invalid Forum specified. If you followed a valid link, please notify the administrator
Pakistani Urdu Forum Mastdunya.com The World At Your Fingertips!


please check it
www.mastdunya.com
user name - test1
password - test2

Twilkey
11-15-2009, 03:15 AM
Your board is closed and your test user doesnt have access to view a closed board.

nomoreturn
11-15-2009, 03:25 AM
now its open sorry for that

Twilkey
11-15-2009, 03:32 AM
This is an example of the url to one of your forums.
http://www.mastdunya.com/forumdisplay.php?3-New-Member-Introduction-And-Welcome

Do you use vBSEO or an equivalent? If so, I suggest disabling it.

nomoreturn
11-15-2009, 03:41 AM
This is an example of the url to one of your forums.
http://www.mastdunya.com/forumdisplay.php?3-New-Member-Introduction-And-Welcome

Do you use vBSEO or an equivalent? If so, I suggest disabling it.

yes i'm useing vebseo and after disabling its work good Thanks for your help, I really appreciate. but i dont want to disable vebseo coz i'm paying for it is there anyway i can enable it

Twilkey
11-15-2009, 03:44 AM
You will need to disable it until they release and upgrade that works with 4.0. That is all I can tell you.

nomoreturn
11-15-2009, 04:18 AM
Thanks for help

kleinschwanz
11-17-2009, 12:30 PM
this is very nice to see everywhere I look for this problem anyone tells people to disable hacks... well I knew it would work without hacks but now I am asking you how do I get my hacks working that have not been changed in the code yet - I mean I have boutgh a shoutbox that isn't supported anymore but it is the only one I want to use... so how can I get this thing to work with the new vbulletin? What is the necessary change I have to make when a plugin shows this nervous warning??? all it says there is the usual warning


Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780

but there is no link or any description how to cmake these changes... I sure know how to use an editor and have seen several php files but this gives me some bad times. Any ideas how I can get the necessary files edited?

same it is in other addons... I can see the problem should be here:

eval('$navbar = "' . fetch_template('navbar') . '";');

but how the hell should I replace this? or am I completely wrong there?

Lynne
11-17-2009, 02:36 PM
There are a ton of blogs/articles posted over on vb.com about the new way to 'eval' templates and how to register variables. There are also a couple of articles here in our vB4 Articles forum.

masons
11-24-2009, 07:26 AM
Hold on,

I got a new install, no mods no styles and all works fine... except the register page.
If I turn hooks and plyugins off it all works fine, but I like to use the cms and all ..

So...

How do I fix this then?


Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3796

Parse error: syntax error, unexpected T_STRING in /XXXXX/XXXXX/public_html/includes/class_bootstrap.php(277) : eval()'d code(7) : eval()'d code on line 1

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:4263) in [path]/includes/functions.php on line 4477

Parse error: syntax error, unexpected T_VARIABLE in /XXXXXX/XXXXX/public_html/includes/class_core.php(3805) : eval()'d code on line 16

Lynne
11-24-2009, 02:00 PM
Hold on,

I got a new install, no mods no styles and all works fine... except the register page.
If I turn hooks and plyugins off it all works fine, but I like to use the cms and all ..

So...

How do I fix this then?

You disable/delete ALL the plugins/products that are not the blog or cms.

See this sticky - Installation Issues / Questions or bug reports regarding default vBulletin 4.0 (https://vborg.vbsupport.ru/showthread.php?t=228035)