NetTomsk Posted March 18, 2013 Share Posted March 18, 2013 Привет всем! Вообщем проблема заключается в том, что при оформлении, вставки кода: <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" В чем может быть проблема? Link to comment Share on other sites More sharing options...
Bot Posted March 18, 2013 Share Posted March 18, 2013 Обратите внимание По указанному вами в профиле "Board url" находится не IP.Board, либо модифицированный пиратский скрипт с удаленными копирайтами. Если вы указали неверный URL, пожауйста, поправьте его, потому что он скорее всего потребуется при диагностике вашей проблемы. Нелицензионные скрипты не приветствуются, т.к. зачастую именно некорректное "нуление" и является причиной проблем в них. Link to comment Share on other sites More sharing options...
siv1987 Posted March 18, 2013 Share Posted March 18, 2013 При оформлении вставки кода, где-то допускаете синтаксические ошибки, одно из таких может быть exp<b></b>ression Link to comment Share on other sites More sharing options...
NetTomsk Posted March 18, 2013 Author Share Posted March 18, 2013 Поможете исправить? Link to comment Share on other sites More sharing options...
siv1987 Posted March 18, 2013 Share Posted March 18, 2013 А вы сами не в силах удалить несколько символов - ? Link to comment Share on other sites More sharing options...
NetTomsk Posted March 18, 2013 Author Share Posted March 18, 2013 А вы сами не в силах удалить несколько символов - <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> Link to comment Share on other sites More sharing options...
siv1987 Posted March 18, 2013 Share Posted March 18, 2013 Вот так?Вам же выше написали "как", вы не видите что в слове expression находятся лишние теги ? Link to comment Share on other sites More sharing options...
NetTomsk Posted March 18, 2013 Author Share Posted March 18, 2013 Вам же выше написали "как", вы не видите что в слове exp<b></b>ression находятся лишние теги <b></b>?Спасибо за помощь.Тему можно закрыть. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now