Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (DLWebmaestro), 58 guests, and 251 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
zoomway
zoomway
swamptropolis
Posts: 25
Joined: January 2004
Show All Member Profiles 
Top Posters(30 Days)
isaac 43
M4TT 26
Gizmo 24
Ruben 24
Morgan 13
Jake 4
Latest Photos
Big stuff
Test
Testing to drag photos
Comfortable Cats
Test
Previous Thread
Next Thread
Print Thread
"Undefined Constant E_DEPRECATED" Notice after Upgrade to UBB 7.5.4.2 #233144
01/03/10 10:02 AM
01/03/10 10:02 AM
M
msummers  Offline OP
stranger
Joined: Jan 2009
Posts: 4
Austin, Texas
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/10 10:14 AM.
Express Hosting
Re: "Undefined Constant E_DEPRECATED" Notice after Upgrade to UBB 7.5.4.2 [Re: msummers] #233146
01/03/10 10:26 AM
01/03/10 10:26 AM
R
Rick  Offline
Former Developer
Joined: Jun 2006
Posts: 9,246
Aberdeen, WA
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.

Re: "Undefined Constant E_DEPRECATED" Notice after Upgrade to UBB 7.5.4.2 [Re: Rick] #233147
01/03/10 10:38 AM
01/03/10 10:38 AM
M
msummers  Offline OP
stranger
Joined: Jan 2009
Posts: 4
Austin, Texas
Wow, thanks for the quick response. I made the change per your post and yes, it seems to ahve solved the issues.

Re: "Undefined Constant E_DEPRECATED" Notice after Upgrade to UBB 7.5.4.2 [Re: msummers] #234481
02/07/10 12:43 AM
02/07/10 12:43 AM
N
Neil Ticktin  Offline
newbie
Joined: Nov 2008
Posts: 45
For the record, we ran into the same problem on our upgrade. And, this fixed it.

Thanks!

Neil

Re: "Undefined Constant E_DEPRECATED" Notice after Upgrade to UBB 7.5.4.2 [Re: Neil Ticktin] #234482
02/07/10 12:46 AM
02/07/10 12:46 AM
SD  Offline
Former Developer
Joined: Apr 2007
Posts: 3,945
SoCal, USA
yep... basically any version of php that is 5.2.12 and above would give that headache..

smile

Re: "Undefined Constant E_DEPRECATED" Notice after Upgrade to UBB 7.5.4.2 [Re: SD] #234492
02/07/10 09:27 AM
02/07/10 09:27 AM
M
Myke  Offline
member
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?

Re: "Undefined Constant E_DEPRECATED" Notice after Upgrade to UBB 7.5.4.2 [Re: Myke] #234496
02/07/10 10:32 AM
02/07/10 10:32 AM
R
Rick  Offline
Former Developer
Joined: Jun 2006
Posts: 9,246
Aberdeen, WA
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/12 11:09 PM.
Re: "Undefined Constant E_DEPRECATED" Notice after Upgrade to UBB 7.5.4.2 [Re: Rick] #234505
02/08/10 03:42 AM
02/08/10 03:42 AM
M
Myke  Offline
member
Joined: Jul 2006
Posts: 116
Awesome, thanks Rick!


ShoutChat Box
Today's Birthdays
No Birthdays
Recent Topics
Follow Thread Button Not Aligned
by M4TT - 03/16/19 09:24 PM
Author Content Portrait Avatars
by M4TT - 03/16/19 09:12 PM
problem with ubbthreads dark scheme
by TheBrit - 03/15/19 04:17 PM
7.7.1 Forums and Categories
by AstroCat - 03/15/19 08:16 AM
How to Add Sound Effects Modification
by M4TT - 03/10/19 07:02 PM
Forum Statistics
Forums35
Topics35,259
Posts192,299
Members12,143
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.7.2
(Snapshot build 20190227)