-0.99
Рейтинг
0.38
Сила
  • avatar dba
  • 0
на каком сайте?
  • avatar dba
  • 0
в итоге получилось разобраться?
  • avatar dba
  • 0
у тебя получилось?
  • avatar dba
  • 0
подскажи плиз, что необходимо поменять для LS1?
  • avatar dba
  • 0
А с шаблоном fortune данный плагин после установки не работает, зависает на добавление комментария, при этом в БД этого комментария нету. Как лечить?
  • avatar dba
  • 1
Благодарю Вас за подробное объяснение таким как я новичкам, а если использовать редактор TinyMCE плагин Watermark будет работоспособен?
  • avatar dba
  • 0
пользователю не будет ясно, что необходимо например писать в поле ссылка, и если используется плагин watermark, то в этом случае он не работоспособен.
  • avatar dba
  • 0
а как Вы реализовали кэширование статики nginx? livestreet.ru/blog/16187.html тут я создал подобную тему. Вы в настройках nginx.conf проверяете через:
proxy_cache_bypass $cookie_key;
proxy_no_cache $cookie_key;
?
  • avatar dba
  • 0
а без использование tinymce можно в действующий редактор в движке вставить смайлы? А то обычным пользователям tinyMCE будет не особо понятен(
  • avatar dba
  • 0
сделал в apc.ini
extension=apc.so
apc.enabled="1"
apc.shm_segments="1"
;commenting this out allows you to set it in each fastcgi process
;apc.shm_size="30"
apc.num_files_hint="1024"
apc.ttl="7200"
apc.user_ttl="7200"
apc.gc_ttl="3600"
apc.cache_by_default="1"
;apc.filters=""
apc.mmap_file_mask="/tmp/apcphp5.XXXXXX"
apc.slam_defense="0"
apc.file_update_protection="2"
apc.enable_cli="0"
apc.max_file_size="1M"
apc.stat="1"
apc.write_lock="1"
apc.report_autofilter="0"
apc.include_once_override="0"
apc.rfc1867="0"
apc.rfc1867_prefix="upload_"
apc.rfc1867_name="APC_UPLOAD_PROGRESS"
apc.rfc1867_freq="0"
apc.localcache="0"
apc.localcache.size="512"
apc.coredump_unmap="0"


При этом в APC INFO:
General Cache Information
APC Version	3.1.13
PHP Version	5.3.5-1ubuntu7.11
APC Host	site.ru (site-1111) (11.111.111.111)
Server Software	Apache/2.2.17 (Ubuntu)
Shared Memory	1 Segment(s) with 32.0 MBytes
(mmap memory, pthread mutex Locks locking)
Start Time	2013/10/27 14:00:56
Uptime	0 minutes
File Upload Support	1
File Cache Information
Cached Files	1 (448.5 KBytes)
Hits	1
Misses	1
Request Rate (hits, misses)	2.00 cache requests/second
Hit Rate	1.00 cache requests/second
Miss Rate	1.00 cache requests/second
Insert Rate	1.00 cache requests/second
Cache full count	0
User Cache Information
Cached Variables	0 ( 0.0 Bytes)
Hits	0
Misses	0
Request Rate (hits, misses)	0.00 cache requests/second
Hit Rate	0.00 cache requests/second
Miss Rate	0.00 cache requests/second
Insert Rate	0.00 cache requests/second
Cache full count	0
Runtime Settings
apc.cache_by_default	1
apc.canonicalize	1
apc.coredump_unmap	0
apc.enable_cli	0
apc.enabled	1
apc.file_md5	0
apc.file_update_protection	2
apc.filters	
apc.gc_ttl	3600
apc.include_once_override	0
apc.lazy_classes	0
apc.lazy_functions	0
apc.max_file_size	1M
apc.mmap_file_mask	/tmp/apcphp5.NpNAoT
apc.num_files_hint	1024
apc.preload_path	
apc.report_autofilter	0
apc.rfc1867	0
apc.rfc1867_freq	0
apc.rfc1867_name	APC_UPLOAD_PROGRESS
apc.rfc1867_prefix	upload_
apc.rfc1867_ttl	3600
apc.serializer	default
apc.shm_segments	1
apc.shm_size	32M
apc.slam_defense	0
apc.stat	1
apc.stat_ctime	0
apc.ttl	7200
apc.use_request_time	1
apc.user_entries_hint	4096
apc.user_ttl	7200
apc.write_lock	1


видно, что apc.mmap_file_mask каждый раз меняется при refresh data:

Runtime Settings
apc.cache_by_default	1
apc.canonicalize	1
apc.coredump_unmap	0
apc.enable_cli	0
apc.enabled	1
apc.file_md5	0
apc.file_update_protection	2
apc.filters	
apc.gc_ttl	3600
apc.include_once_override	0
apc.lazy_classes	0
apc.lazy_functions	0
apc.max_file_size	1M
apc.mmap_file_mask	/tmp/apcphp5.BbVVSB
apc.num_files_hint	1024
apc.preload_path	
apc.report_autofilter	0
apc.rfc1867	0
apc.rfc1867_freq	0
apc.rfc1867_name	APC_UPLOAD_PROGRESS
apc.rfc1867_prefix	upload_
apc.rfc1867_ttl	3600
apc.serializer	default
apc.shm_segments	1
apc.shm_size	32M
apc.slam_defense	0
apc.stat	1
apc.stat_ctime	0
apc.ttl	7200
apc.use_request_time	1
apc.user_entries_hint	4096
apc.user_ttl	7200
apc.write_lock	1
  • avatar dba
  • 0
Обновил apc до 3.1.13, но Uptime 0 minutes так и остался:
General Cache Information
APC Version	3.1.13
PHP Version	5.3.5-1ubuntu7.11
APC Host	site.ru (site-1111) (11.111.111.111)
Server Software	Apache/2.2.17 (Ubuntu)
Shared Memory	1 Segment(s) with 128.0 MBytes
(mmap memory, pthread mutex Locks locking)
Start Time	2013/10/27 13:38:06
Uptime	0 minutes
File Upload Support	1
File Cache Information
Cached Files	1 (448.5 KBytes)
Hits	1
Misses	1
Request Rate (hits, misses)	2.00 cache requests/second
Hit Rate	1.00 cache requests/second
Miss Rate	1.00 cache requests/second
Insert Rate	1.00 cache requests/second
Cache full count	0
User Cache Information
Cached Variables	0 ( 0.0 Bytes)
Hits	0
Misses	0
Request Rate (hits, misses)	0.00 cache requests/second
Hit Rate	0.00 cache requests/second
Miss Rate	0.00 cache requests/second
Insert Rate	0.00 cache requests/second
Cache full count	0
Runtime Settings
apc.cache_by_default	1
apc.canonicalize	1
apc.coredump_unmap	0
apc.enable_cli	0
apc.enabled	1
apc.file_md5	0
apc.file_update_protection	2
apc.filters	
apc.gc_ttl	3600
apc.include_once_override	0
apc.lazy_classes	0
apc.lazy_functions	0
apc.max_file_size	20M
apc.mmap_file_mask	
apc.num_files_hint	1000
apc.preload_path	
apc.report_autofilter	0
apc.rfc1867	0
apc.rfc1867_freq	0
apc.rfc1867_name	APC_UPLOAD_PROGRESS
apc.rfc1867_prefix	upload_
apc.rfc1867_ttl	3600
apc.serializer	default
apc.shm_segments	1
apc.shm_size	128M
apc.slam_defense	1
apc.stat	1
apc.stat_ctime	0
apc.ttl	0
apc.use_request_time	1
apc.user_entries_hint	4096
apc.user_ttl	0
apc.write_lock	1
  • avatar dba
  • 0
Почему Uptime 0 minutes, и при обновлении uptime не меняется, это так и должно быть?

General Cache Information
APC Version	3.1.3p1
PHP Version	5.3.5-1ubuntu7.11
APC Host	site.ru (site-1111) (11.111.111.111)
Server Software	Apache/2.2.17 (Ubuntu)
Shared Memory	1 Segment(s) with 128.0 MBytes
(mmap memory, pthread mutex locking)
Start Time	2013/10/27 12:31:35
Uptime	0 minutes
File Upload Support	1
File Cache Information
Cached Files	1 (440.6 KBytes)
Hits	1
Misses	1
Request Rate (hits, misses)	2.00 cache requests/second
Hit Rate	1.00 cache requests/second
Miss Rate	1.00 cache requests/second
Insert Rate	1.00 cache requests/second
Cache full count	0
User Cache Information
Cached Variables	0 ( 0.0 Bytes)
Hits	0
Misses	0
Request Rate (hits, misses)	0.00 cache requests/second
Hit Rate	0.00 cache requests/second
Miss Rate	0.00 cache requests/second
Insert Rate	0.00 cache requests/second
Cache full count	0
Runtime Settings
apc.cache_by_default	1
apc.canonicalize	1
apc.coredump_unmap	0
apc.enable_cli	0
apc.enabled	1
apc.file_md5	0
apc.file_update_protection	2
apc.filters	
apc.gc_ttl	3600
apc.include_once_override	0
apc.lazy_classes	0
apc.lazy_functions	0
apc.max_file_size	20M
apc.mmap_file_mask	
apc.num_files_hint	1000
apc.preload_path	
apc.report_autofilter	0
apc.rfc1867	0
apc.rfc1867_freq	0
apc.rfc1867_name	APC_UPLOAD_PROGRESS
apc.rfc1867_prefix	upload_
apc.rfc1867_ttl	3600
apc.shm_segments	1
apc.shm_size	128
apc.stat	1
apc.stat_ctime	0
apc.ttl	0
apc.use_request_time	1
apc.user_entries_hint	4096
apc.user_ttl	0
apc.write_lock	1


apc.ini чуть отличается, но и как в этом топике написано, также uptime 0 minutes
extension=apc.so
apc.enabled=1
apc.shm_size=128
apc.max_file_size=20M
  • avatar dba
  • 0
её уже давно нет(
  • avatar dba
  • 0
Благодарю Вас. Все помогло.
  • avatar dba
  • 0
При поиске не существующих слов, топиков, блогов, тегов выводится ошибка:

Warning: Invalid argument supplied for foreach() in /site_path/plugins/simplesearch/classes/actions/ActionSearch.class.php on line 84


версия 2.0.0 (Simple Search and Auto Completer)

Можете подсказать как исправить эту ошибку?
  • avatar dba
  • 0
Все работает. Благодарю.
  • avatar dba
  • 0
возможно, не корректно высказался, я все операция провел с конвертацией топиков, комментариев и прочих настроек, сменил пути в БД, все успешно загрузилось, и работоспособно в тестовом варианте. Единственное, что не работает это ссылки, которые получаются после применения «url redirect».
Образно говоря:
oldsite.ru/redirect/aHR0cDovL3Rlc3QuY29t
заменена на
newsite.ru/redirect/aHR0cDovL3Rlc3QuY29t
При этом такой redirect к сожалению не работает. Возможно ли это обойти?
  • avatar dba
  • 0
*пересохранять все записи
  • avatar dba
  • 0
а тогда возможно вы подскажите, что делать, если я собираюсь переводить с одного домена на другой домен свой сайт, получается, что все ссылки становятся невалидными и придется занова сохранять все записи?
  • avatar dba
  • 0
извините пожалуйста, а где хранятся данные, которые после redirect указываются?
site.ru/redirect/aHR0cDovL3Rlc3QuY29t — aHR0cDovL3Rlc3QuY29t это где хранится значение?
благодарю.