We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 50925
    • 5 Posts
    Hello, guys. I have a problem with MIGX. I see empty fields on Manager. I can add new values to my MIGX TV and I can output them on frontend. But I see nothing in Manager. What's going on? What should I do? Screenshot for example: http://itmages.ru/image/view/2897443/5e22ab8b

    Sorry for my english, i'm not native speaker smiley
      • 4172
      • 5,888 Posts
      what is your config of the MIGX-TV?
      Any errors in the console?
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 50925
        • 5 Posts
        Quote from: Bruno17 at Aug 17, 2015, 05:03 AM
        what is your config of the MIGX-TV?
        Any errors in the console?

        Thanks for answer. Where can I get MIGX-TV config?.. I have no idea. Using MIGX first time smiley
          • 4172
          • 5,888 Posts
          Your formtabs and columns of your MIGX-TV
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 50925
            • 5 Posts
            Quote from: Bruno17 at Aug 17, 2015, 05:21 AM
            Your formtabs and columns of your MIGX-TV

            Oh, sorry. Well, here it is:

            formtabs:

            [{"caption":"Контент", "fields": [
                {"field":"q","caption":"Вопрос","inputTVtype":"textarea"},
                {"field":"a","caption":"Ответ","inputTVtype":"textarea"}
              ]
            }]


            columns:

            [
            {"header": "Заголовок", "width": "50%", "sortable": "false", "dataIndex": "title"},
            {"header": "Описание", "width": "50%", "sortable": "false", "dataIndex": "value"}
            ]


            This config works well on another website. But this website is created by another guy. I just got his code.

            Few minutes ago I tried to reinstall MIGX, but got some errors with MySQL tables or something like this:

            create/upgrade tables
            Skipping /var/www/site/public_html/core/components/migx/model/migx/migxconfig.class.php; file already exists. Move existing class files to regenerate them.
            Skipping /var/www/site/public_html/core/components/migx/model/migx/mysql/migxconfig.class.php; file already exists. Move existing class files to regenerate them.
            Skipping /var/www/site/public_html/core/components/migx/model/migx/migxformtab.class.php; file already exists. Move existing class files to regenerate them.
            Skipping /var/www/site/public_html/core/components/migx/model/migx/mysql/migxformtab.class.php; file already exists. Move existing class files to regenerate them.
            Skipping /var/www/site/public_html/core/components/migx/model/migx/migxformtabfield.class.php; file already exists. Move existing class files to regenerate them.
            Skipping /var/www/site/public_html/core/components/migx/model/migx/mysql/migxformtabfield.class.php; file already exists. Move existing class files to regenerate them.
            Skipping /var/www/site/public_html/core/components/migx/model/migx/migxconfigelement.class.php; file already exists. Move existing class files to regenerate them.
            Skipping /var/www/site/public_html/core/components/migx/model/migx/mysql/migxconfigelement.class.php; file already exists. Move existing class files to regenerate them.
            Skipping /var/www/site/public_html/core/components/migx/model/migx/migxelement.class.php; file already exists. Move existing class files to regenerate them.
            Skipping /var/www/site/public_html/core/components/migx/model/migx/mysql/migxelement.class.php; file already exists. Move existing class files to regenerate them.
            Could not open or create file: /var/www/site/public_html/core/components/migx/model/migx/mysql/migxconfig.map.inc.php
            Could not open or create file: /var/www/site/public_html/core/components/migx/model/migx/mysql/migxformtab.map.inc.php
            Could not open or create file: /var/www/site/public_html/core/components/migx/model/migx/mysql/migxformtabfield.map.inc.php
            Could not open or create file: /var/www/site/public_html/core/components/migx/model/migx/mysql/migxconfigelement.map.inc.php
            Could not open or create file: /var/www/site/public_html/core/components/migx/model/migx/mysql/migxelement.map.inc.php
            tables upgraded
            Prepare menu for MODX Revolution 2.3.x


            May be I didnt saw it on first installation.

            I tried to create /var/www/site/public_html/core/components/migx/ directory manually and CHMOD it to 777. It is not helped. /var/www/site/public_html/core/components/ directory have 777 CHMOD too. [ed. note: a.anon last edited this post 11 years, 2 months ago.]
              • 4172
              • 5,888 Posts
              the fields are q and a

              so you will need

              [
              {"header": "Заголовок", "width": "50%", "sortable": "false", "dataIndex": "q"},
              {"header": "Описание", "width": "50%", "sortable": "false", "dataIndex": "a"}
              ]


              For getting the files created, did you try to have all folders from up to down (core/ components/ and migx/) CHMOD to 755
                -------------------------------

                you can buy me a beer, if you like MIGX

                http://webcmsolutions.de/migx.html

                Thanks!
                • 50925
                • 5 Posts
                Quote from: Bruno17 at Aug 17, 2015, 06:17 AM
                the fields are q and a

                so you will need

                [
                {"header": "Заголовок", "width": "50%", "sortable": "false", "dataIndex": "q"},
                {"header": "Описание", "width": "50%", "sortable": "false", "dataIndex": "a"}
                ]


                Oh my god. I'm blind idiot. Thank you very much! You really deserve a beer! smiley


                Quote from: Bruno17 at Aug 17, 2015, 06:17 AM
                For getting the files created, did you try to have all folders from up to down (core/ components/ and migx/) CHMOD to 755

                Actually I made "#chmod -R 777 *" in public_html directory. So all folders has 777 rights now. But it doesn't helps. What are those files for? I mean "migxconfig.map.inc.php", etc. Will your package works correctly without them?
                  • 4172
                  • 5,888 Posts
                  They are not needed for simple MIGX - TVs, but for MIGXdb - stuff.
                  But you will get errors in the error-log, if they are not there.

                  I've seen installations, where every folders had to be 755.
                  If they was 777, it didn't work for them.

                  Could it be owner-issues?
                  Is php running in cgi-mode?
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 50925
                    • 5 Posts
                    Quote from: Bruno17 at Aug 17, 2015, 06:43 AM
                    They are not needed for simple MIGX - TVs, but for MIGXdb - stuff.
                    But you will get errors in the error-log, if they are not there.

                    I've seen installations, where every folders had to be 755.
                    If they was 777, it didn't work for them.

                    Could it be owner-issues?
                    Is php running in cgi-mode?

                    Hm, never seen this before. 777 should works for any situations as I think. I'll try 755 a bit later.

                    Owner is correct and PHP is not in CGI-mode (it's installed as module for apache), so...

                    I'll post later with results. Thank you again!