Jump to content
4.4.3
Sign in to follow this  

Ошибка по ссылке Администрация


๖ۣۣۜDesperate™

Description

Исправляем ошибку при переходе по ссылке Администрация

При нажатии на кнопку Администрация на форуме ipb Может произойти такая ошибка
 

Catchable fatal error: Object of class ipsRegistry could not be converted to string in /home/***/public_html/cache/skin_cache/cacheid_12/skin_stats.php on line 92

Или ошибка сервера 500

Для того чтобы исправить переходим в 

ACP - Внешний вид - Ваш стиль - Статистика - group_strip

Найти:

<li><a href="{parse url="showforum={$id}" base="public" template="showforum" seotitle="$this->registry->class_forums->forum_by_id[ $id ]['name_seo']"}">{$name}</a></li>

Заменить на:

<php>$seoName = $this->registry->class_forums->forum_by_id[$id]['name_seo'];</php>

 



Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add a Comment

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...