|
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 |
FrankinHolland Smarty Rookie
Joined: 19 Jul 2011 Posts: 14
|
Posted: Tue Jul 19, 2011 2:08 am Post subject: compile_check sends browser to Pear smarty_compiler.class |
|
|
I am going crazy here. My templates won't recompile (probably server upgrade). I uploaded the latest smarty files and same. I can toggle the error by setting compile_check to true which sends the browser to Pear smarty_compiler.class with my domain/index.html as the site. The odd thing is that it all works fine and compiles on my local testing server. Is this a problem with my hosting company? Any suggestions will be greatly appreciated! |
|
Back to top |
|
FrankinHolland Smarty Rookie
Joined: 19 Jul 2011 Posts: 14
|
Posted: Tue Jul 19, 2011 4:04 am Post subject: Solved |
|
|
Like all good accidents there were multiple issues here. In as few words this is what I did wrong.
1) I downloaded a new smarty.compiler.class from Pear and by mistake downloaded the entire page in html.
2) I put this in another directory that was the one smarty was pulling from due to suphp configuration.
3) The one in my current directory was not being used.
I copied the correct one over the bad version and viola!
Not sure to feel stupid for doing it or clever for solving it. Anyway, all part of the learning process. |
|
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
|