Critical Error

Original Error

DBI connect('dbname=galaxy4;host=db1.peerex.net','galaxy4_web',...) failed: could not connect to server: Connection refused Is the server running on host "db1.peerex.net" and accepting TCP/IP connections on port 5432? at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/DBI.pm line 637 DBI::__ANON__('undef', 'undef') called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/DBI.pm line 689 DBI::connect('DBI', 'dbi:Pg:dbname=galaxy4;host=db1.peerex.net', 'galaxy4_web', '9keDSuhl', 'HASH(0x2b52c23f4f30)') called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/DBI.pm line 535 DBI::connect_cached('DBI', 'dbi:Pg:dbname=galaxy4;host=db1.peerex.net', 'galaxy4_web', '9keDSuhl', 'HASH(0x2b52bcc3d970)') called at /usr/lib/perl5/vendor_perl/5.8.8/Ima/DBI.pm line 328 Ima::DBI::__ANON__('galaxy4::DB::category') called at /usr/lib/perl5/vendor_perl/5.8.8/Ima/DBI.pm line 393 Ima::DBI::__ANON__('galaxy4::DB::category', 'category_id = ?') called at /usr/lib/perl5/vendor_perl/5.8.8/Class/DBI/Search/Basic.pm line 163 Class::DBI::Search::Basic::sql('Class::DBI::Search::Basic=HASH(0x2b52c2428c00)') called at /usr/lib/perl5/vendor_perl/5.8.8/Class/DBI/Search/Basic.pm line 169 Class::DBI::Search::Basic::run_search('Class::DBI::Search::Basic=HASH(0x2b52c2428c00)') called at /usr/lib/perl5/vendor_perl/5.8.8/Class/DBI.pm line 1094 Class::DBI::__ANON__('galaxy4::DB::category', 'category_id', 52) called at /usr/lib/perl5/vendor_perl/5.8.8/Class/DBI.pm line 669 Class::DBI::retrieve('galaxy4::DB::category', 52) called at /var/www/sites/galaxy4/newsite/www.galaxy4.co.uk/plib//galaxy4/common/page.pm line 242 galaxy4::common::page::impl::load('galaxy4::page::category=HASH(0x2b52c42cf030)', 'HASH(0x2b52c42cea20)') called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 486 eval {...} called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 486 Template::Engine::WebTemplate::callpageo('Template::Engine::WebTemplate=ARRAY(0x2b52c23157d0)', 'load', 'HASH(0x2b52c42cea20)') called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 562 Template::Engine::WebTemplate::modcall('Template::Engine::WebTemplate=ARRAY(0x2b52c23157d0)', 'load') called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 432 Template::Engine::WebTemplate::setup_request('Template::Engine::WebTemplate=ARRAY(0x2b52c23157d0)') called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 606 Template::Engine::WebTemplate::DoResponse('Template::Engine::WebTemplate=ARRAY(0x2b52c23157d0)') called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 253 eval {...} called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 253 Template::Engine::WebTemplate::_bugsafe_handler('Template::Engine::WebTemplate=ARRAY(0x2b52c23157d0)', 'Template::Engine::Handler=ARRAY(0x2b52c24253b0)') called at /usr/lib/perl5/web-template-engine/Template/Engine/Handler.pm line 539 Template::Engine::Handler::handler('Template::Engine::Handler', 'Apache2::RequestRec=SCALAR(0x2b52c2301ac0)') called at -e line 0 eval {...} called at -e line 0

Could not render outline because

undef error - Can't call method "customer" on an undefined value at /var/www/sites/galaxy4/newsite/www.galaxy4.co.uk/plib//galaxy4/utils.pm line 119.

The traceback is
Failed while trying to execute the outside outline