![]() |
Php changes after upgrading from vb2 to vb3
1 Attachment(s)
Hi,
A while ago I bought a nice website which was built on vb 2.2.8. It was running very nice until I decided to upgrade my forum to vb 3.0.3. Just to make sure I installed the whole site on a different domain to test the upgrade process. Upgrading vBulletin worked like a charm ... but unfortunately some of the php scripts don't work anymore. An index.php and an include.php file are attached. I guess vb 3.0.3 uses other functions than vb 2.2.8. I already found out that gettemplate is replaced by fetch_template and dooutput is replaced by print_output. If i change these functions I get no php error, but the site shows a white homepage (as if the html code is not loaded from the database). Can someone help me out here ? Is there a list of changes somewhere ? Getthat |
I dont fully understand where you are coming from with this. Do you mean you havent overwritten your files?
|
Well, the files in attachment are custom-written files (not from vb), but they are using the functions from vb (and also the config.php file).
Getthat |
Did you copy over the templates being called on in these scripts to the new vb3 style?
|
Yes, Reeve of Shinra, I did
|
which of these three templates are your selfmade templates?
you can only print_output one template, as there is an exit; or something there, meaning the others wont load. look at this thread, it might help you: https://vborg.vbsupport.ru/showthread.php?t=62164 |
All times are GMT. The time now is 02:45 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|