Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • christopherkettell Friend
    #167261

    Used the J1.5 quick start template, when trying to access site configuration i get the following message:

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

    everything else works absolutely fine. Any suggestions please ?

    thanks guys

    pritam Friend
    #405567

    Hello christopherkettell ,

    To Fatal error: Cannot make non static method JCacheStorage::test() static in class

    To solve the issue find 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

    christopherkettell Friend
    #405585

    I changed the line as instructed to:

    public function test()
    {
    @include_once ‘Cache/Lite.php’;
    if (class_exists(‘Cache_Lite’)) {
    return true;
    } else {
    return false;
    }
    }
    }

    once i have done this, I now get:

    Fatal error: Cannot make non static method JCacheStorage::test() static in class JCacheStorageWincache in /home/perfectb/public_html/libraries/joomla/cache/storage/wincache.php on line 169

    which looks like this:

    public function remove($id, $group)
    {
    self::$CacheLiteInstance->setOption(‘cacheDir’, $this->_root.DS.$group.DS);
    $this->_getCacheId($id, $group);
    $sucess = self::$CacheLiteInstance->remove($this->rawname, $group);
    if ($sucess == true) {
    return $sucess;
    } else {
    return false;
    }
    }

    any suggestions as this is completely over my head i am afraid, thanks for replying so quickly.

    pritam Friend
    #405652

    Hello christopherkettell ,

    I have been check your admin and your Global Configuration . Now its working Fine . I am sending you screenshot with attachment.


    1. Screenshot
Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  pritam 13 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum