Welcome to Geeklog, Anonymous Friday, November 08 2024 @ 10:28 pm EST
Geeklog Forums
I could not install Geeklog with Hostmonster.
toshiaf
Anonymous
Hi I have tried to install Geeklog at Hostmonster server. But I got an error with debug mode;
2 - array_merge() [function.array-merge]: Argument #1 is not an array @ /home1/xxxx/private/_GeeklogJpn/system/lib-plugins.php line 1553
How can I resolve this error?
Thank you for your kindness.
Toshiaf
2 - array_merge() [function.array-merge]: Argument #1 is not an array @ /home1/xxxx/private/_GeeklogJpn/system/lib-plugins.php line 1553
How can I resolve this error?
Thank you for your kindness.
Toshiaf
18
15
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Actually, I think I just ran into a similar issue with a local test install. When an error occurs during the installation and we want to log it to the error.log file, it's possible that Geeklog tries to call a function that's not ready for use yet (since Geeklog hasn't been installed yet).
Ouch
Try this: Open the file system/lib-plugins.php in a text editor. Go to line 1553 (as reported), which should look like this:
Before that line, add this line:
Save the file, drop your database and try again.
As I said above, this probably happens because there was an error during the installation, so it may still not work - but at least now it should give you an idea what the actual problem is.
bye, Dirk
Ouch
Try this: Open the file system/lib-plugins.php in a text editor. Go to line 1553 (as reported), which should look like this:
Text Formatted Code
$all_plugins = array_merge($_PLUGINS, array('story', 'user'));Before that line, add this line:
Text Formatted Code
if (empty($_PLUGINS)) { $_PLUGINS = array(); }Save the file, drop your database and try again.
As I said above, this probably happens because there was an error during the installation, so it may still not work - but at least now it should give you an idea what the actual problem is.
bye, Dirk
18
9
Quote
Status: offline
bembe169
Forum User
Newbie
Registered: 02/27/15
Posts: 1
Quote by: Dirk
Before that line, add this line:
Save the file, drop your database and try again.
As I said above, this probably happens because there was an error during the installation, so it may still not work - but at least now it should give you an idea what the actual problem is.
bye, Dirk
Actually, I think I just ran into a similar issue with a local test install. When an error occurs during the installation and we want to log it to the error.log file, it's possible that Geeklog tries to call a function that's not ready for use yet (since Geeklog hasn't been installed yet).
Ouch
Try this: Open the file system/lib-plugins.php in a text editor. Go to line 1553 (as reported), which should look like this:
Text Formatted Code
$all_plugins = array_merge($_PLUGINS, array('story', 'user'));Before that line, add this line:
Text Formatted Code
if (empty($_PLUGINS)) { $_PLUGINS = array(); }Save the file, drop your database and try again.
As I said above, this probably happens because there was an error during the installation, so it may still not work - but at least now it should give you an idea what the actual problem is.
bye, Dirk
I have the same issue too. I'll try this one and see if it would do any good. Thanks.
17
16
Quote
All times are EST. The time is now 10:28 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content