При импорте, в админке MaxSite, выводятся сообщения такого плана:
[spoiler:2fy1lp6b]A PHP Error was encountered
Severity: Notice
Message: Undefined variable: comment
Filename: zebroid_import/admin.php
Line Number: 377
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 1
Filename: zebroid_import/admin.php
Line Number: 119
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: comment
Filename: zebroid_import/admin.php
Line Number: 378
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 1
Filename: zebroid_import/admin.php
Line Number: 119
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: comment
Filename: zebroid_import/admin.php
Line Number: 379
Добавляю статью Название статьи 1...
A PHP Error was encountered
Severity: Warning
Message: date() expects parameter 2 to be long, string given
Filename: zebroid_import/admin.php
Line Number: 96
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: comment
Filename: zebroid_import/admin.php
Line Number: 377
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 1
Filename: zebroid_import/admin.php
Line Number: 119
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: comment
Filename: zebroid_import/admin.php
Line Number: 378
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 1
Filename: zebroid_import/admin.php
Line Number: 119
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: comment
Filename: zebroid_import/admin.php
Line Number: 379[/spoiler:2fy1lp6b]
Часть ошибки, полагаю, в этой строке, файла /application/maxsite/plugins/zebroid_import/admin.php:
$ins_data['comments_comusers_id'] = isset($authors[$comment['author']]) ? $authors[$comment['author']] : 0;
При замене её на такую:
$ins_data['comments_comusers_id'] = 0;
Все комментарии, кроме первого, импортируются нормально.
Первый комментарий имеет дату: 1999-11-30 в 00:00:00; автора: Аноним и пустой текст сообщения (у остальных комментариев автор admin).
Версия Зеброид: 4.2.2 3407; версия maxsite: 0.806