Gossamer Forum
Quote Reply
Help!
When building all of my pages it looks like this:



Creating backup file ...
Done (1.00 s)

Resetting hits and rates ...
Done (0.00 s)

Updating New Flags ...
Done (0.00 s)

Updating Changed Flags ...
Done (0.00 s)

Updating Cool Flags ...


A fatal error has occured:
Can't call method "fetchrow_array" on an undefined value at Links::Build::build_cool_flags line 24.


Please enable debugging in setup for more details.

Can someone please tell me why this is saying and what i can do to fix it.

Regards,

Blake
Quote Reply
Re: [blakeb] Help! In reply to
See the last line of the error message :)
Quote Reply
Re: [blakeb] Help! In reply to
Pauls Hint: Turn debugging on in setup Smile

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: [blakeb] Help! In reply to
These errors always indicate something wrong with the database. You should turn on debugging and tell us what:

$GT::SQL::error = '....';

says.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Help! In reply to
GT::SQL::error = Failed to execute query: 'SELECT ID,Hits,isPopular FROM links_Links WHERE ( isValidated = ? AND Hits >= ? )
ORDER BY Hits DESC
LIMIT 1' Reason: Table 'test_db.links_Links' doesn't exist
Quote Reply
Re: [blakeb] Help! In reply to
just rebuilt the tables, that seemed to work, but erased all my data..