Try to browse it via the url
http://www.lesliemcbay.ca/wp-login.php
After that deactivate the plugins one by one to fix the issue.
@capflint, that code obviously isn’t in the correct place. It should typically be in functions.php. This should not ever be on any page template.
@thegreyparrots, that got me a login prompt, which seemed to be accepted, but then I was redirected to the same blank page.
What I can’t figure out is why this is happening after deployment, but not on the localhost development version (both are identical, I haven’t edited either one since deployment).
I even tried uploading multiple times, with the same problem. Which is why I’m now asking the wise forum-goers.
Ok, so after enabling DEBUG and DEBUG_DISPLAY, I see that there were PHP warnings regarding my child theme’s functions.php file. The contents of this file were what I was seeing when viewing the page source.
I deleted the file to see if that resolved the problem, but no such luck. Still a white page, with no viewable source at all. No errors displayed, no error log generated, and no page.
What exactly did the PHP warnings/errors say?
At the moment, the only warnings I’m getting are plugin based:
Strict Standards:
Accessing static property advanced_code_editor::$tablename as non static in /home/lesliemc/public_html/wp-content/plugins/advanced-code-editor/advanced-code-editor.php on line 66
When I rename that plugin’s directory, to prevent WordPress from using it, I get no errors or warnings whatsoever, but the page displayed is blank, and the source contains only the contents of my child theme’s functions.php file.
I have also tried deleting that functions.php file (it was quite small and easily reconstructed once I can get the dashboard working). The result is still a blank page, no errors, but now showing no page source at all.
By going to ../wp-login.php, I am able to login. It’s the dashboard that’s not showing up. Logging in seems OK.
Kindly delete the plugin advanced-code-editor from your plugins directory.
Kindly keep a backup before delete.
Fixed!
Turned out it was some whitespace causing problems, both in config.php and in my parent theme’s functions.php.
Still no idea why it affected me on a live server but not on my localhost version.
Whatever, so long as it works!