Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

unable to read resource: "index.tpl" in Subdomen

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Russian
View previous topic :: View next topic  
Author Message
vovatyt
Smarty n00b


Joined: 27 Mar 2012
Posts: 1

PostPosted: Tue Mar 27, 2012 12:39 pm    Post subject: unable to read resource: "index.tpl" in Subdomen Reply with quote

Приветствую!
Прошу подсказать решение или хотя-бы направление поиска решения.
Итак. Есть сайт test2.ru (на локальном хосте) , в корне лежит Smarty, Templates и другие папки.
Создан поддомен test6.ru который использует php код с test2.ru.
В корне сайта test6.ru хотелось бы видеть только index.php но Smarty, с нового домена не видит папки с шаблонами (Templates ...), расположенные в test2.ru
Получаем ошибку:

Quote:
Warning: Smarty error: unable to read resource: "index.tpl" in /home/ddrred/www/test2.ru/smarty/Smarty.class.php on line 1092


Насколько я понял, тут проблема видимости папок на сервере.
Вцелом есть желание создать несколько сайтов на поддоменах работающих на одном движке, и с одинаковыми (общими) шаблонами.
Заранее всем спасибо!
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP