Opened 16 years ago
Closed 16 years ago
#5277 closed patch (fixed)
Problem with mythweb and PHP 5.2
Reported by: | Owned by: | Rob Smith | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythweb | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I just upgraded to latest SVN on my Ubuntu 7.10 backend, and running mythweb I got the following error:
Fatal error: Nesting level too deep - recursive dependency? in /usr/local/src/mythweb/classes/Database.php on line 202
The following patch fixes it:
Index: mythweb/classes/Database.php =================================================================== --- mythweb/classes/Database.php (revision 17185) +++ mythweb/classes/Database.php (working copy) @@ -199,7 +199,7 @@
- @param string $name The global name this instance is registered as.
//
function register_global_name($name) {
- if ($GLOBALS[$name] == $this) {
+ if ($GLOBALS[$name] === $this) {
$this->global_name = $name; return true;
}
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | mythweb-php5.2.diff added |
---|
comment:1 Changed 16 years ago by
Owner: | changed from xris to Rob Smith |
---|---|
Status: | new → accepted |
Working patch...