форум vBSupport.ru > vBulletin > Вопрос — Ответ
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
Dyuhaha
Эксперт
 
Dyuhaha's Avatar
Default Проблема с xcache
0

Всем привет!
Срочно нужна помощь! Проснулся сегодня, захожу на форум, а там во всю страницу только это:
Code:
Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_isset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 576

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617

Warning: xcache_unset(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 616

Warning: xcache_set(): xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_datastore.php on line 617
Unable to add cookies, header already sent.
File: /var/www/dyuha/data/www/tune-g.ru/forum/includes/class_core.php
Line: 5698
Продукты все отключил в конфиге: define('DISABLE_HOOKS', true);
Эксперименты с xcache.ini тоже результатов не принесли. Вот его конфиг, на всякий случай:
Code:
; configuration for php Xcache module

[xcache-common]
;; install as zend extension (recommended), normally "$extension_dir/xcache.so"
zend_extension = /usr/lib/php5/20090626+lfs/xcache.so

[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  =                48M
; 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 =                16K
; ttl of the cache item, 0=forever
xcache.ttl   =                 100
; 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  =            8M
xcache.var_count =             1
xcache.var_slots =            16K
; default ttl
xcache.var_ttl   =             0
xcache.var_maxttl   =          0
xcache.var_gc_interval =     300

xcache.test =                Off
; 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 =           On

[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 =
Что делать? Ползователи волнуются, я в растерянности.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
GiRassell
Эксперт
 
GiRassell's Avatar
Default
1

@Dyuhaha, отключи пока в конфиге xcache форума, пока разбираться будешь, чтобы форум был доступен.
 
 
Dyuhaha
Эксперт
 
Dyuhaha's Avatar
Default
0

Quote:
Originally Posted by GiRassell View Post
@Dyuhaha, отключи пока в конфиге xcache форума, пока разбираться будешь, чтобы форум был доступен.
Ну и ну! Я пробовал закомментировать $config['Datastore']['class'] = 'vB_Datastore_XCache'; - не помогало! Сейчас попробовал, получилось. Видимо на тот момент хуки не были выключены. Подозреваю что дело в vboptimise.
Спасибо, @GiRassell!
 
 
cyberdaemon
Эксперт
 
cyberdaemon's Avatar
Default
1

Quote:
Originally Posted by Dyuhaha View Post
Подозреваю что дело в vboptimise.
Правильные подозрения, надо было в настройках vboptimise xcache отключить и кеш передёрнуть.
 
 
Dyuhaha
Эксперт
 
Dyuhaha's Avatar
Default
0

Quote:
Originally Posted by cyberdaemon View Post
Правильные подозрения, надо было в настройках vboptimise xcache отключить и кеш передёрнуть.
Так не смог я войти в админку. Пришлось идти окружным путём: в config.php вырубать продукты, заходить в админку и вырубать полностью кэширование в vboptimise. Затем опять включать продукты.
Кстати, сайт работает, но не кэшируется - проблема осталась. А можно поподробней насчёт "кеш передёрнуть"?)
 
 
kerk
k0t
 
kerk's Avatar
Default
1

Quote:
Originally Posted by Dyuhaha View Post
и вырубать полностью кэширование в vboptimise
сколько я ни наблюдаю за этим хаком, от него больше проблем, чем пользы... =\
так может он и не нужен вовсе?
 
 
Dyuhaha
Эксперт
 
Dyuhaha's Avatar
Default
0

Quote:
Originally Posted by kerk View Post
так может он и не нужен вовсе?
Возможно. Просто я не знаю как иначе настроить кэширование в булке. Наверное, просто в конфиге раскомментировать нужные строчки?

зы Я как-то пробовал удалять vboptimise, так потом вообще на форум попасть не мог)) Пришлость возвращать на место...
 
 
kerk
k0t
 
kerk's Avatar
Default
0

Quote:
Originally Posted by Dyuhaha View Post
как-то пробовал удалять vboptimise, так потом вообще на форум попасть не мог)) Пришлость возвращать на место.
это называется "зависимость" =)
многие ставили гвбсео - и потом ооченно сожалели о содеянном, хотя были предупреждены, что этот хак - гуано
 
 
mindframe
Специалист
 
mindframe's Avatar
Default
0

@Dyuhaha, какая версия форума? Если 4, то он и без всяких дополнений способен работать с xCache, да и видел на орге хак ещё, который позволяет дёргать шаблоны с кеша xcache.
 
 
Dyuhaha
Эксперт
 
Dyuhaha's Avatar
Default
0

Quote:
Originally Posted by mindframe View Post
@Dyuhaha, какая версия форума? Если 4, то он и без всяких дополнений способен работать с xCache
Да, 4.2.1. То есть, раскомментировать строчку $config['Datastore']['class'] = 'vB_Datastore_XCache' и всё?

Dyuhaha добавил 09.02.2014 в 22:17
Quote:
Originally Posted by kerk View Post
многие ставили гвбсео - и потом ооченно сожалели о содеянном
Да, я один из них!))))

Last edited by Dyuhaha : 02-09-2014 at 11:17 PM. Reason: Добавлено сообщение
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 10:55 AM.


Powered by vBulletin® Version 3.0.16
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.