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
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
RE: Fatal error: Call to a member function query() on a non-object ..DatabasePDO.php
Is mysql running?
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Repo update error hostingms 3 5 ,358 02-14-2024, 09:20 AM
Last Post: TGates
apt-get install mod_ssl ERROR CMs222 9 25 ,579 11-11-2022, 09:14 PM
Last Post: zustudios
Sentora debug and error files johnnyp 0 1 ,128 10-27-2022, 06:16 PM
Last Post: johnnyp

Forum Jump:


Users browsing this thread: 1 Guest(s)