Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:09 am EST

Geeklog Forums

I could not install Geeklog with Hostmonster.


toshiaf

Anonymous
angry
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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hmm, when exactly are you getting this error? Sounds like something that could come up when posting a story - so you did get Geeklog installed but it's not working properly?

bye, Dirk
 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 Geek

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
 Quote

Status: offline

Alex001

Forum User
Newbie
Registered: 08/27/12
Posts: 4
If you already have hosting but your host does not support Geeklog and you require it,
 Quote

Status: offline

bembe169

Forum User
Newbie
Registered: 02/27/15
Posts: 1
Quote by: 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 Geek

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.
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
Looking at the latest Geeklog code it looks like this issue should be fixed.

What version of Geeklog are you using?
One of the Geeklog Core Developers.
 Quote

All times are EST. The time is now 08:09 am.

  • 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