Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Andy] Links::Table::Category new() problem

Quote Reply
Re: [Andy] Links::Table::Category new() problem In reply to
Quote:
Erm, isn't that what you're meant to do, before calling the "new" option? ;)
Uhm, that's good point, but it seems, that GT missed to check even before the new creator was called...


Quote:
If the table doesn't exist, then there must be something pretty major going on :P
Let's divide my answer into 3 points:
  1. I wrote nothing about any missing table. I wrote: "should be checked if the column exists".

  2. Your point is right, table (or even more the database) existance may be also checked. Probably these database checks may be done, when the script is started. As for mod_perl this check should be done, when script is loaded first.

  3. There is no "any pretty major going" here, as I'm working on a customized LSQL version for my site, and I don't use the ExpiryCounted and ExpiryDate columns.

As a workaround, I had to create these missing columns, even if I don't use them Unimpressed

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Subject Author Views Date
Thread Links::Table::Category new() problem webmaster33 1661 Feb 18, 2005, 4:22 AM
Thread Re: [webmaster33] Links::Table::Category new() problem
Andy 1591 Feb 18, 2005, 5:39 AM
Post Re: [Andy] Links::Table::Category new() problem
webmaster33 1594 Feb 18, 2005, 7:21 AM