diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt
index 60332eeac..4af1abe91 100644
--- a/docs/changelog/6.x.x.txt
+++ b/docs/changelog/6.x.x.txt
@@ -28,6 +28,8 @@
- fix [ 1488850 ] Collaboration front page slow to load
- The CS main listing is now 863% faster.
- Fixed a problem where last reply column wasn't being updated in the thread.
+ - fix [ 1488556 ] blank page after setup
+
6.99.0
- Added an Events Management System asset that can help people run
diff --git a/lib/WebGUI.pm b/lib/WebGUI.pm
index ff601e320..c7511a490 100644
--- a/lib/WebGUI.pm
+++ b/lib/WebGUI.pm
@@ -255,8 +255,7 @@ The current WebGUI::Session object.
sub setup {
my $session = shift;
require WebGUI::Operation::WebGUI;
- $session->http->sendHeader;
- $session->output->print(WebGUI::Operation::WebGUI::www_setup($session));
+ WebGUI::Operation::WebGUI::www_setup($session);
}
diff --git a/lib/WebGUI/Operation/WebGUI.pm b/lib/WebGUI/Operation/WebGUI.pm
index 102f59eb6..8d81ac23a 100644
--- a/lib/WebGUI/Operation/WebGUI.pm
+++ b/lib/WebGUI/Operation/WebGUI.pm
@@ -41,6 +41,7 @@ sub www_genesis {
return $output;
}
+#-------------------------------------------------------------------
=head2 www_setup ( )
Initial setup for a brand new WebGUI install. Sets the administrator name,
@@ -49,11 +50,8 @@ password and email address, as well as some other WebGUI settings.
=cut
-#-------------------------------------------------------------------
sub www_setup {
my $session = shift;
- $session->http->setCacheControl("none");
- $session->http->setMimeType("text/html");
return "" unless ($session->setting->get("specialState") eq "init");
my $i18n = WebGUI::International->new($session, "WebGUI");
my $output = 'setting->set('companyEmail',$session->form->email("companyEmail"));
$session->http->setRedirect($session->url->gateway());
$session->http->sendHeader;
- return "";
+ return undef;
} else {
$output .= '';
my $u = WebGUI::User->new($session,'3');
@@ -148,7 +146,10 @@ sub www_setup {