Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Build All error

Quote Reply
Build All error
Alex, After doing an import I tried a build all and got the following error:-

Building Home Page ...
Error: GT::SQL::Table (1598): Unknown method 'as_url' called at (eval 6) line 16.

Stack Trace
======================================
Links (1598): Links::environment called at Links.pm line 405.Links (1598): Links::fatal called at GT/Base.pm line 243.Links (1598): GT::Base::error_handler called at GT/Base.pm line 103.Links (1598): GT::Base::AUTOLOAD called at (eval 6) line 16.Links (1598): Links::SiteHTML::site_html_print_cat called at GT/Plugins.pm line 66.Links (1598): GT::Plugins::dispatch called at Links/SiteHTML.pm line 28.Links (1598): Links::SiteHTML::display called at (eval 5) line 16.Links (1598): Links::Build::build_home called at GT/Plugins.pm line 66.Links (1598): GT::Plugins::dispatch called at Links/Build.pm line 29.Links (1598): Links::Build::build called at /home/sites/site1/web/cgi-bin/lsqldev/admin/nph-build.cgi line 239.Links (1598): main::_build_home called at /home/sites/site1/web/cgi-bin/lsqldev/admin/nph-build.cgi line 60.Links (1598): main::build_all called at /home/sites/site1/web/cgi-bin/lsqldev/admin/nph-build.cgi line 34.Links (1598): main::main called at /home/sites/site1/web/cgi-bin/lsqldev/admin/nph-build.cgi line 21.

System Information
======================================
Perl Version: 5.00503
Links SQL Version: 1.2 dev
DBI.pm Version: 1.14
@INC =
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005
.

CGI INPUT
======================================
do => all

This problem occurs only after an import. If entries are added manually build works fine. The import appeared to work correctly as well.
Quote Reply
Re: Build All error In reply to
Hmm, are you running under mod_perl?

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Build All error In reply to
This is a new preconfigured server and mod_perl is installed so I assume we are running under it.

Quote Reply
Re: Build All error In reply to
Ah, that's most likely the issue, we haven't done our mod_perl testing yet, so bugs like that can creep up.

Cheers,

Alex

--
Gossamer Threads Inc.