restore joomla website using jpa backup file cause fatal error with memcache

120 views
Skip to first unread message

Murtaza

unread,
Jun 6, 2013, 8:31:44 AM6/6/13
to joomla-de...@googlegroups.com
Dear

I tried to move my website content from cloudaccess.net to another host. I produced a jpa backup file using akeeba backup component. After that, I installed the jpa file in the new host using kickstart.php

now I can login to the backend of my site. I mean I can login to administartor, and I can see all the articles and modules; however, the front end does not work. in fact, I get this fatal error:

Fatal error: Call to a member function get() on a non-object in /home/muhaj419/public_html/libraries/joomla/cache/storage/memcache.php on line 114

the memchache line 111 to 116 is:

public function get($id, $group, $checkTime = true)
    {
        $cache_id = $this->_getCacheId($id, $group);
        $back = self::$_db->get($cache_id);
        return $back;
    }

I greatly appreciate any help in advance.

Best Regards,
Murtaza Hazara

Nikolaos K. Dionysopoulos

unread,
Jun 6, 2013, 8:40:06 AM6/6/13
to joomla-de...@googlegroups.com
Hello,

Normally this is not the correct place to ask for component support. You should be asking this question to the Joomla! Forum.

Anyway, this is a simple issue and you're very lucky that I am around in this list (I'm the developer of Akeeba Backup). When you restore your backup archive most of the site configuration parameters (found in configuration.php) are left intact. One of them is the caching method used. If you are restoring to a different host the caching engine you used to be using (in your case: memCache) may not be available, causing a fatal error. Just edit your configuration.php file and change the $cache_handler line to read:

public $cache_handler = 'file';

Nicholas K. Dionysopoulos

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Murtaza Bahadori

unread,
Jun 6, 2013, 9:01:09 AM6/6/13
to joomla-de...@googlegroups.com
you are awesome
you saved me.

I appreciate alot your help
Sincerely yours,
Murtaza Hazara

Nikolaos K. Dionysopoulos

unread,
Jun 6, 2013, 9:06:52 AM6/6/13
to joomla-de...@googlegroups.com
You're welcome!

Nicholas K. Dionysopoulos

Reply all
Reply to author
Forward
0 new messages