Skip to content

Instantly share code, notes, and snippets.

@jdsimcoe
Last active December 26, 2015 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdsimcoe/7095486 to your computer and use it in GitHub Desktop.
Save jdsimcoe/7095486 to your computer and use it in GitHub Desktop.
header-information-error

###Symphony Warning:

Cannot modify header information - headers already sent by (output started at /Users/jdsimcoe/Sites/atheycreek/workspace/elasticsearch/mappings/teachings.php:1)

An error occurred in /Users/jdsimcoe/Sites/atheycreek/symphony/lib/toolkit/class.page.php around line 308

303 if($key == 'status' && isset($value['response_code'])) { 304 $res_code = intval($value['response_code']); 305 self::renderStatusCode($res_code); 306 } 307 else { 308 header($value['header']); 309 } 310 } 311 } 312 }

Backtrace

[:0] GenericErrorHandler::handler(); [/Users/jdsimcoe/Sites/atheycreek/symphony/lib/toolkit/class.page.php:308] header(); [/Users/jdsimcoe/Sites/atheycreek/symphony/lib/toolkit/class.page.php:274] Page->__renderHeaders(); [/Users/jdsimcoe/Sites/atheycreek/symphony/lib/toolkit/class.htmlpage.php:102] Page->generate(); [/Users/jdsimcoe/Sites/atheycreek/symphony/lib/toolkit/class.administrationpage.php:528] HTMLPage->generate(); [/Users/jdsimcoe/Sites/atheycreek/symphony/lib/core/class.administration.php:468] AdministrationPage->generate(); [/Users/jdsimcoe/Sites/atheycreek/index.php:22] Administration->display();

Database Query Log

[0.0039] SET character_set_connection = 'utf8', character_set_database = 'utf8', character_set_server = 'utf8'; [0.0018] SET CHARACTER SET 'utf8'; [0.0019] SET time_zone = '-07:00'; [0.0030] SELECT SQL_CACHE t1.name, t2.page, t2.delegate, t2.callback FROM sym_extensionsas t1 INNER JOINsym_extensions_delegates as t2 ON t1.id = t2.extension_id WHERE t1.status = 'enabled' ORDER BY t2.delegate, t1.name; [0.0024] SELECT SQL_CACHE session_dataFROMsym_sessionsWHEREsession = '27d9292606704d2f3d8a367453190437' LIMIT 1; [0.0025] SELECT SQL_CACHE a.* FROM sym_authorsASaWHEREusername = 'jdsimcoe' ORDER BY a.id ASC LIMIT 1; [0.0021] UPDATE sym_authors SET last_seen= '2013-10-21 22:00:30' WHEREid = 4; [0.0023] SELECT SQL_CACHE nameFROMsym_extensionsWHEREstatus = 'enabled'; [0.0023] SELECT SQL_CACHE * FROM sym_extensions; [0.0034] SELECT SQL_CACHE s.* FROM sym_sectionsASsORDER BYs.sortorder asc; [0.0022] SELECT SQL_CACHE s.* FROM sym_sectionsASsORDER BYs.name ASC; [0.0026] SELECT SQL_CACHE idFROMsym_sectionsWHEREhandle = '' LIMIT 1;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment