Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Weird method "fetchrow_hashref" problem...

Quote Reply
Weird method "fetchrow_hashref" problem...
Hello,

I've encountered a strange problem with my Links Sql2. Everything was working fine and then on day I went to rebuild some changes and I got this error

Can't call method "fetchrow_hashref" on an undefined value at Links::Build::build_home line 13.

I tried changing everything back, it was just a few changes to sorting orders and such. But no luck. I set the program to Debug level 2 and it just times out, but here's the stack trace of debug level 1

Stack Trace
======================================
Links (4786): Links::environment called at /var/www/cgi-bin/links_sql2/admin/Links.pm line 431 with no arguments.
Links (4786): Links::fatal called at Links::Build::build_home line 13 with arguments
(Can't call method "fetchrow_hashref" on an undefined value at Links::Build::build_home line 13.
).
Links (4786): Links::Build::build_home called at /var/www/cgi-bin/links_sql2/admin/GT/Plugins.pm line 108 with arguments
(HASH(0x82530d4)).
Links (4786): GT::Plugins::dispatch called at /var/www/cgi-bin/links_sql2/admin/Links/Build.pm line 30 with arguments
(GT::Plugins, /var/www/cgi-bin/links_sql2/admin/Plugins, build_home, *Links::Build::build_home, HASH(0x82530d4)).
Links (4786): Links::Build::build called at /var/www/cgi-bin/links_sql2/admin/Links/User/Page.pm line 77 with arguments
(home, HASH(0x82530d4)).
Links (4786): Links::User::Page::generate_home_page called at /var/www/cgi-bin/links_sql2/admin/Links/User/Page.pm line 53 with no arguments.
Links (4786): Links::User::Page::handle called at /var/www/cgi-bin/links_sql2/admin/GT/Plugins.pm line 108 with no arguments.
Links (4786): GT::Plugins::dispatch called at /var/www/cgi-bin/links_sql2/page.cgi line 25 with arguments
(GT::Plugins, /var/www/cgi-bin/links_sql2/admin/Plugins, handle_page, CODE(0x806a44c)).


I stepped through the code but can't figure out why it would crash. I read through some other articles on changing the globals.txt but they haven't been changed and don't look anything like what the posts on this board were saying to do. Any thoughts would be REALLY appreciated, thank you so much.

Daniel
Subject Author Views Date
Thread Weird method "fetchrow_hashref" problem... CircktBrkr 1809 May 6, 2004, 6:45 AM
Thread Re: [CircktBrkr] Weird method "fetchrow_hashref" problem...
Andy 1769 May 6, 2004, 8:47 AM
Thread Re: [Andy] Weird method "fetchrow_hashref" problem...
CircktBrkr 1762 May 6, 2004, 10:18 AM
Post Re: [CircktBrkr] Weird method "fetchrow_hashref" problem...
Andy 1787 May 6, 2004, 10:23 AM
Thread Re: [CircktBrkr] Weird method "fetchrow_hashref" problem...
Jagerman 1749 May 6, 2004, 12:19 PM
Post Re: [Jagerman] Weird method "fetchrow_hashref" problem...
CircktBrkr 1747 May 6, 2004, 1:01 PM