6.0.0-RC7
6/28/26

[#12003] Gollem related errors in log file
Summary Gollem related errors in log file
Queue Gollem
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester csoft2k5 (at) gmail (dot) com
Created 1/29/13 (4898 days ago)
Due
Updated 5/28/13 (4779 days ago)
Assigned 1/29/13 (4898 days ago)
Resolved 5/28/13 (4779 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
1811 lfbm (dot) andamentos (at) gmail (dot) com Comment #13 Reply to this comment
the users save the pref another time (or once you reset the values 
in the backend).
Thanks. It's working now and the log errors have gone away.
309 Jan Schneider Comment #12 Reply to this comment
This commit only fixes the saving of broken columns preferences. You 
still have broken pref values in your backend. They will go away once 
the users save the pref another time (or once you reset the values in 
the backend).
505 lfbm (dot) andamentos (at) gmail (dot) com Comment #11
New Attachment: backends.local.php Download
Reply to this comment
I´ve just applied the patch to 
gollem/lib/Prefs/Special/Columnselect.php, logout, restarted apache, 
but still getting the errors in the log when clicking shares from the 
top bar.

May 28 14:24:17 mserver HORDE: [gollem] PHP ERROR: array_shift() 
expects parameter 1 to be array, string given [pid 13936 on line 587 
of "/var/www/horde/gollem/lib/Gollem.php"]

Also, one of my shares is missing from the menu.

Attached is my backends.local.php. The missing share is the 'smb-transporte'.

Thanks.


224 Jan Schneider State ⇒ Resolved
 
24 Git Commit Comment #10 Reply to this comment
Changes have been made in Git (master):

commit dd0d57342895d3da8ab113118ad6c308b10b102e
Author: Jan Schneider <jan@horde.org>
Date:   Tue May 28 17:59:48 2013 +0200

     [jan] Fix saving columns preference if only one backend exists 
(Bug #12003).

  gollem/docs/CHANGES                       |    1 +
  gollem/lib/Prefs/Special/Columnselect.php |   11 ++++++++++-
  gollem/package.xml                        |    4 ++--
  3 files changed, 13 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/dd0d57342895d3da8ab113118ad6c308b10b102e
51 lfbm (dot) andamentos (at) gmail (dot) com Comment #9 Reply to this comment
Backtrace:
1. Gollem::getColumns() /var/www/horde/gollem/manager.php:262
2. Horde::debug() /var/www/horde/gollem/lib/Gollem.php:586

2013-05-28T13:37:49+00:00 DEBUG: Variable information:
array(9) {
   [0]=>
   string(3) "ftp"
   [1]=>
   string(4) "type"
   [2]=>
   string(4) "name"
   [3]=>
   string(8) "download"
   [4]=>
   string(8) "modified"
   [5]=>
   string(4) "size"
   [6]=>
   string(10) "permission"
   [7]=>
   string(5) "owner"
   [8]=>
   string(5) "group"
}

Backtrace:
1. Gollem::getColumns() /var/www/horde/gollem/manager.php:262
2. Horde::debug() /var/www/horde/gollem/lib/Gollem.php:586

Please, note that I have $backends['ftp']['disabled'] = true; in 
backends.local.php. I only have smb shares (in the same 
backends.local.php)
49 Jan Schneider Comment #8
Assigned to Jan Schneider
Version ⇒ Git master
Reply to this comment
Please put a
Horde::debug($sources);
on line 586 of gollem/lib/Gollem.php.

Horde::debug() documentation: http://wiki.horde.org/Doc/Dev/DebugH4
569 lfbm (dot) andamentos (at) gmail (dot) com Comment #7 Reply to this comment
Hello:

Same thing here with horde 5.0.4 and gollem 3.0.0:

May 27 17:57:15 mserver HORDE: [gollem] PHP ERROR: array_shift() 
expects parameter 1 to be array, string given [pid 2863 on line 587 of 
"/var/www/horde/gollem/lib/Gollem.php"]
May 27 17:57:38  HORDE: last message repeated 8 times

Any click on any link in gollem UI will generate these error msgs.

Thanks.
76 borut (dot) pinter (at) dedomena (dot) si Comment #6 Reply to this comment
Hello,

I'm also using gollem version 3.0.0 and I get the same messages in the logs.
I'm using imp auth against my IMAP server maybe this could be an issue??

regards...

377 csoft2k5 (at) gmail (dot) com Comment #5 Reply to this comment
Yes. The messages still appear in the final version.
43 Jan Schneider Comment #4 Reply to this comment
Do you still see this in the final version?
285 csoft2k5 (at) gmail (dot) com Comment #3 Reply to this comment
It's a fresh install.
224 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Is this a fresh install or an upgrade from an earlier version?
522 csoft2k5 (at) gmail (dot) com Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Gollem related errors in log file
Type ⇒ Bug
Queue ⇒ Gollem
Reply to this comment
Hi. Using latest gollem 3.0 RC2 , I get a lot of these errors in the log file.

2013-01-29T15:26:37+02:00 WARN: HORDE [gollem] PHP ERROR: 
array_shift() expects parameter 1 to be array, string given [pid 27515 
on line 587 of "/var/www/horde.services/gollem/lib/Gollem.php"]
2013-01-29T15:26:37+02:00 WARN: HORDE [gollem] PHP ERROR: 
array_shift() expects parameter 1 to be array, string given [pid 27515 
on line 587 of "/var/www/horde.services/gollem/lib/Gollem.php"]
2013-01-29T15:26:37+02:00 WARN: HORDE [gollem] PHP ERROR: 
array_shift() expects parameter 1 to be array, string given [pid 27515 
on line 587 of "/var/www/horde.services/gollem/lib/Gollem.php"]
2013-01-29T15:26:37+02:00 WARN: HORDE [gollem] PHP ERROR: 
array_shift() expects parameter 1 to be array, string given [pid 27515 
on line 587 of "/var/www/horde.services/gollem/lib/Gollem.php"]

The program works fine in GUI, but these errors appear in log.

Saved Queries