Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Error using User List in Bookmarks

Quote Reply
Error using User List in Bookmarks
Hello everyone,
I am having problems accesing the User List under the Bookmarks tab. The browser returns this error:
A fatal error has occured:

Can't call method "fetchrow_hashref" on an undefined value at c:/inetpub/wwwroot/directorio/admin/Links/Bookmark.pm line 95.

Please enable debugging in setup for more details.

I enabled debugging to see what was wrong but when I try to return to the Bookmark page or any other page that is a script I receive this error:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

I am running Links in a Windows 2003 server, MS SQL 2000 with the latest updates. I have Links 3.0 but the error also occurred in the previous version.

Any help would be appreciated!

David
Quote Reply
Re: [dzapata] Error using User List in Bookmarks In reply to
That's a strange error. Can you edit Bookmark.pm and change the 92 line from:
Code:
my $sth = $db->select('DISTINCT(my_folder_user_username_fk)', { my_folder_public => 1 });
to
Code:
my $sth = $db->select('DISTINCT(my_folder_user_username_fk)', { my_folder_public => 1 }) or die "select error: $GT::SQL::error";
and tell me what it says?

Adrian
Quote Reply
Re: [brewt] Error using User List in Bookmarks In reply to
Hi Adrian, thanks for replying.
I changed the code and when I try to access the user list page it gives the error:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

Its the only feature that is giving me problems...strange.

David
Quote Reply
Re: [dzapata] Error using User List in Bookmarks In reply to
Can you look at your error logs for what it actually returned with?

Adrian