Jump to content

[SOLVED] Blank admin page on second site when using core multisite


Arctic
 Share

Recommended Posts

Resolved: Removed the additional classes from init AND all whitespace around the processwire namespace declaration.

Hi all,

I'm using option 1 here for multiple sites with multiple databases: https://processwire.com/docs/more/multi-site-support/

Site 1 (the main site) works fine. When I try to log in to Site 2, I hit a blank page after login. The front end works fine. Here's the debugging info:

  • Warning: Cannot modify header information - headers already sent by (output started at /home/****/public_html/site-2/init.php:138) in /home/****/public_html/wire/modules/Process/ProcessPageView.module on line 142
  • Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/****/public_html/wire/core/Session.php on line 874
  • Warning: Cannot modify header information - headers already sent by (output started at /home/****/public_html/site-2/init.php:138) in /home/****/public_html/wire/core/Session.php on line 886

The extra lines in init are just classes, removing them doesn't change the error.

Any ideas?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...