Topics

User Functions

Events

There are no upcoming events

What's New

Stories

1 new Stories in the last 2 weeks

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Saturday, May 25 2013 @ 03:14 PM EDT


 Forum Index > Support > Installation Support New Topic Post Reply
 I could not install Geeklog with Hostmonster.
   
Anonymous: toshiaf
 03/04/12 08:04AM (Read 1001 times)  

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
Dirk
 03/04/12 09:29AM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
Dirk
 03/04/12 12:36PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
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:

PHP Formatted Code
$all_plugins = array_merge($_PLUGINS, array('story', 'user'));


Before that line, add this line:

PHP 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

 
Profile Email Website
 Quote
Alex001
 03/04/13 01:24AM  
+----
Newbie

Status: offline


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

 
Profile Email
 Quote
Content generated in: 2.12 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content