6.0.0-beta1
7/5/25

[#7352] fatal error during the execution of setup script
Summary fatal error during the execution of setup script
Queue Horde Groupware Webmail Edition
Queue Version 1.1.3
Type Bug
State No Feedback
Priority 2. Medium
Owners
Requester aravind.raghavan (at) hotmail (dot) com
Created 09/18/2008 (6134 days ago)
Due 09/21/2008 (6131 days ago)
Updated 03/20/2009 (5951 days ago)
Assigned 09/18/2008 (6134 days ago)
Resolved 10/07/2008 (6115 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/20/2009 11:11:07 AM wessel (at) louwris (dot) nl Comment #9 Reply to this comment
I downloaded horde 1.2.2 and also had a



"Warning: array_merge(): Argument #2 is not an array in 
/data/www/intranet/web/horde-webmail-1.2.2/lib/Horde/Perms/sql.php on 
line 409"



according to php docs: "The behavior of array_merge() was modified in 
PHP 5. Unlike PHP 4, array_merge()  now only accepts parameters of 
type array. However, you can use typecasting to merge other types. See 
the example below for details. "



So I casted the second parameter which fixed the problem for me.



Dunno why the $_params['read'] is not an array in my case. Or are all 
the other users without problems using php4?

[Show Quoted Text - 17 lines]
12/21/2008 12:48:27 AM aravind (dot) raghavan (at) hotmail (dot) com Comment #8 Reply to this comment
I am not sure for the reason for the error.  I removed everything and 
did a clean install again. It started working fine.
11/23/2008 03:39:46 AM phatzephron (at) hotmail (dot) com Comment #7 Reply to this comment
Hi guys,



Any luck on this one.  I'm having some issues with this too.
10/07/2008 02:28:03 PM Jan Schneider State ⇒ No Feedback
 
09/22/2008 12:03:02 PM Jan Schneider Comment #6 Reply to this comment
Well, if there are no logs, then you have to add some debug code 
before the line in the file referenced in the error message.
09/19/2008 11:16:58 AM aravind (dot) raghavan (at) hotmail (dot) com Comment #5 Reply to this comment
I could not find a horde.log file in my entire file system.  The 
problem seems to be with mysql connection.  But I dont know what is 
the problem.



thanks,

Aravind.
09/19/2008 08:37:04 AM Jan Schneider Comment #4 Reply to this comment
The log is in /tmp/horde.log by default.
09/19/2008 01:08:33 AM aravind (dot) raghavan (at) hotmail (dot) com Comment #3 Reply to this comment
I am not sure where these details are logged.  (there is no log file 
in horde home directory or no msg in any of the /var/log log files).   
That was the reason I logged the request here (as i could not figure 
out the reason for this error message).
09/18/2008 10:52:11 AM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Details have been logged for the administrator.
And what *are* the details?
09/18/2008 10:09:27 AM aravind (dot) raghavan (at) hotmail (dot) com Comment #1
Milestone ⇒
State ⇒ Unconfirmed
Patch ⇒ No
Queue ⇒ Horde Groupware Webmail Edition
Due ⇒ 09/21/2008
Summary ⇒ fatal error during the execution of setup script
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
When I run the scripts/setup.php script for option 1 (db configuration 
settings) , I get the following error message.  I can run the test.php 
file and my php and mysql installations meet the requirements.  I can 
connect to the database using the same user id / password



Writing main configuration file



Warning: array_merge(): Argument #2 is not an array in 
/var/www/htdocs/horde/lib/Horde/Perms/sql.php on line 405



A fatal error has occurred



DB Error: not found



Details have been logged for the administrator.


Saved Queries