Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Can't call method "fetchrow_hashref" on an undefined value at /usr/home/mysite/usr/local/etc/httpd/vhosts/mysite.co.uk/cgi-bin/directory/admin/Links/Tools.pm line 451.

Quote Reply
Can't call method "fetchrow_hashref" on an undefined value at /usr/home/mysite/usr/local/etc/httpd/vhosts/mysite.co.uk/cgi-bin/directory/admin/Links/Tools.pm line 451.
 I am getting the above erro but I cannot figure out why.

This is stopping me validating links

Any suggestions

Cheers


Rich
Quote Reply
Re: [ukseo] Can't call method "fetchrow_hashref" on an undefined value at /usr/home/mysite/usr/local/etc/httpd/vhosts/mysite.co.uk/cgi-bin/directory/admin/Links/Tools.pm line 451. In reply to
Hi,

If you turn debugging on, and then try again... does it give you the mySQL error message? (something like "unknown field ...").

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [ukseo] Can't call method "fetchrow_hashref" on an undefined value at /usr/home/mysite/usr/local/etc/httpd/vhosts/mysite.co.uk/cgi-bin/directory/admin/Links/Tools.pm line 451. In reply to
These are tough errors.

If you are running a custom script, make sure you check that you have returned "rows" or "hits" if you are running a query.

If you are passing values, make sure the values are defined.

If you are searching or selecting on fields, make sure the fields actually exist, and are spelled correctly.

This module needs better error reporting, but might be slimmed down for performance. Check your error logs with the debugging output, and see if any of the above suggestions apply.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [ukseo] Can't call method "fetchrow_hashref" on an undefined value at /usr/home/mysite/usr/local/etc/httpd/vhosts/mysite.co.uk/cgi-bin/directory/admin/Links/Tools.pm line 451. In reply to
What version of GLinks are you using? That error usually means you're missing the 'admin' user. See this post on what to do to fix this if this is the case.

Adrian