Hello, I’m working on a project with migx.
Modx 3.0.5
Migx 3.0.2-b1
PHP 8.1.23
I’m facing multiple problems, and as I’m not developing to oft with MODx lately, don’t know where to start.
For example, drag and drop does not work. I can drag items, connector is initiated and returns 200, but there are no changes in db. All logs (Modx, PHP, Mysql are empty).
Combobox filters does not work. I configure the simplest filter (and I’m pretty sure, that I’m doing everything right), and the dropbox has no recors.
There are other bugs too.
It seems, that Migx is somehow broken. I’ve reinstalled it, reinstalled my CMP - no result.
So my first question - which PHP version is the Migx 3.0.2 compatible the best? I want to eliminat server issues to move on.
My second question - what else could be wrong?
I post my schema too, maybe someone can spot the problem.
Thanxs
<?xml version="1.0" encoding="UTF-8"?>
<model package="MeCatalog\Model\" baseClass="xPDO\Om\xPDOObject" platform="mysql" defaultEngine="InnoDB" phpdoc-package="" phpdoc-subpackage="" version="3.0">
<object class="MeCatalogProduct" table="mecatalog_products" extends="xPDO\Om\xPDOSimpleObject" >
<field key="title_de" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="title_en" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="alias_de" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="alias_en" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="description_de" dbtype="mediumtext" phptype="string" />
<field key="description_en" dbtype="mediumtext" phptype="string" />
<field key="snippet_text_de" dbtype="text" phptype="string" />
<field key="snippet_text_en" dbtype="text" phptype="string" />
<field key="intro_de" dbtype="mediumtext" phptype="string" />
<field key="intro_en" dbtype="mediumtext" phptype="string" />
<field key="specs_text_de" dbtype="mediumtext" phptype="string" />
<field key="specs_text_en" dbtype="mediumtext" phptype="string" />
<field key="downloads_text_de" dbtype="mediumtext" phptype="string" />
<field key="downloads_text_en" dbtype="mediumtext" phptype="string" />
<field key="content_de" dbtype="mediumtext" phptype="string" />
<field key="content_en" dbtype="mediumtext" phptype="string" />
<field key="options_de" dbtype="mediumtext" phptype="string" />
<field key="options_en" dbtype="mediumtext" phptype="string" />
<field key="snippet_image" dbtype="varchar" precision="255" phptype="string" null="false" default="" />
<field key="header_image" dbtype="varchar" precision="255" phptype="string" null="false" default="" />
<field key="category" dbtype="int" precision="255" phptype="integer" null="false" default="0" />
<field key="published" dbtype="int" precision="1" attributes="unsigned" phptype="integer" null="false" default="0" />
<field key="pos" dbtype="int" precision="10" attributes="unsigned" phptype="integer" null="false" default="0" />
<aggregate alias="Category" class="MeCatalog\Model\MeCatalogProductCategory" local="category" foreign="id" cardinality="one" owner="foreign" />
<composite alias="Files" class="MeCatalog\Model\MeCatalogFile" local="id" foreign="resource_id" cardinality="many" owner="local" />
<index alias="title_de" name="title_de" primary="false" unique="false" type="BTREE">
<column key="title_de" length="" collation="A" null="false" />
</index>
<index alias="title_en" name="title_en" primary="false" unique="false" type="BTREE">
<column key="title_en" length="" collation="A" null="false" />
</index>
<index alias="pos" name="pos" primary="false" unique="false" type="BTREE">
<column key="pos" length="" collation="A" null="false" />
</index>
</object>
<object class="MeCatalogProductCategory" table="mecatalog_product_categories" extends="xPDO\Om\xPDOSimpleObject" >
<field key="title_de" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="title_en" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="subtitle_de" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="subtitle_en" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="alias_de" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="alias_en" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="description_de" dbtype="mediumtext" phptype="string" null="false" default="" />
<field key="description_en" dbtype="mediumtext" phptype="string" null="false" default="" />
<field key="snippet_text_de" dbtype="text" phptype="string" />
<field key="snippet_text_en" dbtype="text" phptype="string" />
<field key="intro_de" dbtype="mediumtext" phptype="string" null="false" default="" />
<field key="intro_en" dbtype="mediumtext" phptype="string" null="false" default="" />
<field key="content_de" dbtype="mediumtext" phptype="string" null="false" default="" />
<field key="content_en" dbtype="mediumtext" phptype="string" null="false" default="" />
<field key="color" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="snippet_image" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="pos" dbtype="int" precision="10" attributes="unsigned" phptype="integer" null="false" default="0" />
<composite alias="Products" class="MeCatalog\Model\MeCatalogProduct" local="id" foreign="category" cardinality="many" owner="local" />
<index alias="title_de" name="title_de" primary="false" unique="false" type="BTREE">
<column key="title_de" length="" collation="A" null="false" />
</index>
<index alias="title_en" name="title_en" primary="false" unique="false" type="BTREE">
<column key="title_en" length="" collation="A" null="false" />
</index>
<index alias="pos" name="pos" primary="false" unique="false" type="BTREE">
<column key="pos" length="" collation="A" null="false" />
</index>
</object>
<object class="MeCatalogFile" table="mecatalog_files" extends="xPDO\Om\xPDOSimpleObject" >
<field key="title_de" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="title_en" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="alias_de" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="alias_en" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="mediasource_id" dbtype="int" precision="11" phptype="integer" null="false" default="0" />
<field key="file_de" dbtype="varchar" precision="255" phptype="string" null="false" default="" />
<field key="file_en" dbtype="varchar" precision="255" phptype="string" null="false" default="" />
<field key="extended_de" dbtype="text" phptype="json" null="false" default="JSON_OBJECT()" />
<field key="extended_en" dbtype="text" phptype="json" null="false" default="JSON_OBJECT()" />
<field key="resource_id" dbtype="int" precision="11" phptype="integer" null="false" default="0" />
<field key="file_category" dbtype="int" precision="255" phptype="integer" null="false" default="0" />
<field key="published" dbtype="int" precision="1" attributes="unsigned" phptype="integer" null="false" default="0" />
<field key="pos" dbtype="int" precision="10" attributes="unsigned" phptype="integer" null="false" default="0" />
<aggregate alias="Product" class="MeCatalog\Model\MeCatalogProduct" local="resource_id" foreign="id" cardinality="one" owner="foreign" />
<aggregate alias="FileCategory" class="MeCatalog\Model\MeCatalogFileCategory" local="file_category" foreign="id" cardinality="one" owner="foreign" />
<index alias="resource_id" name="resource_id" primary="false" unique="false" type="BTREE">
<column key="resource_id" length="" collation="A" null="false" />
</index>
<index alias="title_de" name="title_de" primary="false" unique="false" type="BTREE">
<column key="title_de" length="" collation="A" null="false" />
</index>
<index alias="title_en" name="title_en" primary="false" unique="false" type="BTREE">
<column key="title_en" length="" collation="A" null="false" />
</index>
<index alias="pos" name="pos" primary="false" unique="false" type="BTREE">
<column key="pos" length="" collation="A" null="false" />
</index>
</object>
<object class="MeCatalogFileCategory" table="mecatalog_file_categories" extends="xPDO\Om\xPDOSimpleObject" >
<field key="title_de" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="title_en" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="alias_de" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="alias_en" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="pos" dbtype="int" precision="10" attributes="unsigned" phptype="integer" null="false" default="0" />
<composite alias="Files" class="MeCatalog\Model\MeCatalogFile" local="id" foreign="file_category" cardinality="many" owner="local" />
<index alias="title_de" name="title_de" primary="false" unique="false" type="BTREE">
<column key="title_de" length="" collation="A" null="false" />
</index>
<index alias="title_en" name="title_en" primary="false" unique="false" type="BTREE">
<column key="title_en" length="" collation="A" null="false" />
</index>
<index alias="pos" name="pos" primary="false" unique="false" type="BTREE">
<column key="pos" length="" collation="A" null="false" />
</index>
</object>
<object class="MeCatalogImageGallery" table="mecatalog_image_gallery" extends="xPDO\Om\xPDOSimpleObject" >
<field key="title_de" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="title_en" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="description_de" dbtype="text" phptype="string" index="fulltext" />
<field key="description_en" dbtype="text" phptype="string" index="fulltext" />
<field key="resource_id" dbtype="int" precision="11" phptype="integer" null="false" default="0" />
<field key="mediasource_id" dbtype="int" precision="11" phptype="integer" null="false" default="0" />
<field key="image" dbtype="varchar" precision="255" phptype="string" null="false" default="" />
<field key="extended" dbtype="text" phptype="json" null="false" default="JSON_OBJECT()" />
<field key="published" dbtype="tinyint" precision="1" attributes="unsigned" phptype="integer" null="false" default="0" />
<field key="deleted" dbtype="tinyint" precision="1" attributes="unsigned" phptype="integer" null="false" default="0" />
<field key="pos" dbtype="int" precision="10" phptype="integer" null="false" default="0" />
<aggregate alias="Product" class="MeCatalog\Model\MeCatalogProduct" local="resource_id" foreign="id" cardinality="one" owner="foreign" />
<index alias="pos" name="pos" primary="false" unique="false" type="BTREE">
<column key="pos" length="" collation="A" null="false" />
</index>
</object>
<object class="MeCatalogDealer" table="mecatalog_dealers" extends="xPDO\Om\xPDOSimpleObject" >
<field key="title" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="description_de" dbtype="text" phptype="string" index="fulltext" />
<field key="description_en" dbtype="text" phptype="string" index="fulltext" />
<field key="image" dbtype="varchar" precision="255" phptype="string" null="false" default="" />
<field key="extended" dbtype="text" phptype="json" null="false" default="JSON_OBJECT()" />
<field key="country_id" dbtype="int" precision="11" phptype="integer" null="false" default="0" />
<field key="zip" dbtype="varchar" precision="10" phptype="string" null="false" default=""/>
<field key="city_de" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="city_en" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="address_de" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="address_en" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="phone" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="email" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="website" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="published" dbtype="tinyint" precision="1" attributes="unsigned" phptype="integer" null="false" default="0" />
<field key="pos" dbtype="int" precision="10" phptype="integer" null="false" default="0" />
<aggregate alias="Country" class="MeCatalog\Model\MeCatalogCountry" local="country_id" foreign="id" cardinality="one" owner="foreign" />
<index alias="pos" name="pos" primary="false" unique="false" type="BTREE">
<column key="pos" length="" collation="A" null="false" />
</index>
</object>
<object class="MeCatalogCountry" table="mecatalog_countries" extends="xPDO\Om\xPDOSimpleObject" >
<field key="title_de" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="title_en" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<composite alias="Dealer" class="MeCatalog\Model\MeCatalogDealer" local="id" foreign="country_id" cardinality="many" owner="local" />
</object>
<object class="MeCatalogVeneer" table="mecatalog_veneers" extends="xPDO\Om\xPDOSimpleObject" >
<field key="title_de" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="title_en" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="description_de" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="description_en" dbtype="varchar" precision="255" phptype="string" null="false" default="" index="index" />
<field key="image" dbtype="varchar" precision="255" phptype="string" null="false" default=""/>
<field key="pos" dbtype="int" precision="10" attributes="unsigned" phptype="integer" null="false" default="0" />
<field key="published" dbtype="tinyint" precision="1" attributes="unsigned" phptype="integer" null="false" default="0" />
</object>
</model>