Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#414: Incorrect database call in fieldmanager

In class.fieldmanager.php line 98:

return $this->_Parent->Database->fetchVar('element_name', 0, "SELECT `element_name` FROM `sym_fields` WHERE `id` = '$id' LIMIT 1");

Shouldn’t this be:

return Symphony::Database()->fetchVar('element_name', 0, "SELECT `element_name` FROM `sym_fields` WHERE `id` = '$id' LIMIT 1");

I had an error today with the FieldManager where _Parent->Database wasn’t found.

This issue is closed.

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