Хочу сделать сайт на рф. Залил на фтп, настроил БД, но при обращении к сайту пишет: "Not Found The requested URL was not found on this server."
Правильно ли я прописал: $config['root_url'] = 'http://кекушин-клуб.рф'; ?
Как работать с доменом в зоне РФ
Re: Как работать с доменом в зоне РФ
$config['root_url'] = 'http://XN----BTBKMIBCIP2DF8C.XN--P1AI'
Re: Как работать с доменом в зоне РФ
Ага, уже исправил. Другая проблема: при подтверждении регистрации пользователя: пишет сообщение:
Пробовал заменить в шаблоне \'\' на '', но не помогло. Подскажите, в чем дело?
Code: Select all
string(157) "Smarty error: [in module_db_tpl:SelfRegistration;selfreg_reg2template line 3]: syntax error: unidentified token '\'\'' (Smarty_Compiler.class.php, line 1410)" string(157) "Smarty error: [in module_db_tpl:SelfRegistration;selfreg_reg2template line 4]: syntax error: unidentified token '\'\'' (Smarty_Compiler.class.php, line 1410)"
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/hiphop/public_html/karate_club/tmp/templates_c/SelfRegistration^%%9E^9E9^9E9BA8BB%%module_db_tpl%3ASelfRegistration%3Bselfreg_reg2template.php on line 5
Parse error: syntax error, unexpected T_STRING in /home/hiphop/public_html/karate_club/tmp/templates_c/SelfRegistration^%%9E^9E9^9E9BA8BB%%module_db_tpl%3ASelfRegistration%3Bselfreg_reg2template.php on line 6
Re: Как работать с доменом в зоне РФ
Шаблон покажите.
Re: Как работать с доменом в зоне РФ
В админке почему-то \'\' не удалились:
orig_registration2.tpl:
Code: Select all
{* registration 2 template *}
{$title}
{if isset($messsage) && $message != \'\'}
{if isset($error) && $error != \'\'}
<p><font color="red">{$message}</font></p>
{else}
<p>{$message}</p>
{/if}
{/if}
{$startform}
<center>
<table width="75%">
<tr>
<td>{$prompt_username}</font>
</td>
<td>{$input_username}</td>
</tr>
<tr>
<td>{$prompt_password}</font>
</td>
<td>{$input_password}</td>
</tr>
<tr>
<td>{$prompt_code}</font>
</td>
<td>{$input_code}</td>
</tr>
</table>
</center>
<br/>
{$hidden}{$hidden2}{$submit}
{$endform}
Code: Select all
{* registration 2 template *}
{$title}
{if isset($messsage) && $message != ''}
{if isset($error) && $error != ''}
<p><font color="red">{$message}</font></p>
{else}
<p>{$message}</p>
{/if}
{/if}
{$startform}
<center>
<table width="75%">
<tr>
<td>{$prompt_username}</font>
</td>
<td>{$input_username}</td>
</tr>
<tr>
<td>{$prompt_password}</font>
</td>
<td>{$input_password}</td>
</tr>
<tr>
<td>{$prompt_code}</font>
</td>
<td>{$input_code}</td>
</tr>
</table>
</center>
<br/>
{$hidden}{$hidden2}{$submit}
{$endform}
Re: Как работать с доменом в зоне РФ
Т.е. проблема найдена, как я понял.seregarem wrote:В админке почему-то \'\' не удалились
Re: Как работать с доменом в зоне РФ
Да, получилось. Спасиба!
Re: Как работать с доменом в зоне РФ
Огромное спасибо, какраз возникла подобная проблема.
Тоже помогло.
Тоже помогло.