6.0.0-beta1
7/6/25

[#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 01/29/2013 (4541 days ago)
Due
Updated 05/28/2013 (4422 days ago)
Assigned 01/29/2013 (4541 days ago)
Resolved 05/28/2013 (4422 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/28/2013 11:15:18 PM 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.
05/28/2013 09:48:30 PM 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).
05/28/2013 05:27:50 PM 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.


05/28/2013 04:00:22 PM Jan Schneider State ⇒ Resolved
 
05/28/2013 04:00:02 PM 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
05/28/2013 01:52:05 PM 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)
05/28/2013 09:15:04 AM 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
05/27/2013 09:00:56 PM 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.
03/28/2013 06:50:07 PM 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...

03/12/2013 07:31:37 AM csoft2k5 (at) gmail (dot) com Comment #5 Reply to this comment
Yes. The messages still appear in the final version.
03/05/2013 03:30:04 PM Jan Schneider Comment #4 Reply to this comment
Do you still see this in the final version?
01/29/2013 05:01:28 PM csoft2k5 (at) gmail (dot) com Comment #3 Reply to this comment
It's a fresh install.
01/29/2013 04:38:22 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Is this a fresh install or an upgrade from an earlier version?
01/29/2013 02:25:52 PM 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