Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5237

Domain Manager: Can't install on addon companies

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.10.0
    • Fix Version/s: 5.11.0-b1
    • Component/s: Plugins, Staff Interface
    • Labels:
      None

      Description

      When trying to install the Domain Manager plugin on an addon company, a white screen results with the following error:

      {{[2024-08-12T15:13:51.858835+00:00] general.ERROR: PDOException: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'registration_date' in /home/blestau/public_html/5100/vendors/minphp/db/src/PdoConnection.php:196 Stack trace: #0 /home/domain/public_html/5100/vendors/minphp/db/src/PdoConnection.php(196): PDOStatement->execute() #1 /home/domain/public_html/5100/plugins/domains/domains_plugin.php(635): Minphp\Db\PdoConnection->query() #2 /home/domain/public_html/5100/plugins/domains/domains_plugin.php(146): DomainsPlugin->upgrade1_12_0() #3 /home/domain/public_html/5100/app/models/plugin_manager.php(251): DomainsPlugin->install() #4 /home/domain/public_html/5100/app/controllers/admin_company_plugins.php(573): PluginManager->add() #5 /home/domain/public_html/5100/vendors/minphp/bridge/src/Lib/Dispatcher.php(142): AdminCompanyPlugins->install() #6 /home/domain/public_html/5100/index.php(21): Dispatcher::dispatch() #7

      {main}

      }}

      Make sure the domain manager is installed on the 1st company, then try to install on an addon company.

        Activity

        admin Paul Phillips created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.11.0 Sprint 3 [ 202 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        jonathan Jonathan Reissmueller made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        admin Paul Phillips added a comment - - edited

        Temporary solution: In plugins/domain/domains_plugin.php around line 634 comment out

        $this->Record->query(
        'ALTER TABLE `domains_domains` ADD `registration_date` DATETIME NULL DEFAULT NULL AFTER `service_id`;'
        );

        Show
        admin Paul Phillips added a comment - - edited Temporary solution: In plugins/domain/domains_plugin.php around line 634 comment out $this->Record->query( 'ALTER TABLE `domains_domains` ADD `registration_date` DATETIME NULL DEFAULT NULL AFTER `service_id`;' );
        jonathan Jonathan Reissmueller made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.11.0 Sprint 3 [ 202 ] 5.11.0 Sprint 3, 5.11.0 Sprint 4 [ 202, 203 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.11.0 Sprint 3, 5.11.0 Sprint 4 [ 202, 203 ] 5.11.0 Sprint 3, 5.11.0 Sprint 4, 5.11.0 Sprint 5 [ 202, 203, 204 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 32 minutes [ 1920 ]
        Worklog Id 17455 [ 17455 ]
        abdy Abdy Franco made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 32 minutes
              32m

                Agile