JCache not found
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 18
- Joined: Wed Jan 30, 2013 9:42 am
JCache not found
Hi,
I have Joomla 2.5 installed and its working fine for more than 3 months. Suddenly, when I tried to access my website or the admin page, it show me below error:
Fatal error: Class 'JCache' not found in /home/xxxxxx/public_html/libraries/joomla/factory.php on line 265
Can you please assist.
I have Joomla 2.5 installed and its working fine for more than 3 months. Suddenly, when I tried to access my website or the admin page, it show me below error:
Fatal error: Class 'JCache' not found in /home/xxxxxx/public_html/libraries/joomla/factory.php on line 265
Can you please assist.
- andymelichar
- Joomla! Enthusiast
- Posts: 179
- Joined: Mon Mar 25, 2013 6:44 pm
- Location: Omaha, NE / Ann Arbor, MI
- Contact:
Re: JCache not found
This usually occurs when files go missing from the Joomla install, or when the cache directory become unwritable.
1. Be sure your cache directory is writable
2. Check to see if any files have gone missing or been renamed, especially
/[your-joomla-path]/libraries/joomla/cache/cache.php
3. Also check to be sure your site has not been hacked.
-Andy
1. Be sure your cache directory is writable
2. Check to see if any files have gone missing or been renamed, especially
/[your-joomla-path]/libraries/joomla/cache/cache.php
3. Also check to be sure your site has not been hacked.
-Andy
▌▌ Andy Melichar, A2 Hosting Community Manager
▌▌ http://A2Hosting.com is a Joomla Global Platinum Sponsor
▌▌ Celebrating 10 Years of Hosting!
▌▌ Was my answer helpful? Say thanks by hosting with us! http://a2hosting.com/joomla-hosting
▌▌ http://A2Hosting.com is a Joomla Global Platinum Sponsor
▌▌ Celebrating 10 Years of Hosting!
▌▌ Was my answer helpful? Say thanks by hosting with us! http://a2hosting.com/joomla-hosting
-
- Joomla! Apprentice
- Posts: 18
- Joined: Wed Jan 30, 2013 9:42 am
Re: JCache not found
Hi,
There are no files in cache folder (libraries/joomla/cache). My site was working fine and all of a sudden how did the files went missing. Is there a way to check how files got deleted? Can you provide me the cache file, so that I can upload. Will that work?
There are no files in cache folder (libraries/joomla/cache). My site was working fine and all of a sudden how did the files went missing. Is there a way to check how files got deleted? Can you provide me the cache file, so that I can upload. Will that work?
- andymelichar
- Joomla! Enthusiast
- Posts: 179
- Joined: Mon Mar 25, 2013 6:44 pm
- Location: Omaha, NE / Ann Arbor, MI
- Contact:
Re: JCache not found
Download a copy of 2.5 from the Joomla site and copy over the missing files.
You'll need to ask your hosting company about the files. They may have some logs that can tell you how they were deleted.
You'll need to ask your hosting company about the files. They may have some logs that can tell you how they were deleted.
▌▌ Andy Melichar, A2 Hosting Community Manager
▌▌ http://A2Hosting.com is a Joomla Global Platinum Sponsor
▌▌ Celebrating 10 Years of Hosting!
▌▌ Was my answer helpful? Say thanks by hosting with us! http://a2hosting.com/joomla-hosting
▌▌ http://A2Hosting.com is a Joomla Global Platinum Sponsor
▌▌ Celebrating 10 Years of Hosting!
▌▌ Was my answer helpful? Say thanks by hosting with us! http://a2hosting.com/joomla-hosting
- bradm
- Joomla! Explorer
- Posts: 369
- Joined: Tue Apr 19, 2011 1:58 pm
- Location: Virginia Beach, Va
- Contact:
Re: JCache not found
Hi hiteshkataria,
If you changed nothing:
* Your website may have been hacked, and the people involved edited / removed some files
* Someone else who has access to your account (like a co-worker) may have done something to cause the issue
I work for a Joomla hosting company, and if you contact your own host, they should be able to look through ftp logs and other various logs. If a file was deleted for example, they should be able to see what IP address deleted it and when.
Keep us updated, I'm interested to see find out what the problem was.
Right before the issue started happening, did you change anything? For example, did you install a new component, edit an article, or update anything?Suddenly, when I tried to access my website or the admin page, it show me below error:
Fatal error: Class 'JCache' not found in /home/xxxxxx/public_html/libraries/joomla/factory.php on line 265
If you changed nothing:
* Your website may have been hacked, and the people involved edited / removed some files
* Someone else who has access to your account (like a co-worker) may have done something to cause the issue
I work for a Joomla hosting company, and if you contact your own host, they should be able to look through ftp logs and other various logs. If a file was deleted for example, they should be able to see what IP address deleted it and when.
Keep us updated, I'm interested to see find out what the problem was.
Please let me know if I can help any further.
Thanks, BradM, with http://www.inmotionhosting.com Support
Thanks, BradM, with http://www.inmotionhosting.com Support
-
- Joomla! Fledgling
- Posts: 3
- Joined: Fri May 17, 2013 6:54 pm
Re: JCache not found
hello bradm and hiteshkatariabradm wrote: ...
Right before the issue started happening, did you change anything? For example, did you install a new component, edit an article, or update anything?
Two sites i'm working for are down as well.
http://www.culnatours.com.bo
http://www.comsibolivia.org.bo
with Exactly the same message our friend Hiteshkataria shows up there as you can see.
Would say it was the latest joomla update, 'cause i updated both sites kinda 3 days ago and didn't try accessing to them until today when COMSI staff told me it was down... Culnatours haven't said anything yet but it shows the same error as well. And well since hiteshkataria's post is from yesterday as the forum says, i think both his problem and mine are related.
I'm going to try to do this, i just don't remember which version i updated to which one... joomla says to download 2.5.11, but i remember the version i updated it to was .14 or .15... would it affect to copy files from version .11? that's why i haven't done it yet...andymelichar wrote:Download a copy of 2.5 from the Joomla site and copy over the missing files.
You'll need to ask your hosting company about the files. They may have some logs that can tell you how they were deleted.
Please correct me if i'm wrong about the version numbers! And also if i'm wrong about what i think. The error says
"Class 'JCache' not found in /home/xxxxxx/public_html/libraries/joomla/factory.php on line 265"
JCache is not a file, is an instruction inside the factory.php[/p] file, and yes the file exists and this is what it says on line 265
Code: Select all
$cache = JCache::getInstance($handler, $options);
I'll now save a backup of that file and download the 2.5.11 full package, and replace that very file, but i don't expect it gets corrected. Also, if it was about the "factory.php" making trouble, i think only one of my two sites would be down.
I'm sure its about the Joomla version latest update, and i have NO access to the back end either. Is there any way to downgrade my sites to an earlier version?
I already have a blank 2.5.8 full package in my PC, but i don't know if its possible to downgrade to that version without losing any of my info and records on the webs.
Thank you very much, i'd appreciate any help.
- andymelichar
- Joomla! Enthusiast
- Posts: 179
- Joined: Mon Mar 25, 2013 6:44 pm
- Location: Omaha, NE / Ann Arbor, MI
- Contact:
Re: JCache not found
Errors like this can occur is if all of the files are not properly copied up to your server. This could happen because:
1. The permissions on your server are preventing some of these files from being written when they are uploaded
2. Your FTP software isn't uploading everything
3. You accidentally missed a folder/file when you copied.
4. Files were deleted from your server
First I would back up everything, then I would download a fresh copy of the latest Joomla 2.5 version, upload it over your existing installation, and watch your FTP software carefully to see if any files/folders fail to upload. If everything is uploaded fine, you will likely have fixed your problem as well as upgraded to the most recent version.
There is never any reason to downgrade Joomla, nor is there any easy way to do so.
In terms of factory.php throwing the error, that doesn't mean factory.php is the culprit, it's just the PHP file that is starting the function that is causing the error. The function being called by factory.php could be in any number of files, or could be missing all together, which would cause the error to be reported from the factory.php file.
1. The permissions on your server are preventing some of these files from being written when they are uploaded
2. Your FTP software isn't uploading everything
3. You accidentally missed a folder/file when you copied.
4. Files were deleted from your server
First I would back up everything, then I would download a fresh copy of the latest Joomla 2.5 version, upload it over your existing installation, and watch your FTP software carefully to see if any files/folders fail to upload. If everything is uploaded fine, you will likely have fixed your problem as well as upgraded to the most recent version.
There is never any reason to downgrade Joomla, nor is there any easy way to do so.
In terms of factory.php throwing the error, that doesn't mean factory.php is the culprit, it's just the PHP file that is starting the function that is causing the error. The function being called by factory.php could be in any number of files, or could be missing all together, which would cause the error to be reported from the factory.php file.
▌▌ Andy Melichar, A2 Hosting Community Manager
▌▌ http://A2Hosting.com is a Joomla Global Platinum Sponsor
▌▌ Celebrating 10 Years of Hosting!
▌▌ Was my answer helpful? Say thanks by hosting with us! http://a2hosting.com/joomla-hosting
▌▌ http://A2Hosting.com is a Joomla Global Platinum Sponsor
▌▌ Celebrating 10 Years of Hosting!
▌▌ Was my answer helpful? Say thanks by hosting with us! http://a2hosting.com/joomla-hosting
-
- Joomla! Fledgling
- Posts: 3
- Joined: Fri May 17, 2013 6:54 pm
Re: JCache not found
well one of my sites has been working on from 5 months ago, and the 2nd one is from 1 month ago, and both of them crashed at the same time with this same error...andymelichar wrote:Errors like this can occur is if all of the files are not properly copied up to your server. This could happen because:
1. The permissions on your server are preventing some of these files from being written when they are uploaded
2. Your FTP software isn't uploading everything
3. You accidentally missed a folder/file when you copied.
4. Files were deleted from your server
i mean:
- the permissions haven't been modified in that whole time (discarding point 1)
- when i updated joomla on both sites i did it through the web directly, not using ftp software, came into the back end, said "Update!" and i said "Yes! ", and it did everything itself (discarding point 2).
- files haven't been modified either, made no modification at all for at least two weeks, in any of both webs (discarding point 3).
That would leave us the 4th alternative... my host is [url banned].com, would 000wh randomly delete exactly the same single files on both webs?
I will try what you say anyway, thank you... so i just unzip the latest version and upload it, then install it as if it was in a blank web?
- andymelichar
- Joomla! Enthusiast
- Posts: 179
- Joined: Mon Mar 25, 2013 6:44 pm
- Location: Omaha, NE / Ann Arbor, MI
- Contact:
Re: JCache not found
I doubt your host had anything to do with it, us hosting companies aren't in the habit of deleting files on our customer's websites - if we did that, we wouldn't have any customers
It is possible your site(s) have been hacked, the only person who would be able to tell you when/how/why the files are missing *might* be your hosting company.
Yes, copying the entire Joomla install on top of the existing install *should* return your site to a functional state, assuming nothing else is going on with your hosting that could be causing the trouble. Just be sure you back everything up before you try it.
It is possible your site(s) have been hacked, the only person who would be able to tell you when/how/why the files are missing *might* be your hosting company.
Yes, copying the entire Joomla install on top of the existing install *should* return your site to a functional state, assuming nothing else is going on with your hosting that could be causing the trouble. Just be sure you back everything up before you try it.
▌▌ Andy Melichar, A2 Hosting Community Manager
▌▌ http://A2Hosting.com is a Joomla Global Platinum Sponsor
▌▌ Celebrating 10 Years of Hosting!
▌▌ Was my answer helpful? Say thanks by hosting with us! http://a2hosting.com/joomla-hosting
▌▌ http://A2Hosting.com is a Joomla Global Platinum Sponsor
▌▌ Celebrating 10 Years of Hosting!
▌▌ Was my answer helpful? Say thanks by hosting with us! http://a2hosting.com/joomla-hosting
-
- Joomla! Fledgling
- Posts: 3
- Joined: Fri May 17, 2013 6:54 pm
Re: JCache not found
Ok then, i made a backup, and then i uploaded a new fresh Joomla 2.5.11 overwriting all what i already had on my site, and its installation. Then i had to just delete the installation directory and tried again.andymelichar wrote:
Yes, copying the entire Joomla install on top of the existing install *should* return your site to a functional state, assuming nothing else is going on with your hosting that could be causing the trouble. Just be sure you back everything up before you try it.
Worked perfectly! Thank you very much! Hope this also helps the one who created the post
- andymelichar
- Joomla! Enthusiast
- Posts: 179
- Joined: Mon Mar 25, 2013 6:44 pm
- Location: Omaha, NE / Ann Arbor, MI
- Contact:
Re: JCache not found
Glad it worked out!
▌▌ Andy Melichar, A2 Hosting Community Manager
▌▌ http://A2Hosting.com is a Joomla Global Platinum Sponsor
▌▌ Celebrating 10 Years of Hosting!
▌▌ Was my answer helpful? Say thanks by hosting with us! http://a2hosting.com/joomla-hosting
▌▌ http://A2Hosting.com is a Joomla Global Platinum Sponsor
▌▌ Celebrating 10 Years of Hosting!
▌▌ Was my answer helpful? Say thanks by hosting with us! http://a2hosting.com/joomla-hosting
-
- Joomla! Apprentice
- Posts: 18
- Joined: Wed Jan 30, 2013 9:42 am
Re: JCache not found
As I could not get the FTP log from my host, I downloaded the latest version of Jommla and deleted the installation folder. Now I'm able to acces the site.
Thanks a lot!
Thanks a lot!