PHP Parse error, syntax error, unexpected ‘new’ (T_NEW) in bb-settings.php
-
My server is showing this error repeatedly:
“PHP Parse error: syntax error, unexpected ‘new’ (T_NEW) in /home/…/bb-settings.php on line 188”When I look at line 186 thru 190 of bb-settings.php, it shows this statement:
// Setup the global database connection $bbdb_class = BB_DATABASE_CLASS; $bbdb =& new $bbdb_class( array( 'name' => BBDB_NAME, 'user' => BBDB_USER,
I am trying to troubleshoot what it is about that line with the “new” statement that causes this parse/syntax error repeatedly by the server. Any thoughts are appreciated. Thank-you.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.