Home : Products : Gossamer Forum : Discussion :

Products: Gossamer Forum: Discussion: Re: [meat bone] Can't call method "insert_id" on an undefined value: Edit Log

Here is the list of edits for this post
Re: [meat bone] Can't call method "insert_id" on an undefined value
nevermind, i fixed it

here's what i did

enabled debugging so i knew what the hell was really going on, i got:
Quote:
A fatal error has occurred:
Can't call method "insert_id" on an undefined value at /srv/http/gforum/cgi-bin/admin/setup.cgi line 451.

Please enable debugging in setup for more details.
Stack Trace ====================================== GForum (77204): main::init_setup called at /srv/http/gforum/cgi-bin/admin/setup.cgi line 64 with no arguments. GForum (77204): main::main called at /srv/http/gforum/cgi-bin/admin/setup.cgi line 27 with no arguments. System Information ====================================== Perl Version: v5.18.4 Gossamer Forum Version: 1.2.4 GForum.pm version: 1.133 GT::SQL Version: 1.111 GT::Template Version: 2.163 DBI.pm Version: 1.633 Running under mod_perl: No Running under SpeedyCGI: No @INC = /srv/http/gforum/cgi-bin/admin /usr/local/lib/perl5/site_perl/mach/5.18 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.18/mach /usr/local/lib/perl5/5.18 /usr/local/lib/perl5/site_perl/5.18 /usr/local/lib/perl5/site_perl/5.18/mach . GT::SQL::error = Failed to execute query: 'INSERT INTO gforum_Grouping (group_name,group_id) VALUES (?,NULL)': INSERT command denied to user 'ihateperlmonkeys'@'localhost' for table 'gforum_Grouping' CGI INPUT ====================================== database => do => init_setup driver => mysql host => localhost login => ihateperlmonkeys password => monkeyballs prefix => gforum_


INSERT command denied to user is the important part, the user didn't have appropiate permissions to be changing

so i fiddled with mysql and used droped my user by typing
Code:
drop user ihateperlmonkeys

although i should have used
Code:
drop user 'ihateperlmoneys'@'localhost'

for some reason it messed it up

but it works now





please hire me

Last edited by:

Andy: Apr 20, 2015, 10:57 PM

Edit Log: