Jump to content

Featured Replies

  • Author

ругается на этот блок:

{

/* Hooks: Are we overloading this class? */
$hooksCache = ipsRegistry::cache()->getCache('hooks');

if( isset($hooksCache['skinHooks'][ $name ]) && is_array($hooksCache['skinHooks'][ $name ]) && count($hooksCache['skinHooks'][ $name ]) )
{
foreach( $hooksCache['skinHooks'][ $name ] as $classOverloader )
{
if( is_file( IPS_HOOKS_PATH . $classOverloader['filename'] ) )
{
if( ! class_exists( $classOverloader['className'] ) )
{
/* Hooks: Do we have the hook file? */
$thisContents = file_get_contents( IPS_HOOKS_PATH . $classOverloader['filename'] );
$thisContents = str_replace( $name."(~id~)", $classname, $thisContents );

ob_start();
eval( $thisContents );
ob_end_clean();
}

if( class_exists( $classOverloader['className'] ) )
{
/* Hooks: We have the hook file and the class exists - reset the classname to load */
$classname = $classOverloader['className'];
}
}
}
}

 

в частности на эту строку eval( $thisContents );

Death1, подробней описывай проблему: Что за ошибка/После чего случилась/Что пытался предпринять.

И ошибки и все коды заворачивай в BBкод кода, чтобы выглядело так:

adminsourcesclassesoutputpublicOutput.php(3802) : eval()'d code on line 12
{
/* Hooks: Are we overloading this class? */
$hooksCache = ipsRegistry::cache()->getCache('hooks');

if( isset($hooksCache['skinHooks'][ $name ]) && is_array($hooksCache['skinHooks'][ $name ]) && count($hooksCache['skinHooks'][ $name ]) )
{
foreach( $hooksCache['skinHooks'][ $name ] as $classOverloader )
{
if( is_file( IPS_HOOKS_PATH . $classOverloader['filename'] ) )
{
if( ! class_exists( $classOverloader['className'] ) )
{
/* Hooks: Do we have the hook file? */
$thisContents = file_get_contents( IPS_HOOKS_PATH . $classOverloader['filename'] );
$thisContents = str_replace( $name."(~id~)", $classname, $thisContents );

ob_start();
eval( $thisContents );
ob_end_clean();
}

if( class_exists( $classOverloader['className'] ) )
{
/* Hooks: We have the hook file and the class exists - reset the classname to load */
$classname = $classOverloader['className'];
}
}
}
}

Edited by WzGeee

  • Author

Появилось после установки хука (SOS34) Group Color on User Links  v1.3.0. При отключении этой фичи. ошибка пропадает. Ты гдето присал что после обновления форума такое было, но решилось обновлением кэша - это не мой случай, я кэш до дыр затёр, толку 0.

  • Author
Death1, спроси у хостера, они ни чего последнее время не обновляли, не чинили? Если уже на чистом IPB не работает...

Я сам себе хостер :) Не обновлял.

Edited by Death1

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
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.