[Tickets #7352] Re: fatal error during the execution of setup script
bugs at horde.org
bugs at horde.org
Fri Mar 20 11:11:10 UTC 2009
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7352
------------------------------------------------------------------------------
Ticket | 7352
Updated By | wessel at louwris.nl
Summary | fatal error during the execution of setup script
Queue | Horde Groupware Webmail Edition
Version | 1.1.3
Type | Bug
State | No Feedback
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
wessel at louwris.nl (2009-03-20 07:11) wrote:
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?
> 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.
>
More information about the bugs
mailing list