Gossamer Forum
Quote Reply
error message
when i try to go to my homepage i am getting the following error:

A fatal error has occured:
Can't call method "fetchrow_array" on an undefined value at /...../....../cgi-bin/dir/admin/Links/User/Page.pm line 109.

Please enable debugging in setup for more details.


how do i fix this?

Thanks
Quote Reply
Re: [ajiimd] error message In reply to
What version ? Would be useful to see some debug output.

Regards,
Peter Puglisi
www.ausfreedom.com
Ultimate Freedom is our game.
Quote Reply
Re: [rocco] error message In reply to
version 2.2

A fatal error has occured:
Can't call method "fetchrow_array" on an undefined value at /****/****/cgi-bin/dir/admin/Links/User/Page.pm line 109.

Please enable debugging in setup for more details.Stack Trace ====================================== Links (28235): Links::environment called at /****/****/cgi-bin/dir/admin/Links.pm line 524 with no arguments. Links (28235): Links::fatal called at /****/****/cgi-bin/dir/admin/Links/User/Page.pm line 109 with arguments (Can't call method "fetchrow_array" on an undefined value at /****/****/cgi-bin/dir/admin/Links/User/Page.pm line 109. ). Links (28235): Links::User::Page::generate_category_page called at /****/****/cgi-bin/dir/admin/Links/User/Page.pm line 59 with no arguments. Links (28235): Links::User::Page::handle called at /****/****/cgi-bin/dir/admin/GT/Plugins.pm line 106 with no arguments. Links (28235): GT::Plugins::dispatch called at page.cgi line 25 with arguments (GT::Plugins, /****/****/cgi-bin/dir/admin/Plugins, handle_page, CODE(0x8244eb0)). System Information ====================================== Perl Version: 5.006001 Links SQL Version: 2.2.0 DBI.pm Version: 1.21 Running under mod_perl: No Running under SpeedyCGI: No GT::SQL::error = Could not connect to database. Reason: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) DBI::errstr = Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) @INC = /****/****/cgi-bin/dir/admin /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl . CGI INPUT ====================================== d => 1 g => Contact_****/index.html ENVIRONMENT ====================================== DOCUMENT_ROOT => /v/****/htdocs GATEWAY_INTERFACE => CGI/1.1 GT_TMPDIR => /v/****/cgi-bin/dir/admin/tmp HTTP_HOST => contacta****.com PATH => /usr/local/bin:/usr/bin:/bin QUERY_STRING => g=Contact_a_Professional%2Findex.html&d=1 REMOTE_ADDR => 65.36.160.40 REMOTE_PORT => 35086 REQUEST_METHOD => GET REQUEST_URI => /cgi-bin/dir/page.cgi?g=Contact_a_Professional%2Findex.html&d=1 SCRIPT_FILENAME => /****/****/cgi-bin/dir/page.cgi SCRIPT_NAME => /cgi-bin/dir/page.cgi SERVER_ADDR => 65.36.160.40 SERVER_ADMIN => root@contacta****.com SERVER_NAME => contacta****.com SERVER_PORT => 80 SERVER_PROTOCOL => HTTP/1.0 SERVER_SOFTWARE => Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7e FrontPage/5.0.2.2623
Quote Reply
Re: [ajiimd] error message In reply to
Ok. You need to get your host to restart MySQL server. That should fix it.

Regards,
Peter Puglisi
www.ausfreedom.com
Ultimate Freedom is our game.

Last edited by:

rocco: Jun 29, 2005, 6:30 PM
Quote Reply
Re: [rocco] error message In reply to
thx