Перейти к публикации

Проблема с редактированием шаблонов...


Рекомендованные сообщения

версия 6.2 (позавчера вечером качал)

при редактировании шаблона "под себя" после нажатия на "сохранить" (отредактировал только "Общий макет страницы") выдает следующее:

Warning: fopen(./templates/Default/main.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/vote.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/shortstory.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/comments.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/addcomments.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/fullstory.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/navigation.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/userinfo.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/addnews.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/search.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/searchresult.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/stats.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/info.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/registration.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/lostpassword.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/feedback.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/pm.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/offline.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/static.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/poll.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165 Warning: fopen(./templates/Default/speedbar.tpl): failed to open stream: Permission denied in /home/content/public_html/engine/inc/templates.php on line 163 Warning: fwrite(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 164 Warning: fclose(): supplied argument is not a valid stream resource in /home/content/public_html/engine/inc/templates.php on line 165

и ничего, соответственно, не меняется. и так каждый раз при попытке редактирования шаблона (любого!)

Ссылка на сообщение
Поделиться на других сайтах

у меня своем серваке норм.. а на платном jino такая же пигня... :angry: я редактирую 4ерез фтп, уже привык ... :D

Ссылка на сообщение
Поделиться на других сайтах

сначало читай что пишет

Warning: fopen(./templates/Default/main.tpl): failed to open stream: Permission denied in

в переводе на понятный Русский, пхп не может открыть файл из - за отсутствия прав доступа. меняй chmode как в инструкции написано

Ссылка на сообщение
Поделиться на других сайтах

хм... chmod все выставил вроде правильно... но сейчас еще на всякий случай проверю...

сайт http://content43.ru/

Изменено пользователем Данхилл
Ссылка на сообщение
Поделиться на других сайтах

да, действительно наверное в правах дело - у меня на все файлы в папке templates стоят права 644, а надо 666 =) хотя странно - вроде все проверял... =\ ну ладно - если сейчас выставлю правильно и все заработает - закрою тему. )

Да, проблема была в правах. Извиняюсь за свою глупость! =(

Ссылка на сообщение
Поделиться на других сайтах
  • 1 месяц спустя...
  • 2 месяца спустя...

Присоединяйтесь к обсуждению

Вы можете опубликовать сообщение сейчас, а зарегистрироваться позже. Если у вас есть аккаунт, войдите в него для написания от своего имени.

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.

×
×
  • Создать...