Anonymous

Topic: Fatal error: Call to a member function query() on a non-object in

Getting this error after uploading files:

Fatal error: Call to a member function query() on a non-object in /home/asn/public_html/jobs/_includes/class.Job.php on line 851

links

Re: Fatal error: Call to a member function query() on a non-object in

Hello,

Have you created the database, imported from phpmyadmin the sql from the 'db' folder and made sure the DB_HOST, DB_USER, DB_PASS from the config.php file are correct? One of these should be the problem, the second one most likely.

Anonymous

Re: Fatal error: Call to a member function query() on a non-object in

Figured it out. I didn't have the config file correctly updated. Thanks!

We're in need of modifying the system to suit out needs though. The board looks good.

Anonymous

Re: Fatal error: Call to a member function query() on a non-object in

Have the same problem, looked all over the config.php file and don't see what i could've done wrong there. DB user/pass/host are correct, php version is greater than 5 and i don't have mysqli, but fixed the require_once line as per instructions in the installation guide.

Any clues on what have you fixed to make it work ?

Thanks.