Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Import/Repair

Quote Reply
Import/Repair
Ok after getting import errors when I repair tables I get:

Updating Cool Flags ...
Content-type: text/html

<p><font face='Tahoma,Arial,Helvetica' size=2>A fatal error has occured:</font></p><blockquote><pre>Can't call method "rows" on an undefined value at (eval 26) line 20.
</pre></blockquote><p><font face='Tahoma,Arial,Helvetica' size=2>Please enable debugging in setup for more details.</font></p>
Can't call method "rows" on an undefined value at (eval 26) line 20.

Is this going to be problematic in the future?.....is there a simple explanation for it?

Last edited by:

Paul: May 1, 2002, 12:07 PM
Quote Reply
Re: [Paul] Import/Repair In reply to
Also the searches are giving the following:

A fatal error has occured:

Can't use an undefined value as an ARRAY reference at ...cgi-bin/dir/admin/GT/SQL/Base.pm line 214.

Please enable debugging in setup for more details.


Is this the result of the import I did....if so can it be fixed and/or why is it happening?




Links (16659): Links::environment called at ...cgi-bin/dir/admin/Links.pm line 418 with no arguments.
Links (16659): Links::fatal called at ...cgi-bin/dir/admin/GT/SQL/Base.pm line 214 with arguments
(Can't use an undefined value as an ARRAY reference at ...cgi-bin/dir/admin/GT/SQL/Base.pm line 214.
).
Links (16659): GT::SQL::Base::count called at ...cgi-bin/dir/admin/GT/SQL/Search/NONINDEXED/Search.pm line 201 with arguments

Last edited by:

Paul: May 2, 2002, 1:16 AM
Quote Reply
Re: [Paul] Import/Repair In reply to
Here's the debugging for the first error:

GT::SQL::Table (16896): Failed to execute query: 'SELECT ID,Hits,isPopular FROM lsql_Links WHERE isValidated = ?
ORDER BY Hits DESC
LIMIT 7489' Reason: Incorrect key file for table: 'lsql_Links'. Try to repair it at (eval 25) line 19.
Content-type: text/html

<p><font face='Tahoma,Arial,Helvetica' size=2>A fatal error has occured:</font></p><blockquote><pre>Can't call method "rows" on an undefined value at (eval 25) line 20.
Quote Reply
Re: [Paul] Import/Repair In reply to
Please can someone help.
Quote Reply
Re: [Paul] Import/Repair In reply to
Im praying every night that I'll wake up to an answer :)

Can anyone explain why Im now getting this:

Can't locate object method "quote" via package "GT::SQL::Driver" at ...cgi-bin/dir/admin/GT/SQL/Condition.pm line 230.

Line 230 is:

return ref $val eq 'SCALAR' ? $$val : GT::SQL::Driver->quote ($val);

I don't see GT::SQL::Driver required into GT::SQL::Condition so maybe thats a bug?

Last edited by:

Paul: May 7, 2002, 9:24 AM