Список разделов › phpBBex 1.x (поддерживается) › Поддержка 1.x
Думал через базу данных можно. форум отключил всёравно: Internal Server ErrorSumanai:А как вы хотите по другому?
malkin:Думал через базу данных можно.
Создал файл в корень файла. Выполнилось успешно, но счетчик не обновился. Может код не совсем верный?<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_admin.' . $phpEx);
set_time_limit (0);
sync ('forum', '', '', FALSE, TRUE);
sync ('topic', '', '', FALSE, TRUE);
trigger_error('Ok');
?>
VEG:С какой ошибкой падает скрипт, если вы запускаете синхронизацию счётчиков тем из админки (как и положено)?
Я думаю можно. У меня ВДС. Только подскажите в каких файлах.Если же по каким-то причинам мешающие ограничения изменить нельзя, возможно, придётся выкачивать базу на локалку, делать синхронизацию на локалке, а потом обратно заливать базу на сервер.
[Sun Mar 23 02:48:05 2014] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 configured -- resuming normal operations
[Sun Mar 23 02:51:19 2014] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sun Mar 23 02:52:39 2014] [warn] mod_fcgid: process 850 graceful kill fail, sending SIGKILL
[Sun Mar 23 02:52:39 2014] [warn] mod_fcgid: process 987 graceful kill fail, sending SIGKILL
[Sun Mar 23 02:52:43 2014] [warn] mod_fcgid: process 1674 graceful kill fail, sending SIGKILL
[Sun Mar 23 02:52:43 2014] [warn] mod_fcgid: process 978 graceful kill fail, sending SIGKILL
[Sun Mar 23 02:52:53 2014] [warn] mod_fcgid: process 1682 graceful kill fail, sending SIGKILL
[Sun Mar 23 02:52:53 2014] [warn] mod_fcgid: process 1678 graceful kill fail, sending SIGKILL
[Sun Mar 23 02:52:59 2014] [warn] mod_fcgid: process 1686 graceful kill fail, sending SIGKILL
[Sun Mar 23 02:53:21 2014] [warn] mod_fcgid: process 1698 graceful kill fail, sending SIGKILL
[Sun Mar 23 02:53:21 2014] [warn] mod_fcgid: process 1694 graceful kill fail, sending SIGKILL
[Sun Mar 23 02:53:22 2014] [notice] caught SIGTERM, shutting down
[Sun Mar 23 02:53:35 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Mar 23 02:53:35 2014] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 configured -- resuming normal operations
[Sun Mar 23 02:59:30 2014] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sun Mar 23 03:00:43 2014] [warn] mod_fcgid: process 1669 graceful kill fail, sending SIGKILL
[Sun Mar 23 03:00:49 2014] [warn] mod_fcgid: process 951 graceful kill fail, sending SIGKILL
[Sun Mar 23 03:00:49 2014] [warn] mod_fcgid: process 1673 graceful kill fail, sending SIGKILL
[Sun Mar 23 03:01:05 2014] [warn] mod_fcgid: process 1658 graceful kill fail, sending SIGKILL
[Sun Mar 23 03:01:08 2014] [notice] caught SIGTERM, shutting down
[Sun Mar 23 03:01:19 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Mar 23 03:01:19 2014] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 configured -- resuming normal operations
[Sun Mar 23 03:03:25 2014] [error] [client 61.191.154.113] File does not exist: /var/www/manager
[Sun Mar 23 03:23:28 2014] [warn] mod_fcgid: cleanup zombie process 1238
[Sun Mar 23 04:01:19 2014] [error] [client 176.57.128.87] File does not exist: /var/www/phpTest
[Sun Mar 23 04:01:19 2014] [error] [client 176.57.128.87] File does not exist: /var/www/phpMyAdmin
[Sun Mar 23 04:01:19 2014] [error] [client 176.57.128.87] File does not exist: /var/www/pma
[Sun Mar 23 04:01:19 2014] [error] [client 176.57.128.87] File does not exist: /var/www/myadmin
[Sun Mar 23 05:24:54 2014] [error] [client 119.84.41.5] File does not exist: /var/www/exit
[Sun Mar 23 06:23:01 2014] [notice] Graceful restart requested, doing restart
memory_limit = 444M
[Wed Mar 26 01:29:27 2014] [notice] caught SIGTERM, shutting down
[Wed Mar 26 01:29:39 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Mar 26 01:29:39 2014] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 configured -- resuming normal operations
[Wed Mar 26 01:31:46 2014] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Wed Mar 26 01:33:08 2014] [warn] mod_fcgid: process 1481 graceful kill fail, sending SIGKILL
[Wed Mar 26 01:33:08 2014] [warn] mod_fcgid: process 1202 graceful kill fail, sending SIGKILL
[Wed Mar 26 01:33:10 2014] [notice] caught SIGTERM, shutting down
[Wed Mar 26 01:33:23 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Mar 26 01:33:23 2014] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 configured -- resuming normal operations
[Wed Mar 26 18:27:49 2014] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 26 18:27:49 2014] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 26 18:27:49 2014] [notice] Apache/2.2.22 (Win32) mod_ssl/2.2.22 OpenSSL/1.0.1c PHP/5.2.12 configured -- resuming normal operations
[Wed Mar 26 18:27:49 2014] [notice] Server built: Apr 20 2012 18:42:30
[Wed Mar 26 18:27:49 2014] [notice] Parent: Created child process 4644
[Wed Mar 26 18:27:50 2014] [notice] Disabled use of AcceptEx() WinSock2 API
[Wed Mar 26 18:27:50 2014] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 26 18:27:51 2014] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 26 18:27:51 2014] [notice] Child 4644: Child process is running
[Wed Mar 26 18:27:51 2014] [notice] Child 4644: Acquired the start mutex.
[Wed Mar 26 18:27:51 2014] [notice] Child 4644: Starting 25 worker threads.
[Wed Mar 26 18:27:51 2014] [notice] Child 4644: Listening on port 443.
[Wed Mar 26 18:27:51 2014] [notice] Child 4644: Listening on port 8648.
[Wed Mar 26 18:27:51 2014] [notice] Child 4644: Listening on port 443.
[Wed Mar 26 18:27:51 2014] [notice] Child 4644: Listening on port 80.
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_admin.' . $phpEx);
set_time_limit (0);
sync ('forum', '', '', FALSE, TRUE);
sync ('topic', '', '', FALSE, TRUE);
trigger_error('Ok');
?>