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(0x2b52c8d83340)') 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(0x2b52bcc3d820)') 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(0x2b52c8f73670)') 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(0x2b52c8f73670)') called at /usr/lib/perl5/vendor_perl/5.8.8/Class/DBI.pm line 1094 Class::DBI::__ANON__('galaxy4::DB::visit', 'HASH(0x2b52c8ddaac0)') called at /usr/lib/perl5/vendor_perl/5.8.8/Class/DBI.pm line 424 Class::DBI::find_or_create('galaxy4::DB::visit', 'HASH(0x2b52c8ddaac0)') 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::events=HASH(0x2b52c8c80c10)', 'HASH(0x2b52c8f73220)') 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(0x2b52c8e25f80)', 'headers', 'HASH(0x2b52c8f73220)') called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 562 Template::Engine::WebTemplate::modcall('Template::Engine::WebTemplate=ARRAY(0x2b52c8e25f80)', 'headers') called at /usr/lib/perl5/web-template-engine/Template/Engine/WebTemplate.pm line 617 Template::Engine::WebTemplate::DoResponse('Template::Engine::WebTemplate=ARRAY(0x2b52c8e25f80)') 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(0x2b52c8e25f80)', 'Template::Engine::Handler=ARRAY(0x2b52c8e2f350)') called at /usr/lib/perl5/web-template-engine/Template/Engine/Handler.pm line 539 Template::Engine::Handler::handler('Template::Engine::Handler', 'Apache2::RequestRec=SCALAR(0x2b52c8f89b70)') 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