View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000176 | WackoWiki | action | public | 2008-06-01 18:19 | 2009-08-19 09:39 |
Reporter | administrator | Assigned To | Tann San | ||
Priority | normal | Severity | block | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Target Version | 4.3.rc | Fixed in Version | 4.3.rc | ||
Summary | 0000176: recentcomments / recentlycommented -> Fatal error | ||||
Description | Fatal error: Using $this when not in object context in /actions/recentlycommented.php on line 11 Fatal error: Using $this when not in object context in /actions/recentcomments.php on line 8 ($for?"super_comment_on like '".quote($this->dblink, $wacko->NpjTranslit($for))."/%' ":"comment_on != '' "). | ||||
Steps To Reproduce | if (!isset($root)) $root = $this->UnwrapLink($vars[0]); | ||||
Tags | No tags attached. | ||||
|
Could you explain how to reproduce this error. Those two pages show up ok for me with the latest SVN download. |
|
just put one of this action in any page or subpage {{recentcomments}} {{recentlycommented}} |
|
http://www.webmaster-talk.com/php-forum/43174-fatal-error-using-when-not-object.html ...it's a problem with the script being written for PHP4 and being run on a server with PHP5... |
|
Was using $this instead of the $wacko reference. In PHP5 using $this is fine since the functions it was written in become part of the main class. In PHP4 they don't so you have to use the passed in Wacko reference. |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-06-01 18:19 | administrator | New Issue | |
2008-06-01 18:19 | administrator | Legacy | => NEW |
2008-06-09 21:48 | Tann San | Note Added: 0000360 | |
2008-06-11 20:15 | administrator | Note Added: 0000362 | |
2008-06-26 13:08 | administrator | Steps to Reproduce Updated | |
2008-06-26 13:08 | administrator | Note Added: 0000383 | |
2008-06-26 13:17 | administrator | Note Edited: 0000383 | |
2008-06-30 10:24 | Tann San | Note Added: 0000387 | |
2008-06-30 10:24 | Tann San | Status | new => resolved |
2008-06-30 10:24 | Tann San | Fixed in Version | => 5.0.0 |
2008-06-30 10:24 | Tann San | Resolution | open => fixed |
2008-06-30 10:24 | Tann San | Assigned To | => Tann San |
2008-06-30 11:33 | administrator | Note Edited: 0000362 | |
2008-08-23 14:19 | administrator | Note Edited: 0000362 | |
2009-08-19 09:22 | administrator | Fixed in Version | 5.0.0 => 4.3.rc |
2009-08-19 09:39 | administrator | Target Version | 5.0.0 => 4.3.rc |
2010-03-08 10:09 | administrator | Category | Action => action |
2010-10-17 23:00 | administrator | Note Edited: 0000362 |