ID: 26760 Updated by: [EMAIL PROTECTED] Reported By: eero at volotinen dot com -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: linux 2.6 PHP Version: 5CVS-2004-01-01 (dev) New Comment:
can you test the simple script below.. - line 27 appears to be the class definition line. test it with php -l test.php (eg. syntax test it.) .. if this works, go back to the mysql.php file, and remove chunks. (eg. methods) and syntax test it - narrowing down the problem. <?php if(!defined("SQL_LAYER")) { define("SQL_LAYER","mysql"); class sql_db { var $test; } } // end if.. Previous Comments: ------------------------------------------------------------------------ [2004-01-02 04:53:03] eero at volotinen dot com [02-Jan-2004 09:19:12] PHP Parse error: parse error in /home/apache/www/forum/phpBB2/db/mysql.php on line 27 [02-Jan-2004 09:19:12] PHP Fatal error: Class 'sql_db' not found in /home/apache/www/forum/phpBB2/includes/db.php on line 60 Both files can be found from : http://www.linux.ncp.fi/~eero/php_error/ I think problem was started on a few days builds. ------------------------------------------------------------------------ [2004-01-02 02:28:57] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try avoid embedding huge scripts into the report. please look at detail what is causing the problem. - or contact the support resources. www.php.net/support ------------------------------------------------------------------------ [2004-01-02 02:00:45] eero at volotinen dot com [01-Jan-2004 16:19:15] PHP Fatal error: Class 'sql_db' not found in /home/apache/www/forum/phpBB2/includes/db.php on line 60 What is broken, it worked in older build. ------------------------------------------------------------------------ [2004-01-01 12:06:50] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2004-01-01 11:07:58] eero at volotinen dot com Description: ------------ Latest build breaks phpbb2 forum. Expected result: ---------------- Phpbb2 does not show anything. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26760&edit=1