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(0x2b52c42e7630)') 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(0x2b52bd06f790)') called at /usr/lib/perl5/vendor_perl/5.8.8/Ima/DBI.pm line 328 Ima::DBI::__ANON__('galaxy4::DB::visit') called at /usr/lib/perl5/vendor_perl/5.8.8/Ima/DBI.pm line 393 Ima::DBI::__ANON__('galaxy4::DB::visit', 'secret = ?') 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(0x2b52c2478ce0)') 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(0x2b52c2478ce0)') called at /usr/lib/perl5/vendor_perl/5.8.8/Class/DBI.pm line 1094 Class::DBI::__ANON__('galaxy4::DB::visit', 'HASH(0x2b52c2ef3680)') called at /usr/lib/perl5/vendor_perl/5.8.8/Class/DBI.pm line 424 Class::DBI::find_or_create('galaxy4::DB::visit', 'HASH(0x2b52c2ef3680)') called at /var/www/sites/galaxy4/newsite/www.galaxy4.co.uk/plib//galaxy4/common/page.pm line 427 galaxy4::common::page::impl::headers('galaxy4::page::guestbook=HASH(0x2b52c2ecb180)', 'HASH(0x2b52c2edce60)') called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 479 eval {...} called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 479 Template::Engine::WebTemplate::callpageo('Template::Engine::WebTemplate=ARRAY(0x2b52c42e7e60)', 'headers', 'HASH(0x2b52c2edce60)') called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 562 Template::Engine::WebTemplate::modcall('Template::Engine::WebTemplate=ARRAY(0x2b52c42e7e60)', 'headers') called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 617 Template::Engine::WebTemplate::DoResponse('Template::Engine::WebTemplate=ARRAY(0x2b52c42e7e60)') 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(0x2b52c42e7e60)', 'Template::Engine::Handler=ARRAY(0x2b52c2e777c0)') called at /usr/lib/perl5/web-template-engine/Template/Engine/Handler.pm line 539 Template::Engine::Handler::handler('Template::Engine::Handler', 'Apache2::RequestRec=SCALAR(0x2b52c24756a0)') 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