Дарья Сизова

Дарья Сизова

Был в сети 14 января 2022, 17:46
Заказы не принимаю
Я так и думаю поступить. Вопрос только в скриптах. Если какие-то «действия» (эффекты, анимации и пр.) прописаны в командах php в самих страницах, то они же пропадут....? Или для вордпресс шаблоны в целом сделаны по той же логике, что и простые на html, то есть скрипты и css подключаются отдельно?
Здравствуйте! Хочу перенеси папку core за пределы корневого web-каталога. Поясните, пожалуйста, для новичка, что именно нужно сделать с таблицей modx_workspaces?

Таблица modx_workspaces в базе данных сайта. Правильнее всего — перезапустить установку сайта, как при обновлении или переносе, чтобы убедиться, что всё работает правильно.
Проверила все указанные файлы, пути везде одинаково правильно изменены. \
Права доступа к /core/config/config.inc.php изменила на 600 (благодаря этому одна из ошибок исчезла). Но в редактор ресурсов по-прежнему не войти — ошибка 500.

Можно ли что-то еще сделать, не перезаливая сайт?

Вот последний фрагмент лога ошибок modx
[2017-12-14 12:14:31] (ERROR in resource 310 @ /home/c/cx13714/humanitar/public_html/core/model/modx/modparser.class.php: 1352) Bad link tag `[[~185]]` encountered
[2017-12-14 12:14:32] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:14:32] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:14:32] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:14:32] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
[2017-12-14 12:14:41] (ERROR in resource 238 @ /home/c/cx13714/humanitar/public_html/core/model/modx/modparser.class.php: 1352) Bad link tag `[[~185]]` encountered
[2017-12-14 12:14:42] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:14:42] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:14:42] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:14:42] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
[2017-12-14 12:14:43] (ERROR in resource 61 @ /home/c/cx13714/humanitar/public_html/core/model/modx/modparser.class.php: 1352) Bad link tag `[[~185]]` encountered
[2017-12-14 12:14:44] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:14:44] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:14:44] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:14:44] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
[2017-12-14 12:14:50] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:14:50] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:14:50] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:14:50] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
[2017-12-14 12:14:56] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:14:57] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:14:57] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:14:57] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
[2017-12-14 12:14:57] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:14:58] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:14:58] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:14:58] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
[2017-12-14 12:15:01] (ERROR in resource 9 @ /home/c/cx13714/humanitar/public_html/core/model/modx/modparser.class.php: 1352) Bad link tag `[[~185]]` encountered
[2017-12-14 12:15:05] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:15:05] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:15:05] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:15:05] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
Консоль запущена...
Пробуем установить пакет с подписью: tickets-1.6.17-pl
Пакет найден... сейчас идёт подготовка к его установке.
Загрузка рабочего пространства пакета...
Рабочее пространство загружено, сейчас устанавливаем пакет...
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.date_format ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.enable_editor ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.frontend_css ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.frontend_js ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.editor_config.ticket )
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.editor_config.comment ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.default_template ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.snippet_prepare_comment ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.comment_edit_time ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.clear_cache_on_comment_save ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.private_ticket_page ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.unpublished_ticket_page ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.ticket_max_cut ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.mail_from ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.mail_from_name ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.mail_queue ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.mail_bcc ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.mail_bcc_level ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.section_content_default ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.source_default ) 
Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => tickets.count_guests ) 
Skipping vehicle object of class modAction (data object exists and cannot be upgraded); criteria: Array ( [namespace] => tickets [controller] => index ) 
Skipping vehicle object of class modMenu (data object exists and cannot be upgraded); criteria: Array ( [text] => tickets ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.form.create ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.form.update ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.form.preview ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.form.files ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.form.file ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.form.image ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.ticket.latest ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.ticket.email.bcc ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.ticket.email.subscription )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.form ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.form.guest ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.one.auth ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.one.guest ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.one.deleted ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.wrapper ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.login ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.latest ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.email.owner ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.email.reply ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.email.subscription ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.email.bcc ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.email.unpublished )
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.comment.list.row ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.list.row ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.sections.row ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.sections.wrapper ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.meta ) 
Skipping vehicle object of class modChunk (data object exists and cannot be upgraded); criteria: Array ( [name] => tpl.Tickets.meta.file ) 
Attempting to preserve files at /home/s61/www/assets/components/tickets into archive /home/s61/www/core/packages/tickets-1.6.17-pl/modCategory/0c9784eb8d093814ed9f0bce44a59a48.0.preserved.zip
Attempting to preserve files at /home/s61/www/core/components/tickets into archive /home/s61/www/core/packages/tickets-1.6.17-pl/modCategory/0c9784eb8d093814ed9f0bce44a59a48.1.preserved.zip
Успешно установлен пакет tickets-1.6.17-pl