Warning: xcache_set() [function.xcache-set]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/dram/data/www/сайт.ru/components/com_qcache/backends/xcache.php on line 18
Warning: xcache_get() [function.xcache-get]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/dram/data/www/сайт.ru/components/com_qcache/backends/xcache.php on line 10
Warning: xcache_unset() [function.xcache-unset]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/dram/data/www/сайт.ru/components/com_qcache/backends/xcache.php on line 23
[xcache.admin]
xcache.admin.enable_auth = On
# Configure this to use admin pages
; xcache.admin.user = "mOo"
; xcache.admin.pass = md5($your_password)
; xcache.admin.pass = ""
[xcache]
; ini only settings, all the values here is default unless explained
; select low level shm/allocator scheme implemenation
xcache.shm_scheme = "mmap"
; to disable: xcache.size=0
; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
xcache.size = 16M
; set to cpu count (cat /proc/cpuinfo |grep -c processor)
xcache.count = 1
; just a hash hints, you can always store count(items) > slots
xcache.slots = 8K
; ttl of the cache item, 0=forever
xcache.ttl = 0
; interval of gc scanning expired items, 0=no scan, other values is in seconds
xcache.gc_interval = 0
; same as aboves but for variable cache
xcache.var_size = 64M
xcache.var_count = 1
xcache.var_slots = 8K
; default ttl
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
xcache.test = On
; N/A for /dev/zero
xcache.readonly_protection = Off
; for *nix, xcache.mmap_path is a file path, not directory.
; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
; 2 group of php won't share the same /tmp/xcache
; for win32, xcache.mmap_path=anonymous map name, not file path
xcache.mmap_path = "/dev/zero"
; leave it blank(disabled) or "/tmp/phpcore/"
; make sure it's writable by php (without checking open_basedir)
xcache.coredump_directory = ""
; per request settings
xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off
[xcache.coverager]
; per request settings
; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance)
xcache.coverager = Off
; ini only settings
; make sure it's readable (care open_basedir) by coverage viewer script
; requires xcache.coverager=On
xcache.coveragedump_directory = ""
А вот xcache.php на который ругаются ошибки
<?php
/**
**/
// Check to ensure this file is within the rest of the framework
defined('_VALID_MOS') or die();
class qcache_backend extends qcache_main {
function fetch($id) {
return xcache_get($id);
}
function test() {
return (function_exists('xcache_set'));
}
function store($id, $data) {
return xcache_set($id, $data, QCACHE_TTL);
}
function _delete($id) {
return xcache_unset($id);
}
function _isset($id) {
return xcache_isset($id);
}
}
Спасибо за советы, установил xcache, включил его в админке джумлы - в итоге куча ошибок
Warning: xcache_isset() [<a href='function.xcache-isset'>function.xcache-isset</a>]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/dram/data/www/сайт..com/libraries/joomla/cache/storage/xcache.php on line 56
Warning: xcache_set() [<a href='function.xcache-set'>function.xcache-set</a>]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/dram/data/www/сайт.com/libraries/joomla/cache/storage/xcache.php</b> on line76
К файлу my.cnf доступ есть?
Если есть, то в [mysqld]
Нужно добавить:
Если дамп не большой, можно попробовать через sql запрос данные импортировать.
Так у меня на этом сервер еще 7 сайтов в утф-8. Что с ними станет?
Dram добавил 30.08.2010 в 09:22
В дампе случайно нет строки: /*!40101 SET NAMES utf8 */;
Вот что есть
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
Вот я сейчас открываю дамп блокнотом, сохраняю как АНСИ, при импорте базы выбираю Кодировка файла: cp1251 и пофигу, все равно вопросы
потерто.............
попробовал разные конфиги от туда - не помогло :(
Dram добавил 29.08.2010 в 23:12
сейчас почти ночь, а у меня сразу после перезапуска апача жрет 700-900 метров оперативки. Он лайн не более 50 человек.
Я видел эту страницу - как Вы могли убедится проблема там не решена и обсуждение было закончено постом с просьбой показать лог - вот я и показываю
Да....без толку. Сайт на Joomla 1.0.15
Изменил: ошибки не пропали
Вот мой ини
А вот xcache.php на который ругаются ошибки
В файле /joomla/cache/storage/xcache.php xcache.var_size нет. А где еще поискать и сколько там поставить?
Спасибо за советы, установил xcache, включил его в админке джумлы - в итоге куча ошибок
Warning: xcache_isset() [<a href='function.xcache-isset'>function.xcache-isset</a>]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/dram/data/www/сайт..com/libraries/joomla/cache/storage/xcache.php on line 56
Warning: xcache_set() [<a href='function.xcache-set'>function.xcache-set</a>]: xcache.var_size is either 0 or too small to enable var data caching in /var/www/dram/data/www/сайт.com/libraries/joomla/cache/storage/xcache.php</b> on line76
А для простых смертных? Можно подробнее, я просто не шарю в этом особо...