PHP Classes

Fatal error

Recommend this page to a friend!

      DB Backup Class  >  All threads  >  Fatal error  >  (Un) Subscribe thread alerts  
Subject:Fatal error
Summary:Please help me
Messages:6
Author:Prachi
Date:2010-10-29 06:40:39
Update:2010-10-30 15:30:29
 

  1. Fatal error   Reply   Report abuse  
Picture of Prachi Prachi - 2010-10-29 06:40:40
I implemented the class and got this error

Fatal error: Call to a member function query() on a non-object in /opt/lampp/htdocs/Pracheez Demoz/db-backup-class-2010-10-26/DBBackup.class.php on line 163

  2. Re: Fatal error   Reply   Report abuse  
Picture of Prachi Prachi - 2010-10-29 06:45:43 - In reply to message 1 from Prachi
I am using mysql.

  3. Re: Fatal error ME TOO !!!   Reply   Report abuse  
Picture of joseph joseph - 2010-10-29 06:47:43 - In reply to message 2 from Prachi
Fatal error: Call to a member function query() on a non-object in /home/cotecroi/www/phpmyxadmin/sqlbackup/DBBackup.class.php on line 163


  4. Re: Fatal error   Reply   Report abuse  
Picture of Raul Raul - 2010-10-29 19:22:21 - In reply to message 3 from joseph
To use this class you must to have the PDO extension turned on in your php.ini.

  5. Re: Fatal error   Reply   Report abuse  
Picture of Prachi Prachi - 2010-10-30 10:13:04 - In reply to message 4 from Raul
the PDO extension has been enabled but still there is an error .

  6. Re: Fatal error   Reply   Report abuse  
Picture of Raul Raul - 2010-10-30 15:30:29 - In reply to message 5 from Prachi
verify if the mysql pdo extension is turned on...
i think that is it: pdo_mysql.so (or pdo_mysql.dll if you are running windows)