Search

Just installed Symphony 2.3.2beta2 on my local machine on MAMP (PHP 5.4.4) and get this error when I try to go to Extensions in the backend.

Removing the extensions takes the error away, but obviously, I can't work without extensions. :)

Symphony Warning: header() expects parameter 3 to be long, string given

An error occurred in /Applications/MAMP/htdocs/housex/symphony/lib/toolkit/class.page.php around line 286

281          * @see https://github.com/symphonycms/symphony-2/issues/1558#issuecomment-10663716
282          *
283          * @param integer $status_code
284          */
285         public static final function renderStatusCode($status_code) {
286             header(self::getHeaderStatusString($status_code), true, $status_code);
287         }
288
289         /**
290          * Iterates over the `$_headers` for this page
Backtrace
[:0]
    GenericErrorHandler::handler();
[/Applications/MAMP/htdocs/housex/symphony/lib/toolkit/class.page.php:286]
    header();
[/Applications/MAMP/htdocs/housex/symphony/lib/core/class.symphony.php:774]
    Page::renderStatusCode();
[:0]
    SymphonyErrorPageHandler::render();
[/Applications/MAMP/htdocs/housex/symphony/lib/core/class.errorhandler.php:98]
    call_user_func();
[:0]
    GenericExceptionHandler::handler();
Database Query Log
[0.0001] SET character_set_connection = 'utf8', character_set_database = 'utf8', character_set_server = 'utf8';
[0.0001] SET CHARACTER SET 'utf8';
[0.0002] SELECT SQL_CACHE t1.name, t2.page, t2.delegate, t2.callback FROM `sym_extensions` as t1 INNER JOIN `sym_extensions_delegates` as t2 ON t1.id = t2.extension_id WHERE t1.status = 'enabled' ORDER BY t2.delegate, t1.name;
[0.0001] SELECT SQL_CACHE `session_data` FROM `sym_sessions` WHERE `session` = 'f409ebd163d471048a9ec1fa844c364a' LIMIT 1;
[0.0002] SELECT SQL_CACHE a.* FROM `sym_authors` AS `a` WHERE `username` = 'Pat' ORDER BY a.id ASC LIMIT 1;
[0.0002] UPDATE sym_authors SET `last_seen` = '2013-02-08 16:09:10' WHERE `id` = 1;
[0.0001] SELECT SQL_CACHE `name` FROM `sym_extensions` WHERE `status` = 'enabled';
[0.0001] SELECT SQL_CACHE `s`.* FROM `sym_sections` AS `s` ORDER BY `s`.`sortorder` asc;

I wouldn't expect extensions to come up to speed with the core until there is a release candidate.

Right. Just installed plain 2.3.1 and it's fine. Thanks :)

Did you report this as an error on github? If not, can you please?

Ta.

Added an issue on github

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details