Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Subtemplates


Go to End


3 Posts   3380 Views

Avatar
Dave

Community Member, 3 Posts

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?

-- Dave

Avatar
Dave

Community Member, 3 Posts

16 February 2007 at 12:14pm

Thanks for the quick reply.

Errors:

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(C:/lighttpd/htdocs/mysite/templates/HomePage.ss)
filemtime at line 129 of SSViewer.php

SSViewer->process(Object)
process at line 150 of Controller.php

Controller->defaultAction(index,Array)
defaultAction at line 122 of Controller.php

Controller->run(Array)
run at line 12 of ModelAsController.php

ModelAsController->run(Array)
run at line 48 of Director.php

Director->direct(/home/)
direct at line 90 of main.php

Avatar
Dave

Community Member, 3 Posts

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.

-- Dave