День Добрый! Подскажите пожалуйста, на сайте не открывается профиль и выдаёт ошибку!
- > Parse error: syntax error, unexpected T_FUNCTION in /home/u53949/public_html/engine/modules/profile.php on line 444
441 if (stripos ( $tpl->copy_template, "[profile-user-group=" ) !== false) {
442$tpl->copy_template = preg_replace_callback ( '#\\[profile-user-group=(.+?)\\](.*?)\\[/profile-443 user-group\\]#is',
444function ($matches) {
445global $row;
Balanovsky! Сделал как вы сказали теперь вот! - Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@fungag.ru and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Попробуйте, пожалуй,
в .htaccess
SetEnv PHP_VER 5_4
instead of
SetEnv PHP_VER 5
