Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jan 2009
Posts: 4
M
stranger
stranger
M Offline
Joined: Jan 2009
Posts: 4
After upgrading the to latest version, I get the following single line at the top of my forums as follows.

Notice: Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED' in d:\Customers\user1200757\www\forums\ubbthreads.php on line 34

Any thoughts? Additionally, when I log off of the forums, the page says "Logging you out", then the page flashes and it logs me back into teh forums. Also, other users are not able to log in.

Weird-o-rama.

Everything else seems to be working OK.

Last edited by msummers; 01/03/2010 10:14 AM.
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
The E_DEPRECATED looks like I'll need to put in a version check before using that. It's basically so people running the latest version of PHP won't have problems. What you can do is modify the ubbthreads.php file in your main directory. Line 46 has this:

PHP Code

error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
 

Change that, to this:

PHP Code

error_reporting(E_ALL & ~E_NOTICE);
 

On the logout/login issue. It could be related, as it's probably treating that as header info, and not modifying the cookies properly. So, go ahead and make that change and see if it fixes it.

Joined: Jan 2009
Posts: 4
M
stranger
stranger
M Offline
Joined: Jan 2009
Posts: 4
Wow, thanks for the quick response. I made the change per your post and yes, it seems to ahve solved the issues.

Joined: Nov 2008
Posts: 45
N
newbie
newbie
N Offline
Joined: Nov 2008
Posts: 45
For the record, we ran into the same problem on our upgrade. And, this fixed it.

Thanks!

Neil

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
yep... basically any version of php that is 5.2.12 and above would give that headache..

smile

Joined: Jul 2006
Posts: 116
M
member
member
M Offline
Joined: Jul 2006
Posts: 116
Is this the only headache a newer version of PHP gives? In which case, the work around is trivial.

I'm finding myself in need of updating PHP since it's required for another software package (dokuwiki), but I'm reluctant to do so if it's going to break my ubb.threads?

Any official word on ubb.threads's compatibility with the new PHP releases?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
We'll be putting out a small update to address the deprecated issues with the latest PHP version, along with fixing a few lingering vintage bugs. This will be coming out this week.

Last edited by UBBSystems; 08/04/2012 11:09 PM.
Joined: Jul 2006
Posts: 116
M
member
member
M Offline
Joined: Jul 2006
Posts: 116
Awesome, thanks Rick!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Ruben), 476 guests, and 111 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)