This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Fatal error: Call to a member function query() on a non-object ..DatabasePDO.php
[Not Solved] Fatal error: Call to a member function query() on a non-object ..DatabasePDO.php
Hi guys, need some help in getting our db back online. seems like our website crashed yesterday and now is showing this error:
Fatal error: Call to a member function query() on a non-object in /var/sentora/hostdata/zadmin/public_html/*sitename*/includes/database/DatabasePDO.php on line 53

On Panel side, here's the error:

Critical Error: [0100] - Unable to connect or authenticate to the Sentora database (sentora_core).

We advice that you contact the server administrator to ensure that the database server is online and that the correct connection parameters are being used.

based on searching the forums, here's what we've tried:
1. deleted log files just to be sure since it solved other folks' problems
2. replaced the /DatabasePDO.php being referenced with a back-up copy
3. Will try the password fix, though it's doubtful because we never changed passwords. Sad

Has anyone else gotten this particular error and how'd you fix? No one seems to have gotten the fatal error based on searching the forums.

Thank you for all the help!

Thanks given by:
[Not Solved] RE: Fatal error: Call to a member function query() on a non-object ..DatabasePDO.php
Is mysql running?
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Thanks given by:

Possibly Related Threads...
Thread Author Replies Views Last Post
HTTP 500 error with Ioncube qwewwqe 0 119 03-12-2019, 02:38 PM
Last Post: qwewwqe
sentora install error laci 5 1,268 11-13-2018, 03:35 PM
Last Post: laci
Sentora move error blackstormy1804 1 721 10-31-2018, 11:29 PM
Last Post: republicus

Forum Jump:

Users browsing this thread: 1 Guest(s)