Blankforte
Member
Posted 2 years ago #
Hello,
I've made an own theme for wordpress and ran into at problem.
When I intall wordpress om my server it works fine, no problem at all. But when I activate my own theme I'm no longer abel to login or out or even reach the admin-panel. Except this the theme works fine.
I've made some other wp-themes and nerver got the same problem.
Sorry about the bad english...
Sorry but it sounds like you have an error, or conflict, somewhere in your theme. Have you examined your server's error logs?
Blankforte
Member
Posted 2 years ago #
No i havent. Where do i find it?
Tnx for the help.
Blankforte
Member
Posted 2 years ago #
Hm, looked at one of my other sites and found the log in the folder for the current theme. But there isn't anything there i the "trouble theme".
Have you hardcoded any paths into the theme?
Check for conflicting functions in your functions.php file, e.g. functions with same name as WordPress functions. In this case either change the name or use:
if ( !function_exists( "function_name" ) ) {
function function_name() {
// Function
}
}