An Error occured while processing your page

If this is not expected please contact developers@clock.co.uk

Error Details

Date 2014-11-27 12:53:45
Error Number 2
Error Type Warning
Error Message pg_pconnect(): Unable to connect to PostgreSQL server: FATAL: database "Stylist" does not exist
Filename /var/application/ShortList/Stylist/Application/Atrox/Core/Data/DataConnection.php
Line Number 38

Stack Trace

/var/application/ShortList/Stylist/Application/Routes.php Line: 2 Function: require_once(/var/application/ShortList/Stylist/Application/Bootstrap.php)

/var/application/ShortList/Stylist/Application/Bootstrap.php Line: 150 Class: DatabaseControl Function: connect()

Code

	  28  
	  29  	/**
	  30  	 * We ensure that we only ever have one instances of this object.
	  31  	 */
	  32  	function DatabaseControl() {
	  33  		// Create the connection.
	  34  		return $this;
	  35  	}
	  36  	function connect() {
	  37  		$application = &CoreFactory::getApplication();
	  38 -->>		$this->dbConnection = pg_pconnect($application->getConnectionString());
	  39  	}
	  40  
	  41  	function close() {
	  42  		pg_close($this->dbConnection);
	  43  	}
	  44  
	  45  	function parseTable($tableName) {
	  46  		return "\"$tableName\"";
	  47  	}
	  48  

				

Memory Dump

Server:
Array
(
[SCRIPT_URL] => /life/recipes/show-us-your-lunch-even-more-entries
[SCRIPT_URI] => http://nixi.stylist.co.uk/life/recipes/show-us-your-lunch-even-more-entries
[SERVER_TYPE] => Live
[WEBSERVICE_IP2COUNTRY_URL] => http://clockwebservices.clock.co.uk/ip-to-country/ip-to-country.php
[WEBSERVICE_POSTCODE_URL] => http://clockwebservices.clock.co.uk/ip-to-country/ip-to-country.php
[HTTP_HOST] => nixi.stylist.co.uk
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_ACCEPT_LANGUAGE] => en-us,en-gb,en;q=0.7,*;q=0.3
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[PATH] => /usr/local/bin:/usr/bin:/bin
[SERVER_SIGNATURE] =>
[SERVER_SOFTWARE] => Apache
[SERVER_NAME] => nixi.stylist.co.uk
[SERVER_ADDR] => 89.151.72.68
[SERVER_PORT] => 80
[REMOTE_ADDR] => 54.242.190.171
[DOCUMENT_ROOT] => /var/application/ShortList/Stylist/Site/Root
[SERVER_ADMIN] => [no address given]
[SCRIPT_FILENAME] => /var/application/ShortList/Stylist/Application/Routes.php
[REMOTE_PORT] => 38856
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.0
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /life/recipes/show-us-your-lunch-even-more-entries
[SCRIPT_NAME] => /life/recipes/show-us-your-lunch-even-more-entries
[PHP_SELF] => /life/recipes/show-us-your-lunch-even-more-entries
[REQUEST_TIME] => 1417092825
)

Session:
Array
(
[CurrentPage] => http://nixi.stylist.co.uk/life/recipes/show-us-your-lunch-even-more-entries
)