Welcome to Geeklog Monday, January 27 2020 @ 04:44 pm EST

Geeklog Forums

Menu Plugin Installation Problems


Status: offline

lestat

Forum User
Chatty
Registered: 15/11/03
Posts: 64
Hello,

Issue: I followed the instructions and doubl/triple checked everything. When I go to hit the Install button, nothing happens.

I saw a post where someone was having the same issue. The reply was to disable everything but the menu block. I followed that and the same thing happened. Any help would be greatly appreciated.

I'm using 1.3.10rc2, with Windows 2003/IIS MySQL 4.1 PHP 4.3.9
 Quote

Status: offline

tomw

Forum User
Full Member
Registered: 12/08/02
Posts: 300
What do you mean nothing happens?

Did you enable the menu block?

Did you create a menu?
 Quote

Status: offline

lestat

Forum User
Chatty
Registered: 15/11/03
Posts: 64
I am at the screen:

Install/Uninstall Menu Plug-in
Meun Plug-in is not installed.

Press button to install Menu Plug-in.

Install

When I press the install button, it basically refreshes the page and does nothing. I go into the Plugins section under Admin and the menu plugin is under New Plug-in with the option to install it.
 Quote

Status: offline

tomw

Forum User
Full Member
Registered: 12/08/02
Posts: 300
Look at your error log and see what is there. It should tell you if the install encountered an error.
 Quote

Status: offline

lestat

Forum User
Chatty
Registered: 15/11/03
Posts: 64
I'm sorry...I forgot to mention that...I already looked at the logs and there are no entries that pertain to this. Any more suggestions? I can't wait to get this working...thanks.
 Quote

Status: offline

tomw

Forum User
Full Member
Registered: 12/08/02
Posts: 300
I am at a loss
 Quote

Status: offline

lestat

Forum User
Chatty
Registered: 15/11/03
Posts: 64
Could it have anything to do with permissions? I took a look and everything looks good to me.

IIS6 by default is very secure. Maybe I am missing something?
 Quote

Status: offline

lestat

Forum User
Chatty
Registered: 15/11/03
Posts: 64
Just an FYI to anyone who runs into this issue: I had register_globals = off in my php.ini file. I know the Geeklog installation docs note to turn On, but missed I it - this was a new install.

So its working now.
 Quote

Status: offline

Ktulu

Forum User
Newbie
Registered: 07/10/04
Posts: 5
Location:Lithuania, Kaunas
I have the same problem installing this plugin, but register_globals = On in my php.ini too.
Any other ideas?
 Quote

dfhgh

Anonymous
before installing it, disable all other plugins and it should install fine.
Re-enable them once the menu plugin is installed.
 Quote

Status: offline

Ktulu

Forum User
Newbie
Registered: 07/10/04
Posts: 5
Location:Lithuania, Kaunas
Disabled all plugins, but it also didn't help Sad
Banging your head
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 22/03/04
Posts: 1512
did you check that all the proper pages are copied to your server in their proper paths? the install.php in particular
 Quote

Status: offline

Ktulu

Forum User
Newbie
Registered: 07/10/04
Posts: 5
Location:Lithuania, Kaunas
Yep, checked all paths not once and not twice...
the install.php file is in /geeklog/public_html/admin/plugins/menu/
all other files seems to be in right places...

the system is Debian/Linux
PHP 4.3.10
I had to upgrade PHP manually, and maybe I did it wrong? Neutral
Have no other ideas who to blame
 Quote

Status: offline

jlawrence

Forum User
Chatty
Registered: 30/12/04
Posts: 49
Location:Plymouth, Devon, UK
I have a similar problem.
Installing plugins worked fine - until I upgraded to php 4.3.10.
The problem in my case is dur to DB_insert() not working correctly.
DB_insert basically gets the most recently generated auto_increment value using mysql_insert_id.
I've found that on my php installation mysql_insert_id doesn't work.
Rather than alter the GL core, I add the following to plugin installation scripts - normally located in /public_html/admin/plugin//install.php - after each call to DB_insert():
if ($group_id == 0){
//lets try and get the data via a different means
$jl = "select last_insert_id()";
$result = DB_query($jl);
$jl_id = DB_fetchArray ($result);
$group_id = $jl_id[0];
COM_errorLog("group_id is set to $group_id",1);
}

You need to replace $group_id with the relevant variable - in most install scripts DB_insert() is used to set $group_id and $feat_id.

I don't yet know if this is a problem with just my 4.3.10 installation or if for some strange reason mysql_insert_id() no longer functions correctly.

HTH
Jon
www.plymouthcricketclub.com - providing cricket for all ages in the Plymouth area.
 Quote

duvide

Anonymous
if the previous entry is the solution, I would like to have it explained a bit more clearer since I don't know much about php programming itself.
All I know is that I have the same problem with the menu plugin and I run php 4.3.10 on my server. On a different server (I don't know the php version because I don't have root access) the menu works fine.
The menu plugin is the most important plugin for me so I need to get in running and I suppose a more people too. Giving it a try Giving it a try

Frank
 Quote

Status: offline

Ktulu

Forum User
Newbie
Registered: 07/10/04
Posts: 5
Location:Lithuania, Kaunas
I add the following to plugin installation scripts - normally located in /public_html/admin/plugin//install.php - after each call to DB_insert():


Hello, again Smile
Fallowing these instructions I couldn't find that DB_insert()
All I've found in install.php was DB_insertId()

What's wrong this time? Confused
 Quote

Veng

Anonymous
You may find that its a globals vs superglobals issue. I cant run with globals on, so I tend to weed these things out.

Try changing all lines that say:

if (isset($action))

to:

if (isset($_POST['action']))

usually at the top of pages :-)

.... it helped when installing phpBBBridge plugin.
 Quote

Chris

Anonymous
cheerful
jlawrence: I had a similar problem with installing plugins in general - I'd click the install button and be greeted by a blank screen and a log file that contained some positive looking stuff but then curiously stopped.

I tried your suggestion and that cleared the problem right up! Big Celebration
 Quote

demerson

Anonymous
I'm having real problems here getting phpbbbridge to install... all permissions check out, globals on, files in the right place, and I've tried every modification suggested to install.php, yet I cannot get the blessed thing to install...

Any ideas?
 Quote

All times are EST. The time is now 04:44 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