Fatal error: Cannot make non static method JCacheStorageHELP

Discussion regarding Joomla! 1.5 Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security and Performance FAQs
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
ivanmalo2
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Fri Apr 23, 2010 12:54 pm

Fatal error: Cannot make non static method JCacheStorageHELP

Postby ivanmalo2 » Fri May 28, 2010 6:51 pm

Hi,
I just restored my joomla site from a backup done with akeeba and everything ran fine until I try to edit my general settings, there it sends me to a blank page with this error:

Code: Select all

Fatal error: Cannot make non static method JCacheStorage::test() static in class JCacheStorageCachelite in /home/qu1dwar3/public_html/truequeequino.com/libraries/joomla/cache/storage/cachelite.php on line 278


I dont even find this file in any joomla installation I've made.
I would apreciate any help, thanks.

grailking
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Jan 23, 2008 9:02 pm

Re: Fatal error: Cannot make non static method JCacheStorage

Postby grailking » Tue Jun 01, 2010 8:42 pm

I have the same error on a brand new install of 1.5.18 on a centOS box.

Anybody have a clue as to where to go to fix it?

ivanmalo
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Tue Jan 05, 2010 5:27 am

Re: Fatal error: Cannot make non static method JCacheStorage

Postby ivanmalo » Wed Jun 02, 2010 4:56 am

grailking wrote:I have the same error on a brand new install of 1.5.18 on a centOS box.

Anybody have a clue as to where to go to fix it?


I fixed it when I eliminated both chachelite.php and another file i believe winsomething.php, This worked for me but I dont think it was safe to do taht, backup your site before trying it.

grailking
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Jan 23, 2008 9:02 pm

Re: Fatal error: Cannot make non static method JCacheStorage

Postby grailking » Wed Jun 02, 2010 1:16 pm

Since the site I'm working on isn't a production site yet, I deleted cachelite.php & wincache.php and it worked for me as well.

I'm uneasy about deleting files I don't understand myself - does anybody know what I just deleted and what effect it may have in the long term?

candise
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Nov 22, 2010 4:45 pm

Re: Fatal error: Cannot make non static method JCacheStorage

Postby candise » Mon Nov 22, 2010 4:48 pm

I tried deleting the files and came up with this error:

Fatal error: Cannot make non static method JCacheStorage::test() static in class JCacheStorageWincache in /hermes/web08/b1229/moo.playstartmusiccom/libraries/joomla/cache/storage/wincache.php on line 169

Ideas?

ProgeneSafe
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Jan 19, 2011 10:25 pm

Re: Fatal error: Cannot make non static method JCacheStorage

Postby ProgeneSafe » Fri Feb 25, 2011 9:08 pm

Guys,

If you feel uneasy about deleting files you don't know about, don't delete them... just rename them, adding the extension '.old' to the file. So, in this case, change /libraries/joomla/chache/storage/chachelite.php and wincache.php to cachelite.php.old and wincache.php.old and also /libraries/joomla/session/storage/wincache.php to wincache.php.old

It worked for me!

Thanks,

stylez

dale28
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Apr 03, 2011 5:59 am

Re: Fatal error: Cannot make non static method JCacheStorage

Postby dale28 » Sun Apr 03, 2011 6:09 am

hey!
I just found a way to fix this problem.

here's what i've done
for the file:/libraries/joomla/cache/storage/cachelite.php
open it and look for "funcion test()"
it's normally at the bottom
find it and remove the word "static" in the same line

if there's still problems with
/libraries/joomla/cache/storage/wincache.php
/libraries/joomla/session/storage/wincache.php
do the similar thing to them


hope i do help :D

pearlcaviar
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Sat Dec 04, 2010 6:57 pm

Re: Fatal error: Cannot make non static method JCacheStorage

Postby pearlcaviar » Fri Apr 08, 2011 8:09 am

Thanks for your post dale28. You save my life :p

dale28 wrote:hey!
I just found a way to fix this problem.

here's what i've done
for the file:/libraries/joomla/cache/storage/cachelite.php
open it and look for "funcion test()"
it's normally at the bottom
find it and remove the word "static" in the same line

if there's still problems with
/libraries/joomla/cache/storage/wincache.php
/libraries/joomla/session/storage/wincache.php
do the similar thing to them


hope i do help :D

User avatar
wbhendrix
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Wed Oct 03, 2007 2:18 am
Contact:

Re: Fatal error: Cannot make non static method JCacheStorage

Postby wbhendrix » Mon Apr 25, 2011 11:30 pm

thank you so much @Dale28 - this worked perfect!
**************************************
Listen to Internet Radio While You Work!
http://www.lifejive.com
http://www.lifejive.com/listen8138.pls

User avatar
willisetech
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Mar 08, 2010 5:51 pm
Location: Vernon, BC
Contact:

Re: Fatal error: Cannot make non static method JCacheStorage

Postby willisetech » Tue May 24, 2011 2:54 pm

Thank you Dale28, this also worked for me. I needed to remove "static" from all the files you mentioned, then all was well.

Holytoutant
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Feb 12, 2010 3:44 am

Re: Fatal error: Cannot make non static method JCacheStorage

Postby Holytoutant » Tue Jul 05, 2011 1:43 pm

Thanks it worked for me too!

Mass1
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Aug 18, 2011 9:35 am

Re: Fatal error: Cannot make non static method JCacheStorage

Postby Mass1 » Thu Aug 18, 2011 9:42 am

dale28 wrote:hey!
I just found a way to fix this problem.

here's what i've done
for the file:/libraries/joomla/cache/storage/cachelite.php
open it and look for "funcion test()"
it's normally at the bottom
find it and remove the word "static" in the same line

if there's still problems with
/libraries/joomla/cache/storage/wincache.php
/libraries/joomla/session/storage/wincache.php
do the similar thing to them


hope i do help :D


Hi I tried this solution but don't work properly for me, because I obtain a blank page now... have you an idea?
thanks
Massimiliano

maci
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Dec 04, 2006 7:54 pm

Re: Fatal error: Cannot make non static method JCacheStorage

Postby maci » Wed Sep 21, 2011 3:37 pm

hey, I got the same probleme!
I resolved deleting these files:
/libraries/joomla/cache/storage/wincache.php
/libraries/joomla/session/storage/wincache.php
/libraries/joomla/cache/storage/cachelite.php

batessupplies
Joomla! Explorer
Joomla! Explorer
Posts: 491
Joined: Thu Feb 05, 2009 1:25 pm
Contact:

Re: Fatal error: Cannot make non static method JCacheStorage

Postby batessupplies » Thu Oct 06, 2011 1:40 pm


User avatar
deck2deck
Joomla! Explorer
Joomla! Explorer
Posts: 281
Joined: Fri Feb 03, 2006 3:23 pm
Location: Georgia, United States

Re: Fatal error: Cannot make non static method JCacheStorage

Postby deck2deck » Wed Oct 19, 2011 8:06 pm

Awesome dale28...

I've been living without my Global Configuration since May but today I had to have it. I finally resolved to find an answer to this problem and yours worked!!!! Bless you, bless you... so glad to have my GC page back. YAY!!!
Be part of the solution -- not part of the problem.

devananda
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Mon Apr 04, 2011 12:54 am
Location: S. Korea

Re: Fatal error: Cannot make non static method JCacheStorage

Postby devananda » Wed Oct 26, 2011 6:01 am

ProgeneSafe wrote:Guys,

If you feel uneasy about deleting files you don't know about, don't delete them... just rename them, adding the extension '.old' to the file. So, in this case, change /libraries/joomla/chache/storage/chachelite.php and wincache.php to cachelite.php.old and wincache.php.old and also /libraries/joomla/session/storage/wincache.php to wincache.php.old

It worked for me!

Thanks,

stylez


I tried what dale28 suggested, deleting "static" from the code but it didn't work for me.

Then....

I tried what ProgeneSafe suggested and it worked!

Thanks ProgenSafe!

User avatar
greennud
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Mon Mar 08, 2010 10:16 pm

Re: Fatal error: Cannot make non static method JCacheStorage

Postby greennud » Thu Nov 03, 2011 4:19 pm

Thank you very much maci amd dale28

korb
Joomla! Intern
Joomla! Intern
Posts: 88
Joined: Thu Apr 03, 2008 3:58 pm
Contact:

Re: Fatal error: Cannot make non static method JCacheStorage

Postby korb » Mon Nov 07, 2011 12:34 pm

I am now with Joomla! 1.5.24 and none of the above worked..

HMM!

I used Akeeba Kickstart for the first time to restore a subdomain and I just overwritten my Joomla! 1.5 main site files with Joomla! 1.7 files! Then I restored my Joomla! 1.5 back-up to my main site and I got this issue, cannot access Global Configuration, Plugin Manager and User Manager.

Then using FTP I've uploaded Joomla! 1.5.24 full stable package and overwritten all files again. Nonw Global Configuration and User Managet are still not available.

Global Configuration shows Cannot make static.... eror
User Manager page is blank..

Appreciate any help.
Danny

MrQ1954
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Nov 21, 2011 4:43 pm

Re: Fatal error: Cannot make non static method JCacheStorage

Postby MrQ1954 » Mon Nov 21, 2011 4:52 pm

Good day all

I too have this problem with Joomal 1.5.22

I would like to try the advice given to change the files but I dont have a clue where to start

Would someone be kind enough to explain to a complete novice how I do this
Where do I gain access to the files

I guess there is a simple answer (always is when you know it!)

Thank you in advance

MrQ

User avatar
montano
Joomla! Ace
Joomla! Ace
Posts: 1184
Joined: Wed Aug 24, 2005 11:38 am
Location: Dallas, TX
Contact:

Re: Fatal error: Cannot make non static method JCacheStorage

Postby montano » Sat Nov 26, 2011 7:40 pm

I renamed the libraries/joomla folder to joomla-old as a safety precaution and then uploaded a fresh version of this folder from the most recent Joomla 1.5.25 release.

This fixed my problem.

It appears that cachelite.php and wincache.php are no longer included in a new installation. I tried renaming those two files, but still had issues until I replaced the folder all together.

MrQ1954
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Nov 21, 2011 4:43 pm

Re: Fatal error: Cannot make non static method JCacheStorage

Postby MrQ1954 » Sat Nov 26, 2011 7:53 pm

Thank you Montano.

Very helpful.

I am am complete novice at this - can you please explain to me very briefly how I access the libraries and other files. Where do I start - I have tried everywhere I can think but cannot get into anything that looks like code

I appreciate any help on this

Thank you
MrQ

dia2000
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Sat Jan 16, 2010 11:06 am
Contact:

Re: Fatal error: Cannot make non static method JCacheStorage

Postby dia2000 » Sat Nov 26, 2011 8:21 pm

Thank you montano.
It didn't work with me even!

But thanks anyway...

User avatar
montano
Joomla! Ace
Joomla! Ace
Posts: 1184
Joined: Wed Aug 24, 2005 11:38 am
Location: Dallas, TX
Contact:

Re: Fatal error: Cannot make non static method JCacheStorage

Postby montano » Sat Nov 26, 2011 11:19 pm

You will need FTP access. Something like Filezilla or SmartFTP. Look at your Joomla file structure and find the folder called libraries. Follow the path in the error (libraries/joomla/cache/storage/)
MrQ1954 wrote:Thank you Montano.

Very helpful.

I am am complete novice at this - can you please explain to me very briefly how I access the libraries and other files. Where do I start - I have tried everywhere I can think but cannot get into anything that looks like code

I appreciate any help on this

Thank you
MrQ

MrQ1954
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Nov 21, 2011 4:43 pm

Re: Fatal error: Cannot make non static method JCacheStorage

Postby MrQ1954 » Sun Nov 27, 2011 1:53 am

Thnak you Montano - again
Very helpful and also timely

MrQ

maxoutje
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Mar 20, 2010 8:33 am

Re: Fatal error: Cannot make non static method JCacheStorage

Postby maxoutje » Mon Nov 28, 2011 12:21 pm

Mass1 wrote:
dale28 wrote:hey!
I just found a way to fix this problem.

here's what i've done
for the file:/libraries/joomla/cache/storage/cachelite.php
open it and look for "funcion test()"
it's normally at the bottom
find it and remove the word "static" in the same line

if there's still problems with
/libraries/joomla/cache/storage/wincache.php
/libraries/joomla/session/storage/wincache.php
do the similar thing to them


hope i do help :D


Hi I tried this solution but don't work properly for me, because I obtain a blank page now... have you an idea?
thanks
Massimiliano


Hi! i have also this problem ! I have a blank page on USERMANGER and CONFIGURATION.
Who has a solution?

User avatar
rholzler
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Feb 26, 2009 3:51 pm
Location: Sarasota, FL
Contact:

Re: Fatal error: Cannot make non static method JCacheStorage

Postby rholzler » Wed Nov 30, 2011 5:27 pm

Renaming the old folders and uploading the same folders from the latest version of Joomla worked for me.
Robert Holzler
Web Developer
http://whiteboardstrategy.com/blog.html

korb
Joomla! Intern
Joomla! Intern
Posts: 88
Joined: Thu Apr 03, 2008 3:58 pm
Contact:

Re: Fatal error: Cannot make non static method JCacheStorage

Postby korb » Sat Dec 03, 2011 8:27 pm

montano wrote:You will need FTP access. Something like Filezilla or SmartFTP. Look at your Joomla file structure and find the folder called libraries. Follow the path in the error (libraries/joomla/cache/storage/)
MrQ1954 wrote:Thank you Montano.

Very helpful.

I am am complete novice at this - can you please explain to me very briefly how I access the libraries and other files. Where do I start - I have tried everywhere I can think but cannot get into anything that looks like code

I appreciate any help on this

Thank you
MrQ



This only works for Global Configuration, not User Manager :(

Fonias
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Nov 16, 2009 1:19 am
Location: Ελλάδα
Contact:

Re: Fatal error: Cannot make non static method JCacheStorage

Postby Fonias » Sat Dec 31, 2011 9:26 pm

rholzler wrote:Renaming the old folders and uploading the same folders from the latest version of Joomla worked for me.



I used this trick and it worked for me too!

Thanx!

jacksprat
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 231
Joined: Sun Jun 08, 2008 7:46 pm

Re: Fatal error: Cannot make non static method JCacheStorage

Postby jacksprat » Thu May 17, 2012 8:55 pm

ProgeneSafe wrote:Guys,

If you feel uneasy about deleting files you don't know about, don't delete them... just rename them, adding the extension '.old' to the file. So, in this case, change /libraries/joomla/chache/storage/chachelite.php and wincache.php to cachelite.php.old and wincache.php.old and also /libraries/joomla/session/storage/wincache.php to wincache.php.old

It worked for me!

Thanks,

stylez


Yes, and for me also!!! thanks

partopia
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jan 02, 2013 4:46 pm

Re: Fatal error: Cannot make non static method JCacheStorage

Postby partopia » Wed Jan 02, 2013 4:52 pm

pearlcaviar wrote:Thanks for your post dale28. You save my life :p

dale28 wrote:hey!
I just found a way to fix this problem.

here's what i've done
for the file:/libraries/joomla/cache/storage/cachelite.php
open it and look for "funcion test()"
it's normally at the bottom
find it and remove the word "static" in the same line

if there's still problems with
/libraries/joomla/cache/storage/wincache.php
/libraries/joomla/session/storage/wincache.php
do the similar thing to them


hope i do help :D


Deleting work for me, but only for the global config files....i am now getting a blank screen when i try to access user manager. Please help


Return to “Performance - Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 4 guests