17452 Posts in 4473 Topics by 1971 members
|Go to End|
16 February 2007 at 11:32am
Got as far as subtemplates on the 'building-a-basic-site.' Everything worked great up to that point. Created Layout subdirectory and two files in the directory as specified. Deleted HomePage.ss from the templates directory. Revised Page.ss as per the instructions. Now get errors. Any suggestions? Tips?
16 February 2007 at 11:44am
Make sure you flush the cache by adding ?flush=1 to the end of the url. If that doesn't help, post the errors you're getting in here and we'll see what we can do
16 February 2007 at 12:14pm
Thanks for the quick reply.
FATAL ERROR: filemtime() [function.filemtime]: stat failed for C:/lighttpd/htdocs/mysite/templates/HomePage.ss
At line 129 in C:\lighttpd\htdocs\sapphire\core\SSViewer.php
filemtime at line 129 of SSViewer.php
process at line 150 of Controller.php
defaultAction at line 122 of Controller.php
run at line 12 of ModelAsController.php
run at line 48 of Director.php
direct at line 90 of main.php
16 February 2007 at 12:23pm
Ran ?flush=1 after every revision of the Page.ss and HomePage.ss files. Tried several (numerous) times to restart with the ?flush=1 switch. Shut down the browser (Firefox), restarted the browser, again ran with ?flush=1. Long pause; now it's working. Go figure. Looks like it's back to working again. Apologies for my lack of knowledge of SilverStripe. Just found it last night.
|Go to Top|