Welcome to Geeklog Monday, November 29 2021 @ 12:04 am EST

Geeklog Forums

GL/Plugin Problem

Page navigation


Status: offline

cspires

Forum User
Junior
Registered: 28/10/05
Posts: 33
Location:Raleigh
worried
I'm haivng a problem installing ANY plugin on my GL installation.

A bit of background:

I've recently migrated my GL site from Hosting Service A to Hosting Service B. On Hosting Service A, where my old GL site (ver. 1.3.11) resides, I had encounted a problem some time ago where I could not install plugins. I was able to successfully install the phpBBBride plugin, then several days later when I tried to install another addon (filemgmt) I was not able to install any other plugins.

On my new hosting service I've successfully migrated over my GL installation, to include the entire database from my ver. 1.3.11 install on a fresh new 1.4 install. The site is up and running (www.themidnightorder.com) however again I cannot install plugins.

What to do?

I know this is not a php setting on the server, because on my new hosting service I have two serperate GL installations running, and on the other one I'm able to install addons at my hearts desire. It has to be something with the database from my previous install.

What happens is one of two things:

A) When I visit the install page for the plugin, and click the install button it seems to just refresh the page. The plugin does not install and it just kicks me directly back to the admin install page (geeklog/admin/plugings/filemgmt/install.php) for the plugin. (Does this for the filemgmt plugin.)

Cool It takes me to a blank page, with the URL "geeklog/admin/plugins/registration/install.php?action=install" (Does this for the glEventManager pluging which I purchased from portalparts.com)

Any ideas on what in my DB would be causing this? Any solutions? Thanks in advance.

-Chris

www.themidnightorder.com
 Quote

Status: offline

cspires

Forum User
Junior
Registered: 28/10/05
Posts: 33
Location:Raleigh
Just in case it helps, below if a dump of my gl_plugins table. Not sure if it is of any use to you, but if there is anything else I can provide I'll be happpy to do so, just let me know what you need.

PHP Formatted Code
-- Table structure for table `gl_plugins`
--

CREATE TABLE `gl_plugins` (
  `pi_name` varchar(30) NOT NULL default '',
  `pi_version` varchar(20) NOT NULL default '',
  `pi_gl_version` varchar(20) NOT NULL default '',
  `pi_enabled` tinyint(3) unsigned NOT NULL default '1',
  `pi_homepage` varchar(128) NOT NULL default '',
  PRIMARY KEY  (`pi_name`),
  KEY `plugins_enabled` (`pi_enabled`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `gl_plugins`
--

INSERT INTO `gl_plugins` VALUES ('staticpages', '1.4.2', '1.4.0', 1, 'http://www.geeklog.net/');
INSERT INTO `gl_plugins` VALUES ('spamx', '1.0.3', '1.4.0', 1, 'http://www.pigstye.net/gplugs/staticpages/index.php/spamx');
INSERT INTO `gl_plugins` VALUES ('phpbbbridge', '1.02', '1.3.10', 1, 'http://demo.dogcows.net/');
INSERT INTO `gl_plugins` VALUES ('links', '1.0', '1.4.0', 1, 'http://www.geeklog.net/');
INSERT INTO `gl_plugins` VALUES ('polls', '1.0', '1.4.0', 1, 'http://www.geeklog.net/');

 

www.themidnightorder.com
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 08/02/04
Posts: 393
Location:Texas
Chris,

This sounds like a classic register_globals=Off problem. Many plugins still require register_globals to be on in the php.ini file. But, most of the popular plugins have provided updates to work with register globals off. Are you using the latest versions of filemgmt, etc.? The reason I ask, from the DB dump you provided it looks like you are running phpbbbridge 1.02 and the latest is 110.

You might make sure you are using the latest released version of the plugins to be sure.

Good luck,
Mark
 Quote

Status: offline

cspires

Forum User
Junior
Registered: 28/10/05
Posts: 33
Location:Raleigh
Mark,

I do have phpBBBridge 1.10 installed. The dump is from the database which I migrated over from my previous site, which I had the older version installed. My new site does infact have 1.10 installed. I never ran any sort of update script for the addon. (When I migrated to the new hosting company, I installed GL and the latest version of phpBBBridge because that was the only addon I had installed on my previous installation - then ran the main GL update script.)

Also, It's not a register_globals_off issue because I have a second GL installation on the same server which I'm able to freely install mods.

Thanks for responding!

-Chris
www.themidnightorder.com
 Quote

Status: offline

cspires

Forum User
Junior
Registered: 28/10/05
Posts: 33
Location:Raleigh
Forgot to add, register_globals is in fact turned ON.

::EDIT:: Also just realized the media gallery addon for GL is yours. Great work on that script! Huge fan of MG, especially over the Menalto php gallery (which I used for ages before finding your mod).
www.themidnightorder.com
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 08/02/04
Posts: 393
Location:Texas
Chris,

Thanks! Actually, have you tried installing Media Gallery? I know it should work fine regardless of the register_globals.

When you try the installation, anything going to the logs, web server's or Geeklogs?

I know you checked the register_global value, did you do it by looking in php.ini or by using the phpinfo() function? I've had this happen to me in the past where I changed hosting providers and found the new one handled php.ini files differently from the previous, so what I thought I was doing, I actually wasn't.

Let me know if MG installs, I'm always interested in making it more bullet proof. And, if you are interested since this is a new site, I just released Media Gallery v1.4.0RC3 a few minutes ago on the support site: www.mediagallery.org, it should be the last release candidate before 1.4.1 production next week. Might give it a try.

Thanks!
Mark
 Quote

Status: offline

cspires

Forum User
Junior
Registered: 28/10/05
Posts: 33
Location:Raleigh
Mark,

I have a working installation of your Media Gallery plugin installed on a second installation of GL which I have on the same server. I'm at my office now, and will have an opportunity here in a few minutes to attempt intalling your plugin on my troubled GL installation. I'll give it a shot and let you know what I find out.

Thanks again for your continued help.

-Chris
www.themidnightorder.com
 Quote

Status: offline

cspires

Forum User
Junior
Registered: 28/10/05
Posts: 33
Location:Raleigh
Mark,

First off, it completely didn't register that we've spoken before on your support boards for MG in the regards to the installation issue I was having. Doh! - that was a mistake (Thanks again for all that help!) You'll be happy to know, and much to my enjoyment, that your latest version installed without a hitch!

Secondly, regretably work got the better of me and I was not able to try the install on my troubled GL site until just now. Oddly enough it worked!!!

I did lie (but not on purpose!!! I promise!!! Shocked ), register_globals is turned off. My hosting site (bluehost.com) provides us with a php.ini file to put in every direcotory containing php scripts which we can edit our php settings locally - er virtually - errrr...what ever you want to call it. (Which I've done nothing with so far, it only resides in the root GL dir. Also...register_globals is turned ON in that file.)

Where I'm stumped is...As I said, I have a second GL installation which I use for testing of mods before I brave installing them on my main GL site. And they WORK FINE! Arg! Banging your head I've done nothing different between the php.ini of the two seperate GL sites. Any setting which is applied to my test site, also applys (I'm assuming) to my main GL site. The only difference is the fact that the main chunk of the database structure was migrated over from a previous GL installation on another hosting service (hostingplex...CRAP service, don't recommend it for anyone.)

I suppose I'm gonig to try (pain as it may be) putting that *.ini file in the directories that I think may require it. Any other suggestions however will be welcomed!!

Thanks again,

-Chris
www.themidnightorder.com
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 08/02/04
Posts: 393
Location:Texas
Chris,

Well, I'm glad it worked and actually solving your problem is pretty easy. I also host with BlueHost and you need a php.ini in every directory that PHP will execute. So, if a plugins requires register_globals=On, you'll need a php.ini in a couple of places:

public_html/admin/plugins/plugin_name/php.ini
public_html/plugin_name/php.ini

No php.ini, you get their defaults.

Now, why it works on one site and not the other, unless there is a php.ini hiding in there, I'm not sure I can explain that one. But, at least you know how to fix it now.

Thanks!
Mark
 Quote

Status: offline

cspires

Forum User
Junior
Registered: 28/10/05
Posts: 33
Location:Raleigh
No dice on the php.ini file. Still only a blank page upon install.

The script adds the SQL tables for both plugins which I'm trying to install (filemgmt & glEventRegistration).

The dump from my filemgmt tables is as follows:

PHP Formatted Code
--
-- Table structure for table `gl_filemgmt_broken`
--

CREATE TABLE `gl_filemgmt_broken` (
  `reportid` int(5) NOT NULL auto_increment,
  `lid` int(11) NOT NULL default '0',
  `sender` int(11) NOT NULL default '0',
  `ip` varchar(20) NOT NULL default '',
  PRIMARY KEY  (`reportid`),
  KEY `lid` (`lid`),
  KEY `sender` (`sender`),
  KEY `ip` (`ip`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;

--
-- Dumping data for table `gl_filemgmt_broken`
--


-- --------------------------------------------------------

--
-- Table structure for table `gl_filemgmt_category`
--

CREATE TABLE `gl_filemgmt_category` (
  `cid` int(5) unsigned NOT NULL auto_increment,
  `pid` int(5) unsigned NOT NULL default '0',
  `title` varchar(50) NOT NULL default '',
  `imgurl` varchar(150) NOT NULL default '',
  PRIMARY KEY  (`cid`),
  KEY `pid` (`pid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;

--
-- Dumping data for table `gl_filemgmt_category`
--


-- --------------------------------------------------------

--
-- Table structure for table `gl_filemgmt_downloadhistory`
--

CREATE TABLE `gl_filemgmt_downloadhistory` (
  `uid` mediumint(8) NOT NULL default '0',
  `lid` int(11) NOT NULL default '0',
  `remote_ip` varchar(15) NOT NULL default '',
  `date` datetime NOT NULL default '0000-00-00 00:00:00',
  KEY `lid` (`lid`),
  KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `gl_filemgmt_downloadhistory`
--


-- --------------------------------------------------------

--
-- Table structure for table `gl_filemgmt_filedesc`
--

CREATE TABLE `gl_filemgmt_filedesc` (
  `lid` int(11) unsigned NOT NULL default '0',
  `description` text NOT NULL,
  KEY `lid` (`lid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `gl_filemgmt_filedesc`
--


-- --------------------------------------------------------

--
-- Table structure for table `gl_filemgmt_filedetail`
--

CREATE TABLE `gl_filemgmt_filedetail` (
  `lid` int(11) unsigned NOT NULL auto_increment,
  `cid` int(5) unsigned NOT NULL default '0',
  `title` varchar(100) NOT NULL default '',
  `url` varchar(250) NOT NULL default '',
  `homepage` varchar(100) NOT NULL default '',
  `version` varchar(10) NOT NULL default '',
  `size` int(8) NOT NULL default '0',
  `platform` varchar(50) NOT NULL default '',
  `logourl` varchar(250) NOT NULL default '',
  `submitter` int(11) NOT NULL default '0',
  `status` tinyint(2) NOT NULL default '0',
  `date` int(10) NOT NULL default '0',
  `hits` int(11) unsigned NOT NULL default '0',
  `rating` double(6,4) NOT NULL default '0.0000',
  `votes` int(11) unsigned NOT NULL default '0',
  `comments` tinyint(2) NOT NULL default '1',
  PRIMARY KEY  (`lid`),
  KEY `cid` (`cid`),
  KEY `status` (`status`),
  KEY `title` (`title`(40))
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;

--
-- Dumping data for table `gl_filemgmt_filedetail`
--


-- --------------------------------------------------------

--
-- Table structure for table `gl_filemgmt_votedata`
--

CREATE TABLE `gl_filemgmt_votedata` (
  `ratingid` int(11) unsigned NOT NULL auto_increment,
  `lid` int(11) unsigned NOT NULL default '0',
  `ratinguser` int(11) NOT NULL default '0',
  `rating` tinyint(3) unsigned NOT NULL default '0',
  `ratinghostname` varchar(60) NOT NULL default '',
  `ratingtimestamp` int(10) NOT NULL default '0',
  PRIMARY KEY  (`ratingid`),
  KEY `ratinguser` (`ratinguser`),
  KEY `ratinghostname` (`ratinghostname`),
  KEY `lid` (`lid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;

--
-- Dumping data for table `gl_filemgmt_votedata`
--

 


Anything blatently obvious?
www.themidnightorder.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Quote by cspires: No dice on the php.ini file. Still only a blank page upon install.

Read the FAQ Blank page
 Quote

Status: offline

cspires

Forum User
Junior
Registered: 28/10/05
Posts: 33
Location:Raleigh
Thanks Dirk, ran across that page while researching the problem before posting. For some reason I can't get the errors to display.

I have error_reporting = E_ALL and display_errors = on set and still nothing. Have you back read my topic at all? Thanks for the help!
www.themidnightorder.com
 Quote

cspires

Anonymous
bump
 Quote

Status: offline

cspires

Forum User
Junior
Registered: 28/10/05
Posts: 33
Location:Raleigh
Quote by cspires: bump


Errr...Twas me. Sorry.
www.themidnightorder.com
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 08/02/04
Posts: 393
Location:Texas
Chris,

I have one other thought that might give some insight to the problems. I know on Bluehost I see site specific error_logs actually in my site directories. For example, in the main directory for www.mediagallery.org (which is not my primary site at BlueHost, but a add-on domain), I have an error_log file which gives me specific Apache errors just for www.mediagallery.org.

Maybe there is some worthwile information hiding in that file for your site...

Just a thought...

Thanks!
Mark
 Quote

Status: offline

cspires

Forum User
Junior
Registered: 28/10/05
Posts: 33
Location:Raleigh
I have the same setup. My Geeklog installation is not the main directory, themidnightorder.com is an addon domain. I'll take a look at it and get back to you. Thanks again for your help, Mark.

- Chris
www.themidnightorder.com
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 09/06/04
Posts: 153
I was able to successfully install the phpBBBride plugin...


Wow, they have plugins that can do anything nowadays! Laughing

Kidding. Just struck me funny.

- D
 Quote

Status: offline

cspires

Forum User
Junior
Registered: 28/10/05
Posts: 33
Location:Raleigh
Quote by Don:
I was able to successfully install the phpBBBride plugin...


Wow, they have plugins that can do anything nowadays! Laughing

Kidding. Just struck me funny.

- D


Thanks for your insightful input, Don. I'm glad my continuting problem with GL and it's plugins are able to humor you.

Mark,

Exactly which error log should I look at? None of the logs that I'm looking at give any indication as to whats causing this problem.

Thanks,

Chris
www.themidnightorder.com
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 08/02/04
Posts: 393
Location:Texas
Chris,

BlueHost will create an error_log file in each directory that executes PHP programs. So, if you are looking for issues with the Forum installation, you might check the public_html/admin/plugins/forum/ directory for an error_log file.

Hope this helps!
Mark
 Quote

Status: offline

cspires

Forum User
Junior
Registered: 28/10/05
Posts: 33
Location:Raleigh
Well, more than a month later and I'm still without the ability to install plugins, at least ones that require register globals to be on that is. Mark, I've taken your advice and put the php.ini file in all the directories that the scripts run in. In fact, just to be sure I wasn't missing anything...I've put the damned thing in EVERY directory of my GL installation. Thus far this is all I've noticed.

Without the php.ini file:

When I attempt to install a pluging (for examples sake, the filemgmt plugin) via the plugin admin I see the plugin filemgmt under new plugin list. I click the install link, then it directs me to the install.php page for the plugin. I click the install button and effectively just refreshes the page. It simply reloads the same page. Nothing is installed and the database is not altered.

With the php.ini file:

When I attempt to install the filemgmt plugin I located it under the new plugin list via the plugin admin control panel and click the install link. This time it leads me to a blank page with the URL: http://GL_INSTALLATION/admin/plugins/filemgmt/install.php?action=install. This prompted me to go look at the database and lookie there...the gl_filemgmt tables are there now. So it would appear that the php.ini file does have some signifance, but no part of the mod is functional. The downloads link does not appear with the rest of the links, and there is no filemgmt listing under the admins control.

If you try to visit the plugin manually by visiting http://GL_INSTALLATION/filemgmt it loads the page and tells you:

_GL_ERRORNOACCESS
_MD_USER user _GL_NOUSERACCESS

So were the tables created but nothing added to them? I've checked all the error logs and there are no errors related to the installation of these addons. I'm pretty much at a loss for what to do.

I've started looking into other CMS's, specifically Joomla, and I've not had any of these issues. I hate the fact that I've got to know the Geeklog framework as well as I've had and I've come to love the community, and have to consider changing to another CMS, but I can't continue to have ongoing problems such as this.

Giving it a try
www.themidnightorder.com
 Quote

Page navigation

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