Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 42 guests, and 219 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Outdoorking
Outdoorking
Sydney, Australia
Posts: 320
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 17
isaac 15
Ruben 14
Morgan 6
BB 2
Abbott 2
Latest Photos
Testing to drag photos
Comfortable Cats
Test
BSA photos
Chinese Buddhist temple.
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
Joined: Jan 2009
Posts: 4
Austin, Texas
M
msummers Offline OP
stranger
msummers  Offline OP
stranger
M
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
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
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
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
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
Joined: Jan 2009
Posts: 4
Austin, Texas
M
msummers Offline OP
stranger
msummers  Offline OP
stranger
M
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
Joined: Nov 2008
Posts: 45
N
Neil Ticktin Offline
newbie
Neil Ticktin  Offline
newbie
N
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
Joined: Apr 2007
Posts: 4,313
SoCal, USA
SD Offline
Carpal Tunnel
SD  Offline
Carpal Tunnel
Joined: Apr 2007
Posts: 4,313
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
Joined: Jul 2006
Posts: 128
M
Myke Offline
member
Myke  Offline
member
M
Joined: Jul 2006
Posts: 128
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
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
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
Joined: Jul 2006
Posts: 128
M
Myke Offline
member
Myke  Offline
member
M
Joined: Jul 2006
Posts: 128
Awesome, thanks Rick!


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Control Panel / Transactions Username
by Morgan. 06/20/18 05:38 AM
Custom Insert won't save
by Baldeagle. 06/18/18 07:44 PM
New Image capabilities ver 7.6.1
by Abbott. 06/14/18 02:28 PM
Thread deleted?
by Lisanne. 06/05/18 11:13 AM
Forum Statistics
Forums36
Topics35,123
Posts191,338
Members12,088
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2
(Preview build 20180524)