Silverstripe Version: 4.5
Question:
I’ve been working on a website on my localhost using MAMP and everything seems to work as intended, but when I upload my file to my hosting server it doesn’t get the $Layout variable. It loads the includes and everything else perfectly.
So I’m wondering if it had anything to do with the way I’ve setup my PHP files or if it’s an issue to do with the database.
Please excuse me if it isn’t enough information, I would gladly share my code, but since I don’t know what part of it is causing it I can’t. If you have any idea let me know, thank you very much