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
#1
[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!

Alex
Reply
Thanks given by:
#2
[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
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
Port 443 goes active, https causes error rsthomas 13 2,173 Yesterday, 06:57 AM
Last Post: TGates
Cron Job Issue: Error: System Cron file could not be created. nscloud 6 981 07-04-2018, 02:32 AM
Last Post: TGates
Critical Error: [0100] - Unable to connect or authenticate to the Sentora database (s serverbrother 24 33,720 06-25-2018, 11:53 PM
Last Post: MosDef

Forum Jump:


Users browsing this thread: 1 Guest(s)