[Tickets #5807] In History view I cann't remove the last page revision

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Oct 17 13:55:42 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5807
-----------------------------------------------------------------------
 Ticket             | 5807
 Created By         | scalero at datadec.es
 Summary            | In History view I cann't remove the last page revision
 Queue              | Wicked
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


scalero at datadec.es (2007-10-17 06:55) wrote:

I run 'Wicked' with PHP-4.4.4 and Oracle like bbdd backend, when I go to
the 'History' view a wiki page and I remove its last version, I obtain this
error in the log:


[Wed Oct 17 12:22:48 2007] [error] PHP Notice:  Object to string
conversion in /php/4.4/pear/DB/oci8.php on line 565
[Wed Oct 17 12:22:48 2007] [error] PHP Warning:  preg_match() expects
parameter 2 to be string, object given in /php/4.4/pear/DB.php on line 635
Oct 17 12:18:39 HORDE [error] [wicked] DB Error: mismatch: Object [DB
Error: mismatch] [on line 799 of
"/rootweb/horde/wicked/lib/Driver/sql.php"]


It works with this change and I think this still continue working with
MySQL:


File: "wicked/lib/Driver/sql.php" Line: 792
-----------------------------------------------------------------------

-            $query = $this->_db->modifyLimitQuery($query, 0, 1);
+            $query = $this->_db->modifyLimitQuery($query, 0, 1,
array($pagename));



More information about the bugs mailing list