The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
why are my php custom files not working
hi there, im playing around with a upgrade of vb to maybe 4.2.3 and have found that it requires php 5.4, problem is if i change from 5.2.17 to 5.4 my custom php files wont work
is there a easy fix for this?? or do i need to go 4.2.2 as this is 5.2.17 friendly any help appreciated thanx:up: |
#2
|
||||
|
||||
we would have to be able to see your custom files code to figure out what is wrong with them, but it sounds like you are using deprecated functions.
Without at least errors, we can only guess. |
#3
|
|||
|
|||
basically the code controls many different php pages, also the custom software has to require 2 other modified files header.php,global.php
but if i change the php to 5.4 nothing works 4.2.3 requires 5.4 and 3.8.9 requires 5.3 or above we are currrently on 3.7.1 i can provide some code which is from the home.php file which works on 5.2.17 but not 5.4 PHP Code:
|
#4
|
||||
|
||||
Please enclose that PHP in the PHP bbcode, to make it more readable.
Also, whe you change to PHP v5.4 does it give any errors, or just nothing at all? Also, try changing all the <? to <?php |
#5
|
|||
|
|||
ok im not a total noob lol but im not up on the bbcode part, ive just duplicated on another part of the server using a different forum database all works correctly on 5.2.17 but as soon as i put it on 5.4 the custom php pages stop working not the vb itself
we have loads of custom tabs that all work with vb and none work with 5.4 php |
#6
|
||||
|
||||
Quote:
Right, I understand that vBulletin works, but your custom pages do not. However, do they generate any errors, or just blank pages? Also, in your PHP pages change <? to <?php some installs are strict requiring the full tag |
Благодарность от: | ||
MarkFL |
#7
|
|||
|
|||
Quote:
but is fine with 5.2.17 ill give that a try matey and report back --------------- Added [DATE]1451570200[/DATE] at [TIME]1451570200[/TIME] --------------- well done dragon that worked for php 5.4 but some pages dont work 5.2.17 now lol but if we are upgrading thats not a problem thanx for your help sir apprec can these php custom pages be used in 4.2.3 still?? |
#8
|
||||
|
||||
Quote:
I'm not sure if they will still work on vb v4 since they were written for v3. I would copy your forums to a test site and try the upgrade see what errors you get, if any |
#9
|
|||
|
|||
thanx matey ill do that next
1 more question, does vb only use 1 database even if you choose to put albumpictures to the database? ive got 2 they look linked |
#10
|
||||
|
||||
Yes, vb only uses 1 DB, unless you have a custom mod which changes this
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|