DrSterling / ezrpg

Automatically exported from code.google.com/p/ezrpg
GNU General Public License v3.0
0 stars 0 forks source link

{} #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
problem with:

try
{
    $db = DbFactory::factory($config_driver, $config_server, 
$config_username, $config_password, $config_dbname);
}
catch (DbException $e)
{
    $e->__toString();
}

ive got error: 

Parse error: syntax error, unexpected '{' in init.php  on line 40

Original issue reported on code.google.com by wolu...@gmail.com on 4 Jun 2010 at 1:05

GoogleCodeExporter commented 8 years ago
Are you on PHP5?
PHP4 does not have exceptions.

Original comment by zeg...@gmail.com on 4 Jun 2010 at 1:43

GoogleCodeExporter commented 8 years ago
No response, assuming it's PHP version issue.

Original comment by zeg...@gmail.com on 18 Jun 2010 at 8:06

GoogleCodeExporter commented 8 years ago
yea, u have right :)  this is old php version ;)

Original comment by wolu...@gmail.com on 19 Jun 2010 at 5:48