UseBB Community

The official board for UseBB help and discussion

UseBB Community » Help & Support » UseBB and PHP 5

UseBB and PHP 5

Moderators: Gaia.

Page: 1

Author Post
Developer
Registered: Apr 2004
Posts: 2218
Location: Belgium
Please see http://usebb.sourceforge.net/docs/doku.php?id=info:usebb_on_php5

You can discuss this here.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
« Last edit by Dietrich on Wed Jul 13, 2005 3:01 pm. »
Member
Registered: Mar 2005
Posts: 5
Curious, does this have to do with use of long arrays (i.e., HTTP_POST_VARS)?
Developer
Registered: Apr 2004
Posts: 2218
Location: Belgium
No. UseBB uses $_POST and $_GET and the other ones in this style (cookie, session, etc...).

The problem is PHP5 might want to send warnings when using 'var' to declare variables in an object.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Mar 2005
Posts: 5
I see, as opposed to 'public', 'private', and 'protected'.
Member
Registered: Jul 2005
Posts: 11
I was just installing the forum on my home computer to do some mods for it, but durring the install (step 2) I get either
"var: Deprecated. Please use the public/private/protected modifiers" (zend.ze1_compatibility_mode = Off) or
"Implicit cloning object of class 'db' because of 'zend.ze1_compatibility_mode'" (zend.ze1_compatibility_mode = On).

I've changed the php.ini setting, restarted, etc. and still can't get it to work on my php5 install. Anyways, I guess I will work with it on my server (running php4), just thought this might help some way.
_______________
--
Dersursine
Developer
Registered: Apr 2004
Posts: 2218
Location: Belgium
The installer will be replaced in 0.6, UseBB itself should work however.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Developer
Registered: Apr 2004
Posts: 2218
Location: Belgium
UseBB 0.6 has undergo some fixes and should work fully on PHP5 shortly.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Jul 2005
Posts: 10
Fixing deprecated variables is easy, set error_reporting(E_ALL); Make an error handler that will work out notices cause by STRICT (E_STRICT) compatability issues.

and voila!
Developer
Registered: Apr 2004
Posts: 2218
Location: Belgium
That's what is being done at this time. :)
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
Well I can vouch for the fact that, apart from a few self inflicted problems which I am working on (long urls, cookies not setting), this excellent Forum/BBS script works 100% with PHP 5.0.5.

Check out http://usebbseven.nzcool.com/ <<< its only a test forum.

This is running on Server 2003 / IIS 6 / PHP 5.0.5 / MySQL 4.1.14

Well done Dietrich 8)

Page: 1

UseBB Community » Help & Support » UseBB and PHP 5

UseBB Community is powered by UseBB 1 Forum Software