We had to move to a new server from Windows to Linux, all went good except right now nothing under admin shows up. When I click on the admin button just get a blank screen, even if I select something from the drop down menu. I looked everything I could, it's probably just a case of a lower case or upper case reference since Linux is case sensitive. Any suggestions where I should look deeper? Thank you!
We're on 2.0.15 and using the Ambassador theme.
I will be honest I know nothing about databases however it could be possible using an ftp client or file manager do you have an error_log file? If so are their any errors related t your forum?
have you run through the faq
QuoteStep 5 - Run repair_settings.php on the new system to ensure that your paths, URLs, and database credentials are correct.
did you check your server error log to see if there is a related error logged?
All right, I'm back here again, we did run repair_settings, didn't see any issues there, checked server log page, no errors at all.
Anyone has any ideas how to check why the Admin feature is not working? All else is working good, only Admin gives us a blank page.
Have you asked your host? Maybe the server error log is not enabled.
Got it ... well, here is the last entry just after trying the admin feature again:
PHP Fatal error: require(): Failed opening required '/filmwor1/public_html/wp-blog-header.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /filmwor1/public_html/index.php on line 17
does wp-blog-header.php exist?
did you put that code there?
isn't that wordpress and not smf....why would an error from wordpress not allow you log into your smf admin :o
but as illori said, are you sure that that file actually exists?
If all else fails reupload the files just to make sure that everything actually did get uploaded and nothing got missed.....
also on a side note when you ran the repair tool, did you press for it to reset all themes to default? Are you able to log into admin then or still the same problem?
Yeah ... I think I found it:
PHP Fatal error: Cannot redeclare MobileThemeSelector() (previously declared in /home2/filmwor1/public_html/MovieForum/Sources/Admin.php:1001) in /home2/filmwor1/public_html/MovieForum/Sources/Admin.php on line 1065
Looks like it's the Mobile theme selector that's causing it ...
It looks like it was installed twice by accident, rather than the mod inherently being at fault.
If you look in the code you'll almost certainly find the same section of code at line 1001 then duplicated 64 lines later.
You're a genius! Damn, that's what it was, the function was duplicated. Thanks guys so much for the help, I could not figured this out by myself! :O