Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Enviroment Setup

Quote Reply
Enviroment Setup
After a recent installation of LinkSQL 2.1 I have a problem:

Somebody know why I get this error when I access to "Setup Enviroment"?

Code:
System information: Error: Unable to load module: Links. Reason:

Error: No subroutine 'Links::Environment' in 'Links.pm'

Thank you in advance,

-----------------------
Nomada
Quote Reply
Re: [Nomada] Enviroment Setup In reply to
I think this is a bug. I just looked in /admin/Links/Links.pm, and couldn't see the sub routine 'Environment' anywhere. Maybe someone at GT could let us know if this bug is already know, and if a fix has/will be released?

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: [Andy] Enviroment Setup In reply to
Hello,

I obtain the same error in new instalation (with 3 cats. and 1 link inside...).

I see:

Error: Unable to load module: Links. Reason:

Error: No subroutine 'Links::Environment' in 'Links.pm'

And when I try to rebuild directory with my new and first link I obtain the following error. Any ideas?

Updating Cool Flags ...
A fatal error has occured:Can't bind a reference (ARRAY(0x85a3c04)) at /webs/cgi-bin/links/admin/GT/SQL/Driver/PG.pm line 303.
Please enable debugging in setup for more details.
Stack Trace
======================================
Links (20931): Links::environment called at /webs/cgi-bin/links/admin/Links.pm line 430 with no arguments.
Links (20931): Links::fatal called at /webs/cgi-bin/links/admin/GT/SQL/Driver/PG.pm line 303 with arguments
(Can't bind a reference (ARRAY(0x85a3c04)) at /webs/cgi-bin/links/admin/GT/SQL/Driver/PG.pm line 303.
).
Links (20931): GT::SQL::Driver::PG::sth::execute called at /webs/cgi-bin/links/admin/GT/SQL/Table.pm line 949 with arguments
(GT::SQL::Driver::PG::sth=HASH(0x85a6ef8), No, Yes, ARRAY(0x85a3c04)).
Links (20931): GT::SQL::Table::do_query called at /webs/cgi-bin/links/admin/GT/SQL/Table.pm line 537 with arguments
(Links::Link=HASH(0x85830ac), UPDATE lsql_Links SET isPopular = ? , Timestmp = NOW() WHERE isPopular = ? AND ID NOT IN ?, ARRAY(0x832d7c8)).
Links (20931): GT::SQL::Table::update called at Links::Build::build_cool_flags line 36 with arguments
(Links::Link=HASH(0x85830ac), HASH(0x8585c20), GT::SQL::Condition=HASH(0x85a6d18)).
Links (20931): Links::Build::build_cool_flags called at /webs/cgi-bin/links/admin/GT/Plugins.pm line 108 with arguments
(HASH(0x829ea88)).
Links (20931): GT::Plugins::dispatch called at /webs/cgi-bin/links/admin/Links/Build.pm line 30 with arguments
(GT::Plugins, /webs/cgi-bin/links/admin/Plugins, build_cool_flags, *Links::Build::build_cool_flags, HASH(0x829ea88)).
Links (20931): Links::Build::build called at /webs/cgi-bin/links/admin/nph-build.cgi line 676 with arguments
(cool_flags, HASH(0x829ea88)).
Links (20931): main::_build_cool_flags called at /webs/cgi-bin/links/admin/nph-build.cgi line 73 with no arguments.
Links (20931): main::build_all called at /webs/cgi-bin/links/admin/nph-build.cgi line 43 with no arguments.
Links (20931): main::main called at /webs/cgi-bin/links/admin/nph-build.cgi line 30 with no arguments.


System Information
======================================
Perl Version: 5.006001
Links SQL Version: 2.1.1
DBI.pm Version: 1.18
Persistant Env: mod_perl (0) SpeedyCGI (0)
@INC =
/webs/cgi-bin/links/admin
/usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl