Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 04:13 am EST

Geeklog Forums

Odd Plugins Problem


Status: offline

tmarquez

Forum User
Regular Poster
Registered: 06/17/03
Posts: 70
Something has gone wrong with my 1.3.11 site. When I go to install a plugin, for instance in my case, the spamx plugin (reinstalling to fix an issue), I just get a blank page after clicking the "install" button. I know my webserver has register_globals on as my other gl sites on the box allow me to install plugins, etc.

When I check the error log, everything is showing success:

Mon May 2 17:24:41 2005 - Attempting to install the spamx Plugin
Mon May 2 17:24:41 2005 - Creating spamx table
Mon May 2 17:24:41 2005 - Success - Created spamx table
Mon May 2 17:24:41 2005 - Inserting default data into gl_spamx table
Mon May 2 17:24:41 2005 - Success - inserting data into gl_spamx table
Mon May 2 17:24:41 2005 - Inserting default data into gl_spamx table
Mon May 2 17:24:41 2005 - Success - inserting data into gl_spamx table
Mon May 2 17:24:41 2005 - Inserting default data into gl_spamx table
Mon May 2 17:24:41 2005 - Success - inserting data into gl_spamx table
Mon May 2 17:24:41 2005 - Inserting default data into gl_spamx table
Mon May 2 17:24:41 2005 - Success - inserting data into gl_spamx table
Mon May 2 17:24:41 2005 - Attempting to create spamx admin group
Mon May 2 17:24:41 2005 - ...success
Mon May 2 17:24:41 2005 - About to save group_id to vars table for use during uninstall
ninstall
Mon May 2 17:24:41 2005 - ...success
Mon May 2 17:24:41 2005 - Adding spamx.admin feature
Mon May 2 17:24:41 2005 - Success
Mon May 2 17:24:41 2005 - Adding spamx.admin feature to admin group

I've even tried uninstalling other plugins I have, and no get similar results where they won't install but the error log doesn't indicate anything. Any thoughts or help would be appreciated.
T.Marquez Jr. -
Webmaster -
www.indianapolisfilm.net - Geeklog 1.4.0sr5-1
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Read the FAQ Start here: Blank page

bye, Dirk
 Quote

Status: offline

tmarquez

Forum User
Regular Poster
Registered: 06/17/03
Posts: 70
Thanks for the link. Been playing with it for a while and my php stuff has the globals on, the error reporting on, etc. but the blank page is stumping me. After every install atempt on any plugin I am trying, the last entry in the error.log is "Adding spamx.admin feature to admin group" and I realize from looking through the log (when my plugins installs were working) that there is suppossed to be more stuff happening after that. But it doesn't Smile

A fun mystery.... I'll post back in this thread if I'm able to fix it without a total reinstall.
T.Marquez Jr. -
Webmaster -
www.indianapolisfilm.net - Geeklog 1.4.0sr5-1
 Quote

Status: offline

tmarquez

Forum User
Regular Poster
Registered: 06/17/03
Posts: 70
Ok, I think I have narrowed things down to my plugins not installing. By examining the errorlogs, and looking at the various install.php of the plugins, this is the code I believe where my plugin installs die:


$feat_id = DB_insertId();
COM_errorLog("Success",1);
COM_errorLog("Adding $feature feature to admin group",1);
DB_query("INSERT INTO {$_TABLES['access']} (acc_ft_id, acc_grp_id) VALUE
S ($feat_id, $group_id)");
if (DB_error()) {
COM_errorLog("Failure adding $feature feature to admin group",1);
plugin_uninstall_stats();
return false;
exit;
}
COM_errorLog("Success",1);
}


But for whatever reason, I'm not getting an error reported in my logs/error.log but like I posted above, that is all I get. And, by looking at the order of the various tables that get updated during the course of a plugin install, I see from the time on the table, gl_access, that it isn't getting updated. So my question, is.... besides HELP! Smile Is can someone tell me more about the gl_access table or offer any insight to what steps I can try next? I have already replaced all the /system files (except lib-custom.php).

Thanks for reading this. Appreciate it.
T.Marquez Jr. -
Webmaster -
www.indianapolisfilm.net - Geeklog 1.4.0sr5-1
 Quote

Status: offline

asmaloney

Forum User
Full Member
Registered: 02/08/04
Posts: 214

Have you checked the httpd error log? What shows up in there?

Have you tried installing a plugin other than Spam[-]X?

- Andy
 Quote

Status: offline

asmaloney

Forum User
Full Member
Registered: 02/08/04
Posts: 214

I just noticed you're using the stats plugin. You might want to use GUS instead - it's made for 1.3.11.

- Andy
 Quote

Status: offline

tmarquez

Forum User
Regular Poster
Registered: 06/17/03
Posts: 70
Quote by asmaloney:
Have you checked the httpd error log? What shows up in there?

Have you tried installing a plugin other than Spam[-]X?

- Andy


Thanks for the reply. This happens on three different plugins (Spamx, news, and stats). And all at the same point it appears, on the gl_access update. I didn't want to "test" any more of my installed plugins in fears of further messing up the site.
T.Marquez Jr. -
Webmaster -
www.indianapolisfilm.net - Geeklog 1.4.0sr5-1
 Quote

Status: offline

asmaloney

Forum User
Full Member
Registered: 02/08/04
Posts: 214

And does anything show up in the web server's error log?

- Andy
 Quote

Status: offline

tmarquez

Forum User
Regular Poster
Registered: 06/17/03
Posts: 70
Quote by asmaloney:
And does anything show up in the web server's error log?


I wish! Been checking there constantly. I'm a shared server , and we have the cPanel backend. (love it). But no errors. I see where the page is accessed to install, the post/get etc. but no errors linked to install.php for any of the plugins. That is why I'm thinking something is wacked with my gl_access table?
T.Marquez Jr. -
Webmaster -
www.indianapolisfilm.net - Geeklog 1.4.0sr5-1
 Quote

Status: offline

tmarquez

Forum User
Regular Poster
Registered: 06/17/03
Posts: 70
Just wanted to follow up on this thread. The issue seems to be an issue with mysql_insert_id() working with my versions of PHP/MySQL. More info in this thread:

http://www.geeklog.net/forum/viewtopic.php?forum=3&showtopic=54957
T.Marquez Jr. -
Webmaster -
www.indianapolisfilm.net - Geeklog 1.4.0sr5-1
 Quote

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