|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Omer Smarty n00b
Joined: 01 Feb 2013 Posts: 1
|
Posted: Fri Feb 01, 2013 3:07 pm Post subject: Problem ze smarty.get po przeniesieniu strony na inny serwer |
|
|
Witajcie,
na początku zaznaczę, że nigdy wcześniej nie miałem styczności ze smarty.
Po przeniesieniu strony na inny serwer miałem sporo problemów z uruchomieniem strony, głownie ze względu na firmę która stworzyła skrypt (na odwal).
Aktualnie mam problem ze $smarty.get.
w .htaccess mam regułę
RewriteRule ^strona/([0-9]+)/?$ /strona.php?id=$1
Gdy wejdę na adres.pl/strona/4
to $smarty.get.id w .tpl w ogóle nie działa.
Natomiast przez adres.pl/strona.php?id=4 działa jak należy.
Domyślam się, że przez / nie wczytuje jakiegoś pliku od smarty.
Który to może być plik? Dziwne, że na starym serwerze / nie przeszkadzał. |
|
Back to top |
|
|
|
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
|