Quotevar: Deprecated. Please use the public/private/protected modifiers
Sorry if this has been asked before.
If it matters, my PHP version is PHP 5.
Thanks.

Moderators: Gaia.
Page: 1
| Author | Post |
|---|---|
|
#1 Sun Jun 26, 2005 2:12 am
|
|
|
Member
Registered: Jun 2005
Posts: 1
|
When installing, I get:
Sorry if this has been asked before. If it matters, my PHP version is PHP 5. Thanks. ![]() |
|
#2 Sun Jun 26, 2005 6:18 am
|
|
|
Member
Registered: Jun 2005
Posts: 1
|
There are some lines (line 43 - 45) in sources/db_mysql.php that php 5.x don't like. Change as follows:
// // Variables in this class // # Original: var $connection; # Original: var $queries = array(); # Original: var $results = array(); // // PHP version 5.x // public $connection; public $queries = array(); public $results = array(); That'll do the trick. A better solution will be to write a structure that includes the correct lines based on the php version. |
Page: 1
UseBB Community is powered by UseBB 1 Forum Software