Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
PHP5 is out and if your ISP change to php5 you may run in trouble with threads. Nothing work from scratch anymore.

The workaround must be done in ubb.inc.php (in all threads versions). For 6.4.3 do a global replacement of $this to $thisUBB. Problem: some $this must be leaved as is. After the global replacement you notice errors while try to login/logout. change these back (line numbers will be show by error message). After changing this back you can login and continue testing.

If you try out 6.5 go to line 1707 and replace from here all $this to $thisUBB up to the end of the file. Done.

Other problems exists in several hacks. PPpanel need a little modification for the next button (description in the thread), LinksDB need lastest file modifications to work again (lots of modification), Photopost IIP pal box need modification and maybe several other hacks.

The problem is changing the default handling of global variables. This can be also modified with changing the .htaccess (if you have access to it). Put this in the file: php_flag register_globals on
This fix the problem for scripts in the same directory, but maybe open a little security hole again.

I hope this help a little bit if you run i trouble like me

Sponsored Links
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Thx for pointing this out. I'll plan to do a test run on PHP5 in the next week.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)