Search

Just thought I’d mention that my sys admin here has just stumbled into some problems whilst moving a symphony build. (You’ll have to bear with me it goes a little over my head).

He moved the build and Symphony was failing to connect to the database, the problem was he was not getting any error messages or logs to tell him that it wasn’t connecting.

This is what he discovered…

Line 119 in symphony/lib/toolkit/class.mysql.php

$this->connection[‘id’] = @mysqlconnect($this->_connec…….

using the @ sign suppresses the PHP error reporting, which means that I couldn’t see in the PHP logs that there was no mysql driver installed on the server, until I look the @ sign off.

This of course is probably irrelevant with the new release (this is a build of Symphony 2.0.7), but I thought it maybe worth a mention.

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