Posted by allandk on December 11, 2010 at 3:46pm
crontab is failing to run with this error
Fatal error: Call to a member function increment() on a non-object in
...../sites/all/modules/memcache/memcache.inc on
line 262
any ideas for me please ?
Regards Allan
Comments
Have you searched or posted
Have you searched or posted (in that order, please) in the Memcache module issue queue?
The Boise Drupal Guy!
I have not been able to find
I have not been able to find anything
http://drupal.org/project/issues/search/memcache?text=cron&assigned=&submitted=&participant=&status[]=Open&version[]=6.x&issue_tags_op=or&issue_tags=
yet another
yet another error
http://www.site.com/node/278391/edit
Fatal error: Cannot use [] for reading in /usr/home/freja/public_html/sites/all/modules/memcache/memcache.inc on line 262
again line 262
Surround your Memcached
Surround your Memcached settings in settings.php with this.
if ($_SERVER["HTTP_USER_AGENT"] != "") {
//Settings in here
}
Does that fix the issue?
Hi i added: if
Hi
i added:
if ($_SERVER["HTTP_USER_AGENT"] != "") {
$conf = array(
'cache_inc' => './sites/all/modules/memcache/memcache.inc',
);
}
1.
trying to edit or make comment this error remains
Fatal error: Cannot use [] for reading in
............/all/modules/memcache/memcache.inc on
line 262
crontab now makes a new error
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in ......./includes/database.mysql.inc on line 119 (or 118 or 121)
Regards Allan
Up your CLI memory Try to
Up your CLI memory
Try to bump your CLI memory up to 128M /etc/php5/cli/php.ini
If it's saying memory
If it's saying memory exhausted that sounds like you've reached the maximum amount of RAM/memory that is set by the server in php.ini
already there ;-)
already there ;-) memory_limit 128M