I have created my own theme which works just fine locally, but when I try to migrate it to a live server the links break.
I've gone through the usual channels: permalink changes, database search & replace using new url, plugin deactivation etc etc, but no joy. It works fine with bog standard themes so I know the theme is the problem and not the database, but just can't pinpoint where the problem is. I've searched through the functions file but can't see any problems there either.
I've created themes before and never had this issue - I've looked through other questions but not found a resolution. Anyone else experienced this?
EDIT:
After adding
error_reporting(E_ALL);
ini_set('display_errors', 'On');
to wp-config.php
The following error was seen:
'Parse error: syntax error, unexpected end of file in /home/museumweb/public_html/wp-content/themes/museum/page.php on line 40'
Which has been fixed now.