//
// Variables in this class
//
var $connection;
var $queries;
and change them to
//
// Variables in this class
//
public $connection;
public $queries;
PS : I'm not 100% the forum will work correct but it seems to do the job.
_______________
Page: 1
| Author | Post |
|---|---|
|
#1 Thu Jul 29, 2004 7:49 pm
|
|
|
Member
Registered: Apr 2004
Posts: 192
Location: Brussels Belgium
|
First of all Usebb 0.2.3 doesnt work with PHP5. Two simple adjustments can make it php5 compatible. Open the file db_mysql.php that can be found in the sources directory. Then find lines 40 & 41.
// // Variables in this class // var $connection; var $queries; and change them to // // Variables in this class // public $connection; public $queries; PS : I'm not 100% the forum will work correct but it seems to do the job. _______________ |
|
#2 Thu Jul 29, 2004 8:28 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
Do you know which error it returned before changing those lines?
I think it's strange having to change those variabeles to public ones without having to do the same for those in the template class... _______________ |
|
#3 Thu Jul 29, 2004 8:30 pm
|
|
|
Member
Registered: Apr 2004
Posts: 192
Location: Brussels Belgium
|
It returned that you have to change the "var" commands to "public/private/protected". The board works fine. But if you want I could change every class to the PHP5 method.
_______________ |
|
#4 Thu Jul 29, 2004 8:34 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
Did it return any file name and/or line number? That would be helpful.
_______________ |
|
#5 Thu Jul 29, 2004 8:35 pm
|
|
|
Member
Registered: Apr 2004
Posts: 192
Location: Brussels Belgium
|
db_mysql.php line 40
_______________ |
|
#6 Sun Aug 15, 2004 1:36 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
Seems like I need a PHP5 installation to test things...
![]() _______________ |
|
#7 Fri Dec 17, 2004 11:55 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
At last, the current dev version of 0.3 seems to work fully on PHP 5.0.3.
![]() _______________ |
|
#8 Mon Dec 20, 2004 1:53 am
|
|
|
Member
Registered: Nov 2004
Posts: 79
|
dietrich, that's awesome!!!
now all we need is smileys, heh im dying to be staff someday, that is my dream |
|
#9 Mon Dec 20, 2004 12:10 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
Smilies should be in 0.3. But I can't guarantee anything.
To become staff => e-mail contact at usebb.net. _______________ |
|
#10 Wed Dec 22, 2004 1:23 am
|
|
|
Member
Registered: Nov 2004
Posts: 79
|
if your going to read it, is it not better to post here? All I would say is that I know php/mysql, and that I can do spanish support.
|
Page: 1
UseBB Community is powered by UseBB 1 Forum Software