Bug #32572 | compilation error | ||
---|---|---|---|
Submitted: | 21 Nov 2007 13:10 | Modified: | 23 Nov 2007 3:52 |
Reporter: | Andrejs Dubovskis | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Eventum | Severity: | S1 (Critical) |
Version: | 2.1 | OS: | Linux (Debian etch) |
Assigned to: | Bryan Alsdorf | CPU Architecture: | Any |
[21 Nov 2007 13:10]
Andrejs Dubovskis
[21 Nov 2007 13:16]
Andrejs Dubovskis
PHP 4.4.4-8+etch4 (cli) (built: Jun 30 2007 21:02:54) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
[21 Nov 2007 21:59]
Bryan Alsdorf
This looks to be related to PHP4. Since PHP 4 is EOL'd we don't do testing on it, though this release should have still worked with it. To get this to work in PHP4, open up include/class.error_handler.php and change &$error_msg to $error_msg Please let me know if this works for you. Best Regards, /bryan
[22 Nov 2007 10:47]
Andrejs Dubovskis
Yes, this did help. Now the file was compiled with no error. --- class.error_handler.php.old 2007-11-22 12:46:11.000000000 +0200 +++ class.error_handler.php 2007-11-22 12:46:31.000000000 +0200 @@ -136,7 +136,7 @@ * @param string $script The script name where the error happened * @param integer $line The line number where the error happened */ - function &_createErrorReport(&$error_msg = 'unknown', $script = 'unknown', $line = 'unknown') + function &_createErrorReport($error_msg = 'unknown', $script = 'unknown', $line = 'unknown') { $msg = "An error was found on line '" . $line . "' of script " . "'$script'.\n\n";
[23 Nov 2007 3:52]
Bryan Alsdorf
Thanks for confirming this worked and sorry for the hassle. This has been fixed in SVN. Best Regards, /bryan