Witajcie. Nie dotykałem forum przez 2 miesiące i dzisiaj chciałem sobie zmienić logo. Wychdozi coś takiego:
Fatal error: Uncaught exception 'Exception' with message 'NO_SUCH_REPLACEMENT' in xxx/public_html/forum/admin/sources/classes/skins/skinFunctions.php:939 Stack trace: #0 xxx//public_html/forum/admin/applications/core/modules_admin/templates/easylogo.php(195): skinFunctions->saveReplacementFromEdit('', '13', 'http://forum.ne...', 'logo_img') #1 xxx/public_html/forum/admin/applications/core/modules_admin/templates/easylogo.php(94): admin_core_templates_easylogo->complete() #2 xxx/public_html/forum/admin/sources/base/ipsController.php(306): admin_core_templates_easylogo->doExecute(Object(ipsRegistry)) #3 xxx/public_html/forum/admin/sources/base/ipsController.php(120): ipsCommand->execute(Object(ipsRegistry)) #4 xxx/public_html/forum/admin/sources/base/ipsController.php(65): ipsController->handleRequest() #5 xxxx/public_html/forum/admin/index.php(39): ipsController::run() #6 {main} thrown in xxx/public_html/forum/admin/sources/classes/skins/skinFunctions.php on line 939
Zastąpiłem katalog serwera "xxx".
Więc kilka linijek przed 939 linijką w skinFunctions.php
$replacement = $this->DB->buildAndFetch( array( 'select' => '*',
'from' => 'skin_replacements',
'where' => 'replacement_id=' . $replacementID ) );
if ( ! $replacement['replacement_id'] )
{
throw new Exception( 'NO_SUCH_REPLACEMENT' );
}
Wpis z global template do logo
<div id='branding'>
<div class='main_width'>
<div id='logo'>
<if test="brandingBar:|:ipsRegistry::$applications[ $this->registry->getCurrentApplication() ]['hasCustomHeader']">
{parse template="overwriteHeader" group="{current_app}_global" params=""}
<else />
{parse template="defaultHeader" group="global" params=""}
</if>
</div>
Gdzie tu jest ten błąd? Proszę o wsparcie.