|
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 |
DayGlo Smarty n00b
Joined: 26 May 2003 Posts: 2
|
Posted: Mon May 26, 2003 6:50 pm Post subject: Sub Domains and 5.2 |
|
|
Hi, i was using an older version of smarty and just updated to 5.2.
Everything works fine except pages that are in a sub domain.
They worked before and i haven't changed the templates so i'm stuck.
Anyone else have this problem? I'm using relative paths with the smarty class file defined in each page. If i copy the subdomain page to the root directory, the page loads fine. The error i am getting is
"Warning: Smarty error: unable to read template resource: "mytemplate/index.tpl" in /home/myusername/public_html/Smarty.class.php on line 999"
Any help would be appreciated.
Thanks. |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Mon May 26, 2003 9:50 pm Post subject: |
|
|
Try abosolute path for your template_dir.
EDIT: What is 5.2 ?? |
|
Back to top |
|
DayGlo Smarty n00b
Joined: 26 May 2003 Posts: 2
|
Posted: Fri Jun 06, 2003 1:20 am Post subject: |
|
|
Oops, i meant 2.5
Thanks boots, that fixed it. |
|
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
|