Topic: Fatal error: Call to a member function fetch_assoc() on a non-object
Fatal error: Call to a member function fetch_assoc() on a non-object in /homepages/11/d329577265/htdocs/rojobs_site/_includes/class.JobberSettings.php on line 23
Dear all,
I have the above error when I launch www.rojobs.co.uk and the following information on my config.envs.php
// live (http://www.rojobs.co.uk/)
$__instances['live'] = array(
'prefix' => 'rojobs.co.uk',
'db_host' => 'db2974.oneandone.co.uk',
'db_port' => 3306,
'db_user' => 'username',
'db_password' => 'xxxxxx',
'db_name' => 'dataname',
'db_prefix' => '',
'app_url' => 'http://www.rojobs.co.uk/rojobs_site/',
'ini_error_reporting' => E_ALL,
'ini_display_errors' => 'On',
'location' => 'online',
'environment' => 'prod',
'rewrite_mode' => 'apache_mod_rewrite'
);
I uploaded all the files from public folder to 'rojobs_site' folder.
My hosting provider is oneandone.co.uk.
rojobs_site is the main directory for the rojobs.co.uk domain.
I read many posts and I made a lot of changes to the config.envs file but still not working.
Thank you very much indeed.