dorsetdigital

Can you point straight at the origin server to eliminate it?

theruss

Important note: Varnish is running and may or may not be implicated...

theruss

PHP Warning: No current controller available in /path/to/Controller.php on line 556

theruss

Has anyone ever come across a scenario where no controller is found? I'm struggling to imagine what it is about a server env that would produce this

dorsetdigital

or eg. app/templates/SilverStripe/Blog/Model/Layout/BlogPost.ss if you're not using themes

thats4shaw

e.g. themes/yourtheme/templates/SilverStripe/Blog/Model/Layout/BlogPost.ss

thats4shaw

If it’s just template changes that isn’t required. You can just mimic the folder structure in your theme templates folder.

✔️ (1)
Bidd

Regarding the Silverstripe/blog module. I want to use my own templates for Blog and BlogPost. Is the idea to write extensions for those classes so the template files are looked up from my namespace as opposed to Silverstripe\Blog\Model ?

guci0

wrrryyy I don't close <body> tag 🙂

😱 (1)