Fatal error: Class 'JDatabase' not found
Moderators: mandville, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Mon Jul 28, 2014 9:47 pm
Fatal error: Class 'JDatabase' not found
Hi,
First I apologize if it is not the right place to post this.
I am trying to access this website: "http://www.mysite.es/" that we hosted on a server and appears this: "Fatal error: Class 'JDatabase' not found in / home / mysite / public_html / libraries / joomla / factory.php on line 592 "
See if you can tell me why that happens.
I put it here because I also wanted to ask for advice on how to migrate to version 3 because I think it is currently with the 1.7 (do not know exactly why when I go to admin me the same error listed above), as there are many problems with the happy post SPAM.
Thank you.
First I apologize if it is not the right place to post this.
I am trying to access this website: "http://www.mysite.es/" that we hosted on a server and appears this: "Fatal error: Class 'JDatabase' not found in / home / mysite / public_html / libraries / joomla / factory.php on line 592 "
See if you can tell me why that happens.
I put it here because I also wanted to ask for advice on how to migrate to version 3 because I think it is currently with the 1.7 (do not know exactly why when I go to admin me the same error listed above), as there are many problems with the happy post SPAM.
Thank you.
Last edited by alikon on Thu Sep 11, 2014 6:10 pm, edited 1 time in total.
Reason: edited for sensible info disclosure
Reason: edited for sensible info disclosure
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Fatal error: Class 'JDatabase' not found
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Apprentice
- Posts: 7
- Joined: Mon Jul 28, 2014 9:47 pm
Re: Fatal error: Class 'JDatabase' not found
Thanks leolam, but first I have to solve it in order to enter the administrator "http://www.carloscanas.es/administrator/". It also shows "Fatal error: Class 'JDatabase' not found"leolam wrote:See http://forum.joomla.org/viewtopic.php?f=625&t=691030 and follow the steps I describe
Leo
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Fatal error: Class 'JDatabase' not found
Let me try to understand. Your site is at present a Joomla 1.7 site as you state and you try to upgrade this?
Leo
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Apprentice
- Posts: 7
- Joined: Mon Jul 28, 2014 9:47 pm
Re: Fatal error: Class 'JDatabase' not found
The first problem is that I can not access not even as administrator.
http://www.carloscanas.es/administrator/ --> "Fatal error: Class 'JDatabase' not found in /home/carlosca/public_html/libraries/joomla/factory.php on line 592"
http://www.carloscanas.es/administrator/ --> "Fatal error: Class 'JDatabase' not found in /home/carlosca/public_html/libraries/joomla/factory.php on line 592"
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Fatal error: Class 'JDatabase' not found
Please answer my question ..... The current version is J1.7 or you tried to upgrade from J17 to J333 and you get that error message after that?
Leo
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Apprentice
- Posts: 7
- Joined: Mon Jul 28, 2014 9:47 pm
Re: Fatal error: Class 'JDatabase' not found
No, just try to see the web and the aforementioned mistake happens.
After what would migrate.
After what would migrate.
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Fatal error: Class 'JDatabase' not found
Well before I can give you good advise I need to know what version you have installed. Please go with ftp or your server hosting file manager cPanel? to the folder ../libraries/cms/version and open version.php. Here you see something like
Leo
this shows that it is Joomla 3.3.3 in that case. PLease post your version?/** @var string Release version. */
public $RELEASE = '3.3';
/** @var string Maintenance version. */
public $DEV_LEVEL = '3';
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Apprentice
- Posts: 7
- Joined: Mon Jul 28, 2014 9:47 pm
Re: Fatal error: Class 'JDatabase' not found
In ../includes/version.php
Thank you leolam./** @var string Product name. */
public $PRODUCT = 'Joomla!';
/** @var string Release version. */
public $RELEASE = '1.7';
/** @var string Maintenance version. */
public $DEV_LEVEL = '2';
/** @var string Development STATUS. */
public $DEV_STATUS = 'Stable';
/** @var string Build number. */
public $BUILD = '';
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Fatal error: Class 'JDatabase' not found
You have been hacked and you are completely blacklisted
http://sitecheck.sucuri.net/results/www.carloscanas.es
You need to follow each and every step of the following or hire a professional to resolve this.
[ ] Download and RUN the Forum Post Assistant / FPA Instructions available here and are also included in the download package. Post the generated results in your security/been hacked topic. Use these links to download the FPA:
Download .tar.gz version or Download the .zip version NOTE: Do not download the FPA from any other website or links found on the Internet.
[ ] Ensure you have the latest version of Joomla for your version of Joomla. Delete all files in your Joomla installation, saving a copy of the configuration.php file.
[ ] Review Vulnerable Extensions List to make sure any 3rd party extensions versions used appear on the vulnerable list.
[ ] Review and action Security Checklist 7 Make sure you've gone through all of the steps.
[ ] Scan all machines with FTP, Joomla super admin, and Joomla admin access for malware, virus, trojans, spyware, etc. Checklist 7 contains a list or recommended scanners.
[ ] Change all passwords and if possible user names for the website host control panel. Change the Joomla database user name and password.
[ ] Use proper permissions on files and directories. They should never be 777, ideal is 644 for files and 755 for directories. The configuration file can be set to 444 which is read only.
[ ] Check your htaccess for for any odd code (i.e. code which is not in the standard htaccess supplied as part of the Joomla installation).
[ ] Check the crontab or Task Scheduler for unexpected jobs/tasks.
[ ] Ensure you do not have anonymous ftp enabled.
[ ] Verify individually that any non-Joomla file such as but not limited to that will be placed back on the website such as images, pdf files, files for download, and other documents and files are valid and are supposed to be part of your website.
[ ] Replace the deleted files with fresh copies of a current full version of Joomla (minus the installation directory) you downloaded earlier. Install freshly downloaded copies of any extensions and templates used on the site. If the Joomla database user name and password were changed earlier, then make the necessary changes to the configuration.php file and upload a copy to the website. Upload any non-Joomla files that are necessary for your website. Only by replacing all files in the installation (including extensions and templates) can you be sure to remove the backdoors inserted and hidden in various files and directories More detailed information can be found in the Security Checklist 7 document.
Leo
http://sitecheck.sucuri.net/results/www.carloscanas.es
You need to follow each and every step of the following or hire a professional to resolve this.
[ ] Download and RUN the Forum Post Assistant / FPA Instructions available here and are also included in the download package. Post the generated results in your security/been hacked topic. Use these links to download the FPA:
Download .tar.gz version or Download the .zip version NOTE: Do not download the FPA from any other website or links found on the Internet.
[ ] Ensure you have the latest version of Joomla for your version of Joomla. Delete all files in your Joomla installation, saving a copy of the configuration.php file.
[ ] Review Vulnerable Extensions List to make sure any 3rd party extensions versions used appear on the vulnerable list.
[ ] Review and action Security Checklist 7 Make sure you've gone through all of the steps.
[ ] Scan all machines with FTP, Joomla super admin, and Joomla admin access for malware, virus, trojans, spyware, etc. Checklist 7 contains a list or recommended scanners.
[ ] Change all passwords and if possible user names for the website host control panel. Change the Joomla database user name and password.
[ ] Use proper permissions on files and directories. They should never be 777, ideal is 644 for files and 755 for directories. The configuration file can be set to 444 which is read only.
[ ] Check your htaccess for for any odd code (i.e. code which is not in the standard htaccess supplied as part of the Joomla installation).
[ ] Check the crontab or Task Scheduler for unexpected jobs/tasks.
[ ] Ensure you do not have anonymous ftp enabled.
[ ] Verify individually that any non-Joomla file such as but not limited to that will be placed back on the website such as images, pdf files, files for download, and other documents and files are valid and are supposed to be part of your website.
[ ] Replace the deleted files with fresh copies of a current full version of Joomla (minus the installation directory) you downloaded earlier. Install freshly downloaded copies of any extensions and templates used on the site. If the Joomla database user name and password were changed earlier, then make the necessary changes to the configuration.php file and upload a copy to the website. Upload any non-Joomla files that are necessary for your website. Only by replacing all files in the installation (including extensions and templates) can you be sure to remove the backdoors inserted and hidden in various files and directories More detailed information can be found in the Security Checklist 7 document.
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Apprentice
- Posts: 7
- Joined: Mon Jul 28, 2014 9:47 pm
Re: Fatal error: Class 'JDatabase' not found
Thank you very much leolam
- Bernard T
- Joomla! Guru
- Posts: 782
- Joined: Thu Jun 29, 2006 11:44 am
- Location: Hrvatska
- Contact:
Re: Fatal error: Class 'JDatabase' not found
Posting FPA could help us give you more suggestions if needed.
But first follow steps posted by Leo
But first follow steps posted by Leo
VEL Team || Security Forum || PHP/Web Security Specialist || OWASP member
JAMSS author http://forum.joomla.org/viewtopic.php?f=621&t=777957
Twitter: @toplak
JAMSS author http://forum.joomla.org/viewtopic.php?f=621&t=777957
Twitter: @toplak
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Fatal error: Class 'JDatabase' not found
Why posting this? You missed this as part of my post probably (on purpose?)BernardT wrote:Posting FPA could help us give you more suggestions if needed.
But first follow steps posted by Leo
Why you post that message when I have stated that already? .....(I have ideas but....)[ ] Download and RUN the Forum Post Assistant / FPA Instructions available here and are also included in the download package. Post the generated results in your security/been hacked topic. Use these links to download the FPA:
Download .tar.gz version or Download the .zip version NOTE: Do not download the FPA from any other website or links found on the Internet.
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
- Bernard T
- Joomla! Guru
- Posts: 782
- Joined: Thu Jun 29, 2006 11:44 am
- Location: Hrvatska
- Contact:
Re: Fatal error: Class 'JDatabase' not found
@Leo: I don't get what are you trying to say here in italics, mate? If you have any personal critics or are angry on me for any reason, PM me.
I'm just pointing out FPA result are most useful info anyway, if (s)he wants more concrete answers, would not be the first one last days forgetting about it and being asked several times.
As you should have done that FPA suggestion a few answers above, instead of pointing the original poster to search for version.php file (wrong path).
Why that, wouldn't FPA answer that anyway, and give us far better insight in his sites "blood test"?
I'm just pointing out FPA result are most useful info anyway, if (s)he wants more concrete answers, would not be the first one last days forgetting about it and being asked several times.
As you should have done that FPA suggestion a few answers above, instead of pointing the original poster to search for version.php file (wrong path).
Why that, wouldn't FPA answer that anyway, and give us far better insight in his sites "blood test"?
VEL Team || Security Forum || PHP/Web Security Specialist || OWASP member
JAMSS author http://forum.joomla.org/viewtopic.php?f=621&t=777957
Twitter: @toplak
JAMSS author http://forum.joomla.org/viewtopic.php?f=621&t=777957
Twitter: @toplak
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Fatal error: Class 'JDatabase' not found
If you think I am angry than you have seen nothing yetBernardT wrote:@Leo: I don't get what are you trying to say here in italics, mate? If you have any personal critics or are angry on me for any
You simply repeat that OP needs to upload the FPA imho and that I had already posted so need to re-post that suggestion me was thinking.
which is nonsense since OP did not know what version of software he/she was using. Once known we could have pointed OP in some directions. And yes for J1.7 the path is different and not wrong since nobody knew what version OP had so since OP stated that they had attempted (that's how I read it an upgrade I posted the from 2.5 onward path. Happy now?As you should have done that FPA suggestion a few answers above, instead of pointing the original poster to search for version.php file (wrong path).
Next at that moment I did not know yet that OP was hacked and whacked. So to minimize that (and it is definitely not conclusive if Securinet shows "clean") I ran it quickly through that channel and with the posted result.
OP is in deep trouble and in this particular case I would advise OP to hire security specialists like you or me or whoever and run it through myjoomla.com (fabulous suite/tools) which makes restoring the site so much easier. Besides that the respective domain will have a hard time to get back in the search if not proper guided on how to submit the sites again for reconsideration and get it of the blacklists. That's going to cost ages and tons of work, assuming his ISP is willing to allow an IP change but if not he can do that via "hidemyass"
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
- Bernard T
- Joomla! Guru
- Posts: 782
- Joined: Thu Jun 29, 2006 11:44 am
- Location: Hrvatska
- Contact:
Re: Fatal error: Class 'JDatabase' not found
OK, I see now what is the trouble here.
I assure you my post(s) here are not for personal or business promotion, it's much more genuine helping spirit that brings me back. And finally some spare time again.
If any other doubts I'd prefer (and be thankful) if you'd PM me directly before public critics. Thanks!
I still sand by my statements above, but I "rest my case" as I don't want any arguments or go OT.
I assure you my post(s) here are not for personal or business promotion, it's much more genuine helping spirit that brings me back. And finally some spare time again.
If any other doubts I'd prefer (and be thankful) if you'd PM me directly before public critics. Thanks!
I still sand by my statements above, but I "rest my case" as I don't want any arguments or go OT.
VEL Team || Security Forum || PHP/Web Security Specialist || OWASP member
JAMSS author http://forum.joomla.org/viewtopic.php?f=621&t=777957
Twitter: @toplak
JAMSS author http://forum.joomla.org/viewtopic.php?f=621&t=777957
Twitter: @toplak