php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56900 inheritance problems
Submitted: 2006-03-18 16:30 UTC Modified: 2006-07-27 11:02 UTC
From: ilia at obnovlenie dot ru Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5.1.1 OS: Gentoo Linux
Private report: No CVE-ID: None
 [2006-03-18 16:30 UTC] ilia at obnovlenie dot ru
Description:
------------
Fatal error: Cannot access parent:: when current class scope has no parent in /usr/share/php/HTML/QuickForm/hidden.php on line 50 
Call Stack 
# Function Location 
1 {main}() /var/site/sites/beforestart.php:0 
2 include_once('/var/site/sites/engine/start.php') /var/site/sites/beforestart.php:50 
3 include('/var/site/sites/package/diary/hook.php') /var/site/sites/engine/start.php:395 
4 require_once('/var/site/sites/package/diary/main.php') /var/site/sites/package/diary/hook.php:26 
5 require_once('/var/site/sites/package/diary/owner.php') /var/site/sites/package/diary/main.php:78 
6 require_once('/var/site/sites/package/diary/owner/journal.php') /var/site/sites/package/diary/owner.php:56 
7 require_once('/var/site/sites/package/diary/owner/journal/add_record.php') /var/site/sites/package/diary/owner/journal.php:17 
8 include('/var/site/sites/package/diary/form/add_record.inc') /var/site/sites/package/diary/owner/journal/add_record.php:11 
9 HTML_QuickForm->setMaxFileSize() /var/site/sites/package/diary/form/add_record.inc:6 
10 HTML_QuickForm->addElement() /usr/share/php/HTML/QuickForm.php:498 
11 HTML_QuickForm->_loadElement() /usr/share/php/HTML/QuickForm.php:602 
12 HTML_QuickForm_hidden->HTML_QuickForm_hidden() /usr/share/php/HTML/QuickForm.php:566 



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-21 09:34 UTC] gopalv82 at yahoo dot com
http://pecl.php.net/bugs/bug.php?id=5401

follow the discussions ...
 [2006-03-21 11:43 UTC] ilia at obnovlenie dot ru
That bug was CLOSED, but it is still Open for APC 3.0.18 and PHP 5.1.2

That's why I posted the new one. Just to make a note :)
 [2006-04-21 09:40 UTC] tigr at mail15 dot com
Here is another bug report about the same problem:

http://pecl.php.net/bugs/bug.php?id=5314
 [2006-07-27 11:02 UTC] gopalv82 at yahoo dot com
The inheritance issues should be resolved on current CVS HEAD for php 5.1.x.

Closing this bug, but please re-test and confirm my fix.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jan 17 03:03:34 2022 UTC