Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-12034

index_treemenu.php doesn't load DatabaseSettings from site.ini in extension

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.1, 4.0.0rc1
    • 3.10.0, 4.0.0beta1
    • Database related
    • None
    • Operating System: Debian Sarge
      PHP Version: PHP Version 4.4.7-0.dotdeb.0
      Database and version: MySQL 4.1.15-Debian_0.dotdeb.4-log

    Description

      when DatabaseSettings are in an extension, index_treemenu.php doesn't load them.

      The logs show the following error:
      eZMySQLDB:
      Connection error: Couldn't connect to database. Please try again later or inform the system administrator.
      Access denied for user 'toto'@'localhost' (using password: NO)

      Steps to reproduce

      create an extension extension/test/
      create a file in /extension/test/settings/site.ini.append.php with
      [DatabaseSettings]
      DatabaseImplementation=ezmysql
      Server=localhost
      User=user
      Password=password
      Database=database

      remove the DatabaseSettings from settings/override/site.ini.append.php
      activate the extension "test"

      Attachments

        Activity

          People

            a29ca475-2ac3-469b-95ea-e37ca79eae29@accounts.ibexa.co Sergiy Pushchin
            dpitard dpitard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: