← Back to team overview

mahara-contributors team mailing list archive

[Bug 1233171] Re: Can't save custom skin

 

Hi Mike,

Oh, or better yet, do a "view HTML source" on one of the affected pages
and see what's printed on the very first line. That may give us some
idea of what is being output before the headers.

Cheers again,
Aaron

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1233171

Title:
  Can't save custom skin

Status in Mahara ePortfolio:
  New

Bug description:
  In 1.8RC1, when trying to save a custom skin, I always get the
  following error:

  ERROR - something bad happened after headers have been sent. Check the
  error log for more information.

  MySQL, OSX, Firefox 23.0.1

  Some entries from the PHP error log:

  [30-Sep-2013 14:21:46 Europe/London] [WAR] cd (lib/pieforms/pieform.php:495) Cannot modify header information - headers already sent by (output started at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lang/en.utf8/skin.php:1)
  [30-Sep-2013 14:21:46 Europe/London] Call stack (most recent first):
  [30-Sep-2013 14:21:46 Europe/London]   * log_message("Cannot modify header information - headers already...", 8, true, true, "/Volumes/Macintosh HD/Users/mikekelly/Webwork/git_...", 495) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lib/errors.php:446
  [30-Sep-2013 14:21:46 Europe/London]   * error(2, "Cannot modify header information - headers already...", "/Volumes/Macintosh HD/Users/mikekelly/Webwork/git_...", 495, array(size 13)) at Unknown:0
  [30-Sep-2013 14:21:46 Europe/London]   * header("HTTP/1.1 303 See Other") at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lib/pieforms/pieform.php:495
  [30-Sep-2013 14:21:46 Europe/London]   * Pieform->__construct(array(size 8)) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lib/pieforms/pieform.php:170
  [30-Sep-2013 14:21:46 Europe/London]   * Pieform::process(array(size 8)) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lib/pieforms/pieform.php:71
  [30-Sep-2013 14:21:46 Europe/London]   * pieform(array(size 8)) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/skin/design.php:503
  [30-Sep-2013 14:21:46 Europe/London] 
  [30-Sep-2013 14:21:46 Europe/London] [WAR] cd (lib/pieforms/pieform.php:496) Cannot modify header information - headers already sent by (output started at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lang/en.utf8/skin.php:1)
  [30-Sep-2013 14:21:46 Europe/London] Call stack (most recent first):
  [30-Sep-2013 14:21:46 Europe/London]   * log_message("Cannot modify header information - headers already...", 8, true, true, "/Volumes/Macintosh HD/Users/mikekelly/Webwork/git_...", 496) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lib/errors.php:446
  [30-Sep-2013 14:21:46 Europe/London]   * error(2, "Cannot modify header information - headers already...", "/Volumes/Macintosh HD/Users/mikekelly/Webwork/git_...", 496, array(size 13)) at Unknown:0
  [30-Sep-2013 14:21:46 Europe/London]   * header("Location:http://localhost/mamp/maharacore//skin/in...";) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lib/pieforms/pieform.php:496
  [30-Sep-2013 14:21:46 Europe/London]   * Pieform->__construct(array(size 8)) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lib/pieforms/pieform.php:170
  [30-Sep-2013 14:21:46 Europe/London]   * Pieform::process(array(size 8)) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lib/pieforms/pieform.php:71
  [30-Sep-2013 14:21:46 Europe/London]   * pieform(array(size 8)) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/skin/design.php:503
  [30-Sep-2013 14:21:46 Europe/London] 
  [30-Sep-2013 14:22:34 Europe/London] [WAR] 73 (lib/web.php:2709) Headers already sent when redirect() was called (output started in /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lang/en.utf8/skin.php on line 1
  [30-Sep-2013 14:22:34 Europe/London] Call stack (most recent first):
  [30-Sep-2013 14:22:34 Europe/London]   * redirect("/view/view.php?id=6") at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/view/skin.php:193
  [30-Sep-2013 14:22:34 Europe/London]   * viewskin_submit(object(Pieform), array(size 5)) at Unknown:0
  [30-Sep-2013 14:22:34 Europe/London]   * call_user_func_array("viewskin_submit", array(size 2)) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lib/pieforms/pieform.php:528
  [30-Sep-2013 14:22:34 Europe/London]   * Pieform->__construct(array(size 2)) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lib/pieforms/pieform.php:170
  [30-Sep-2013 14:22:34 Europe/London]   * Pieform::process(array(size 2)) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/lib/pieforms/pieform.php:71
  [30-Sep-2013 14:22:34 Europe/London]   * pieform(array(size 2)) at /Volumes/Macintosh HD/Users/mikekelly/Webwork/git_repositories_php/maharacore/htdocs/view/skin.php:86
  [30-Sep-2013 14:22:34 Europe/London]

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1233171/+subscriptions


Follow ups

References