NetTomsk 0 03/18/2013 08:55 AM Привет всем! Вообщем проблема заключается в том, что при оформлении, вставки кода: <div itemscope itemtype="http://schema.org/Person" class='user_details'> <span class='hide' itemprop="name">{$author['members_display_name']}</span> <ul class='basic_info'> <if test="membertitle:|:$author['member_title']"> <p class='desc member_title'>{$author['member_title']}</p> </if> <if test="avatar:|:$author['member_id']"> <li class='avatar'> <if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )"> <a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'> </if> <if test="hasVariable:|:$this->settings['member_topic_avatar_max']"> <img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' /> <else /> <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' /> </if> <if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )"> </a> </if> </li> <else /> <li class='avatar'> <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' /> </li> </if> <li class='group_title'> {$author['_group_formatted']} </li><br/> <if test="rankimage:|:$author['member_rank_img']"> <li class='group_icon'> <if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'"> <img src='{$author['member_rank_img']}' alt='' /> <else /> {$author['member_rank_img']} </if> </li> </if> <if test="postCount:|:$author['member_id']"> </if> <if test="authorwarn:|:$author['show_warn']"> </if> </ul> <if test="authorcfields:|:$author['custom_fields'] != """> <ul class='custom_fields'> <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data"> <foreach loop="customFields:$author['custom_fields'][ $group ] as $field"> <if test="$field != ''"> <li> {$field} </li> </if> </foreach> </foreach> <li> <table width="100%" border="0"> <tr> <td width="18"><img src="http://Ваш_сайт/public/style_extra/cprofile_icons/text.png"></td> <td width="50" align="left">Сообщений:</td> <td align="left">{parse exp<b></b>ression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</td> </tr> </table> </li> <li> <table width="100%" border="0"> <tr> <td width="18"><img src="http://Ваш_сайт/public/style_extra/cprofile_icons/warns.png"></td> <td width="50" align="left"><a class='desc lighter blend_links' href='{parse url="app=members&module=profile§ion=warnings&member={$author['member_id']}&from_app={$this->request['app']}&from_id1={$contentid}&from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>Предупреждений:</a></td> <td align="left"><b>{parse exp<b></b>ression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</b></td> </tr> </table> </li> </ul> </if> </div> форум не загружается, пишет Ошибка HTTP 500 (Internal Server Error): При попытке сервера выполнить запрос возникла неожиданная ситуация. В логах 2013/03/18 12:21:13 [error] 3409#0: *6495 FastCGI sent in stderr: "PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /sources/classes/output/publicOutput.php(1722) : eval()'d code on line 1414 PHP Fatal error: Class 'skin_global_5' not found in /sources/classes/output/publicOutput.php(3536) : eval()'d code on line 2" while reading response header from upstream, client: 188.162.14.66, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:1989", host: "localhost" В чем может быть проблема? Share this post Link to post Share on other sites
Bot 5 03/18/2013 08:55 AM Обратите внимание По указанному вами в профиле "Board url" находится не IP.Board, либо модифицированный пиратский скрипт с удаленными копирайтами. Если вы указали неверный URL, пожауйста, поправьте его, потому что он скорее всего потребуется при диагностике вашей проблемы. Нелицензионные скрипты не приветствуются, т.к. зачастую именно некорректное "нуление" и является причиной проблем в них. Share this post Link to post Share on other sites
siv1987 2,622 03/18/2013 02:30 PM При оформлении вставки кода, где-то допускаете синтаксические ошибки, одно из таких может быть exp<b></b>ression Share this post Link to post Share on other sites
siv1987 2,622 03/18/2013 03:51 PM А вы сами не в силах удалить несколько символов - ? Share this post Link to post Share on other sites
NetTomsk 0 03/18/2013 04:53 PM А вы сами не в силах удалить несколько символов - <b></b>? <li> <table width="100%" border="0"> <tr> <td width="18"><img src="http://siberia2010.ru/public/style_extra/cprofile_icons/text.png"></td> <td width="50" align="left">Сообщений:</td> <td align="left">{parse exp<b></b>ression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</td> </tr> </table> </li> <li> <table width="100%" border="0"> <tr> <td width="18"><img src="http://siberia2010.ru/public/style_extra/cprofile_icons/warns.png"></td> <td width="50" align="left"><a class='desc lighter blend_links' href='{parse url="app=members&module=profile§ion=warnings&member={$author['member_id']}&from_app={$this->request['app']}&from_id1={$contentid}&from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>Предупреждений:</a></td> <td align="left"><b>{parse exp<b></b>ression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</b></td> </tr> </table> </li> Вот так? <li> <table width="100%" border="0"> <tr> <td width="18"><img src="http://siberia2010.ru/public/style_extra/cprofile_icons/text.png"></td> <td width="50" align="left">Сообщений:</td> <td align="left">{parse exp<b></b>ression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</td> </tr> </table> </li> <li> <table width="100%" border="0"> <tr> <td width="18"><img src="http://siberia2010.ru/public/style_extra/cprofile_icons/warns.png"></td> <td width="50" align="left"><a class='desc lighter blend_links' href='{parse url="app=members&module=profile§ion=warnings&member={$author['member_id']}&from_app={$this->request['app']}&from_id1={$contentid}&from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>Предупреждений:</a></td> <td align="left">{parse exp<b></b>ression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</td> </tr> </table> </li> Share this post Link to post Share on other sites
siv1987 2,622 03/18/2013 05:23 PM Вот так?Вам же выше написали "как", вы не видите что в слове expression находятся лишние теги ? Share this post Link to post Share on other sites
NetTomsk 0 03/18/2013 05:46 PM Вам же выше написали "как", вы не видите что в слове exp<b></b>ression находятся лишние теги <b></b>?Спасибо за помощь.Тему можно закрыть. Share this post Link to post Share on other sites