We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16861 ☆ A M B ☆
    • 86 Posts
    I have installed Formz 1.0 rc2 on two different sites. Both sites are on MODXCloud and v 2.2.5. After installation and clearing cache, I get the blank page. Very weird.

    Anyone else experience this or know what might be causing this? No error in the log.
      Lee Brinckley
      Manassas, VA (Washington DC)
      Twitter - @leebrinckley
      http://www.leebrinckley.com
      • 16861 ☆ A M B ☆
      • 86 Posts
      Even tho' the site is blank, I tried to create a form and it gave a pop-up error when I tried to save it. In the error log:


       [2013-04-01 10:57:58] (ERROR @ /assets/components/formz/connector.php) Error 42S22 executing statement: 
      Array
      (
          [0] => 42S22
          [1] => 1054
          [2] => Unknown column 'fmzForms.hooks' in 'field list'
      )
      
      [2013-04-01 10:58:24] (ERROR @ /assets/components/formz/connector.php) Error 42S22 executing statement:
      INSERT INTO `modx_formz_forms` (`name`, `method`, `email`, `success_message`, `identifier`, `hooks`, `action_button`, `properties`, `createdon`, `createdby`, `editedby`) VALUES ('Lee Test', 'database_email', '****.com', 'This is a test.', '', '', '', '', '2013-04-01 10:58:24', 7, 0)
      Array
      (
          [0] => 42S22
          [1] => 1054
          [2] => Unknown column 'hooks' in 'field list'
      )
      
      [2013-04-01 11:05:03] (ERROR @ /assets/components/formz/connector.php) Error 42S22 executing statement:
      INSERT INTO `modx_formz_forms` (`name`, `method`, `email`, `success_message`, `identifier`, `hooks`, `action_button`, `properties`, `createdon`, `createdby`, `editedby`) VALUES ('Lee Test', 'database_email', '****.com', 'This is a test.', '', '', '', '', '2013-04-01 11:05:03', 7, 0)
      Array
      (
          [0] => 42S22
          [1] => 1054
          [2] => Unknown column 'hooks' in 'field list'
      )
      
        Lee Brinckley
        Manassas, VA (Washington DC)
        Twitter - @leebrinckley
        http://www.leebrinckley.com
        • 8386 ☆ A M B ☆
        • 160 Posts
        Something seems wrong with the db creation script for you, can you try hitting the reinstall button in Manager and see if this creates the fields in the table.
          • 16861 ☆ A M B ☆
          • 86 Posts
          I did try a re-install and it did not work. Is it just the "field list" that it is suppose to create?
            Lee Brinckley
            Manassas, VA (Washington DC)
            Twitter - @leebrinckley
            http://www.leebrinckley.com
            • 37105
            • 194 Posts
            Yep, you can try to add the missing field 'hooks' manually in your formz-table and see if extension is running fine.
              Codeplaza Webdesign: for professional websites at low cost
              • 16861 ☆ A M B ☆
              • 86 Posts
              I added 'hooks'. 'Properties' was also missing, so I added that. I can now create a form, but this does not fix the blank page and there are no errors in the error log. As soon as I remove Formz from pkg mgmt, I see my site. weird stuff. any ideas?
                Lee Brinckley
                Manassas, VA (Washington DC)
                Twitter - @leebrinckley
                http://www.leebrinckley.com
                • 37105
                • 194 Posts
                Did you install the needed extra's FormIt and FormItFastPack also? Could be important! Also check if you resources uses the correct template. Formz creates TV's and probably this is the section where it also did go wrong. Maybe you need to connect the TV created by Formz to your template.
                  Codeplaza Webdesign: for professional websites at low cost
                  • 16861 ☆ A M B ☆
                  • 86 Posts
                  Yes. FormIt and FormItFastPack are installed. What TV's does it create? the only TV is the one I created according to your instructions.
                    Lee Brinckley
                    Manassas, VA (Washington DC)
                    Twitter - @leebrinckley
                    http://www.leebrinckley.com
                    • 8386 ☆ A M B ☆
                    • 160 Posts
                    I can't really say what the issue is that's causing this. I have had others install it without any issues at all. I don't use SiphonLabs so I cannot test this either.
                      • 16861 ☆ A M B ☆
                      • 86 Posts
                      Quote from: easylancer at Apr 02, 2013, 06:00 AM
                      I can't really say what the issue is that's causing this. I have had others install it without any issues at all. I don't use SiphonLabs so I cannot test this either.

                      I have successfully installed the newest version on two sites. I made sure the sites were completely clean of ALL formz components including the TV that I created, flushed all permissions, cleared cache, re-installed, added missing columns and now it worked.

                      Not sure why it was giving me such a headache, but happy now smiley thanks for your help.
                        Lee Brinckley
                        Manassas, VA (Washington DC)
                        Twitter - @leebrinckley
                        http://www.leebrinckley.com