Kirby 2 not running properly

I suddenly have a really odd issue with Kirby 2.5.12. I know it works on my local server because I have other sites running on it that also use 2.5.12.

I have a small site for a client but some reason bits of it suddenly do not work! The main menu has disappeared. If i go to any page, it insists on showing me the default page. If I manually go to a page directly in the address bar, it still insists on showing me the default page, but the address sticks in the address bar. The custom configs also don’t work apart from the default config.php. It is also not respecting the given template per page, its using the default for all of them

The home page lists out all subpages (its a portfolio site). All i am getting is page titles and no images at all. When i hit the pagination, it keeps giving me the first page on every page.

I have replaced the Kirby install with a fresh copy but that didn’t solve it. Also tried running it on PHP 7.0, 7.1, 7.2 with no luck.

What the heck is going on?? This is the only site i have that has a private area behind a front end login, but i doubt that has anything to do with it.

Ok I figured it out finally. Seems it wasn’t loading the custom config for the local test domain, and falling back to the default config. That config had something missing in it, causing the site to get in a twist.

Surprised I didnt get a whoops or something though…