Summary | Gollem Clipboard is broken |
Queue | Gollem |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | cjdl01 (at) brokensolstice (dot) com |
Created | 03/10/2013 (4501 days ago) |
Due | |
Updated | 02/02/2016 (3442 days ago) |
Assigned | 07/10/2013 (4379 days ago) |
Resolved | 02/02/2016 (3442 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
https://github.com/horde/horde/commit/1090f9fd15e19f1ac4e631b527955e7f6d9b52b1
State ⇒ Assigned
We use PostgreSQL. The Gollem config was set from the web UI with
$conf[backend][backend_list] = None and is about as simple as it gets...
/etc/horde/gollem/backends.d/10-webmail.php
<?php
$backends['ftp']['disabled'] = true;
$backends['sqlhome']['disabled'] = false;
$backends['sqlhome']['name'] = 'Home';
We have not made any other config changes. We do NOT yet have a
backends.local.php
Anyway, we ran across this when trying to cut & paste a file from one
folder to another.
Here is what happened for us:
- After logging in I opened my Home folder and selected the file
- click on "Cut"
- click on the destination folder (IronicDesign in this case)
- once in the new folder, click on the Clipboard
- select the file in the clipboard and click Paste
The web site responded with the error page below. A later check shows
the file was moved to the new folder successfully.
A fatal error has occurred
Unable to load SQL data.
1. Gollem::moveFile() /usr/share/horde/gollem/manager.php:169
2. Gollem::_copyFile() /usr/share/horde/gollem/lib/Gollem.php:480
3. Gollem::moveFile() /usr/share/horde/gollem/manager.php:169
4. Gollem::_copyFile() /usr/share/horde/gollem/lib/Gollem.php:480
5. Horde_Vfs_Sql->read() /usr/share/horde/gollem/lib/Gollem.php:550
6. Horde_Vfs_Sql->_readBlob() /usr/share/php/Horde/Vfs/Sql.php:145
Details
The full error message is logged in Horde's log file, and is shown
below only to administrators. Non-administrative users will not see
error details.
Gollem_Exception Object
(
[details] =>
[logged] => 1
[_logLevel:protected] => 0
[message:protected] => Unable to load SQL data.
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /usr/share/horde/gollem/lib/Gollem.php
[line:protected] => 560
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /usr/share/horde/gollem/lib/Gollem.php
[line] => 480
[function] => _copyFile
[class] => Gollem
[type] => ::
[args] => Array
(
[0] => move
[1] => sqlhome
[2] => /home/andydorman@comehome.net
[3] => Maintainable_JavaScript.pdf
[4] => sqlhome
[5] => /home/andydorman@comehome.net/IronicDesign
)
)
[1] => Array
(
[file] => /usr/share/horde/gollem/manager.php
[line] => 169
[function] => moveFile
[class] => Gollem
[type] => ::
[args] => Array
(
[0] => sqlhome
[1] => /home/andydorman@comehome.net
[2] => Maintainable_JavaScript.pdf
[3] => sqlhome
[4] => /home/andydorman@comehome.net/IronicDesign
)
)
)
[previous:Exception:private] => Horde_Vfs_Exception Object
(
[details] =>
[logged] =>
[_logLevel:protected] => 0
[message:protected] => Unable to load SQL data.
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /usr/share/php/Horde/Vfs/Sql.php
[line:protected] => 660
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /usr/share/php/Horde/Vfs/Sql.php
[line] => 145
[function] => _readBlob
[class] => Horde_Vfs_Sql
[type] => ->
[args] => Array
(
[0] => horde_vfs
[1] => vfs_data
[2] => Array
(
[vfs_path] =>
home/andydorman@comehome.net
[vfs_name] =>
Maintainable_JavaScript.pdf
)
)
)
[1] => Array
(
[file] => /usr/share/horde/gollem/lib/Gollem.php
[line] => 550
[function] => read
[class] => Horde_Vfs_Sql
[type] => ->
[args] => Array
(
[0] => /home/andydorman@comehome.net
[1] => Maintainable_JavaScript.pdf
)
)
[2] => Array
(
[file] => /usr/share/horde/gollem/lib/Gollem.php
[line] => 480
[function] => _copyFile
[class] => Gollem
[type] => ::
[args] => Array
(
[0] => move
[1] => sqlhome
[2] => /home/andydorman@comehome.net
[3] => Maintainable_JavaScript.pdf
[4] => sqlhome
[5] =>
/home/andydorman@comehome.net/IronicDesign
)
)
[3] => Array
(
[file] => /usr/share/horde/gollem/manager.php
[line] => 169
[function] => moveFile
[class] => Gollem
[type] => ::
[args] => Array
(
[0] => sqlhome
[1] => /home/andydorman@comehome.net
[2] => Maintainable_JavaScript.pdf
[3] => sqlhome
[4] =>
/home/andydorman@comehome.net/IronicDesign
)
)
)
[previous:Exception:private] =>
)
)
Our Horde log showed this at the same time
2013-07-09T15:23:40.504516-05:00 yorick HORDE: [gollem] Unable to load
SQL data. [pid 15115 on line 560 of
"/usr/share/horde/gollem/lib/Gollem.php"]
2013-07-09T15:23:40.754746-05:00 yorick HORDE: User is not authorized
for horde [pid 15115 on line 267 of "/usr/share/php/Horde/Registry.php"]
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Gollem Clipboard is broken
Queue ⇒ Gollem
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
to gollem seems fine).
When I cut a file (named "Debian Netbooky" under the ftp root, and try
to paste it into another folder, I get th e following error:
======================================================================================================
A fatal error has occurred
Failed to move to "/Debian on Netbooky".
1. Gollem::moveFile() /var/www/horde/gollem/manager.php:169
2. Gollem::_copyFile() /var/www/horde/gollem/lib/Gollem.php:480
3. Gollem::moveFile() /var/www/horde/gollem/manager.php:169
4. Gollem::_copyFile() /var/www/horde/gollem/lib/Gollem.php:480
5. Horde_Vfs_Ftp->move() /var/www/horde/gollem/lib/Gollem.php:522
Details
The full error message is logged in Horde's log file, and is shown
below only to administrators. Non-administrative users will not see
error details.
Gollem_Exception Object
(
[details] =>
[logged] => 1
[_logLevel:protected] => 0
[message:protected] => Failed to move to "/Debian on Netbooky".
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /var/www/horde/gollem/lib/Gollem.php
[line:protected] => 525
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/horde/gollem/lib/Gollem.php
[line] => 480
[function] => _copyFile
[class] => Gollem
[type] => ::
[args] => Array
(
[0] => move
[1] => ftp
[2] => /
[3] => Debian on Netbooky
[4] => ftp
[5] => /
)
)
[1] => Array
(
[file] => /var/www/horde/gollem/manager.php
[line] => 169
[function] => moveFile
[class] => Gollem
[type] => ::
[args] => Array
(
[0] => ftp
[1] => /
[2] => Debian on Netbooky
[3] => ftp
[4] => /
)
)
)
[previous:Exception:private] => Horde_Vfs_Exception Object
(
[details] =>
[logged] =>
[_logLevel:protected] => 0
[message:protected] => Failed to move to "/Debian on Netbooky".
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /usr/share/php/Horde/Vfs/Ftp.php
[line:protected] => 717
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/horde/gollem/lib/Gollem.php
[line] => 522
[function] => move
[class] => Horde_Vfs_Ftp
[type] => ->
[args] => Array
(
[0] => /
[1] => Debian on Netbooky
[2] => /
)
)
[1] => Array
(
[file] => /var/www/horde/gollem/lib/Gollem.php
[line] => 480
[function] => _copyFile
[class] => Gollem
[type] => ::
[args] => Array
(
[0] => move
[1] => ftp
[2] => /
[3] => Debian on Netbooky
[4] => ftp
[5] => /
)
)
[2] => Array
(
[file] => /var/www/horde/gollem/manager.php
[line] => 169
[function] => moveFile
[class] => Gollem
[type] => ::
[args] => Array
(
[0] => ftp
[1] => /
[2] => Debian on Netbooky
[3] => ftp
[4] => /
)
)
)
[previous:Exception:private] =>
)
)
======================================================================================
This is in my horde log:
==========================================================================================================
2013-02-17T20:55:11+00:00 WARN: HORDE [gollem] PHP ERROR: rewind():
stream does not support seeking [pid 23626 on line 1816 of
"/usr/share/php/Horde/Mime/Part.php"]
2013-02-17T20:55:11+00:00 WARN: HORDE [gollem] PHP ERROR: fseek():
stream does not support seeking [pid 23626 on line 73 of
"/var/www/horde/gollem/view.php"]
2013-02-17T20:55:14+00:00 WARN: HORDE [horde] PHP ERROR: rewind():
stream does not support seeking [pid 23626 on line 56 of
"/var/www/horde/services/download/index.php"]
2013-02-17T20:56:03+00:00 ERR: HORDE [gollem] Share name ftp|//Debian
on Netbook not found [pid 23895 on line 179 of
"/usr/share/php/Horde/Share/Sql.php"]
2013-02-17T20:56:27+00:00 EMERG: HORDE [gollem] Unable to open VFS
file "/Debian on Netbooky". [pid 23895 on line 560 of
"/var/www/horde/gollem/lib/Gollem.php"]
2013-02-17T20:56:27+00:00 WARN: HORDE [gollem] PHP ERROR: Cannot
modify header information - headers already sent [pid 23895 on line 0
of "Unknown"]
2013-02-17T20:56:27+00:00 WARN: HORDE [gollem] PHP ERROR: Cannot
modify header information - headers already sent [pid 23895 on line 0
of "Unknown"]
===========================================================================================================
Here is my backends.local (cutting out the comments):
----------------------------------------
$backends['ftp'] = array(
// ENABLED by default
'disabled' => false,
'name' => 'FTP Server',
'driver' => 'ftp',
'hordeauth' => true,
'params' => array(
'hostspec' => 'localhost',
'port' => 21,
'pasv' => false,
),
'loginparams' => array(
),
'attributes' => array(
'type',
'name',
'edit',
'download',
'modified',
'size',
'permission',
'owner',
'group'
)
);
---------------------------------------------------
My VFS is set in the horde global configs as /tmp.
Thank you for any help!
-Chris
Address Book Address Book (turba) 4.0.3
Calendar Calendar (kronolith) 4.0.4
content 2.0.2
File Manager File Manager (gollem) 3.0.0
Filters Filters (ingo) 3.0.3
Horde Horde (horde) 5.0.4
Mail Mail (imp) 6.0.4
Notes Notes (mnemo) 4.0.3
Tasks Tasks (nag) 4.0.2
using vsftp on debian lenny system (which worked fine with the
previous version of gollem).