CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • QuickForm Error
Pages: [1]

Author Topic: QuickForm Error  (Read 2848 times)

NorCal

  • Guest
QuickForm Error
July 22, 2010, 02:21:06 pm
I've installed / removed / re-installed in Joomla 1.5.18 several times.  Have the proper php, mysql.  I get the component installed in Joomla.  When I go to configure though I always get either an error related to QuickForm or I go to enter some data on something that doesn't give an error but after I save, none of my changes stick.

Had a similar issue last year when trying to install an earlier version.

Any ideas?  Very frustrating.  3.1.6

thanks
Paul

This DOES exist but one of the errors I get below when I go to the Config Checklist and click Localization:
administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/advmultiselect.php

 
Code: [Select]
> Sorry. A non-recoverable error has occurred.
>
> QuickForm Error: unregistered element
>
> Return to home page.
>
> Error Details:
>
>
> Array
> (
> [callback] => Array
> (
> [0] => CRM_Core_Error
> [1] => handle
> )
>
> [code] => -5
> [message] => QuickForm Error: unregistered element
> [mode] => 16
> [debug_info] => Element 'advmultiselect' does not exist in HTML_QuickForm::_loadElement()
> [type] => HTML_QuickForm_Error
> [user_info] => Element 'advmultiselect' does not exist in HTML_QuickForm::_loadElement()
> [to_string] => [html_quickform_error: message="unregistered element" code=-5 mode=callback callback=CRM_Core_Error::handle prefix="QuickForm Error: " info="Element 'advmultiselect' does not exist in HTML_QuickForm::_loadElement()"]
> )
[/code]

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: QuickForm Error
July 22, 2010, 07:19:47 pm

skimmed thru the code and if i had to guess, i suspect its a PHP / system issue (though not sure what)

your best bet would be to go in and debug the code at: HTML/QuickForm.php, function _loadElement

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

NorCal

  • Guest
Re: QuickForm Error
July 22, 2010, 08:58:50 pm
lobo,
I've had our server admin look at it and he had a couple other guys look at it. Nobody can figure it out.  Got a similar error for ckeditor and a copy of the array in the QuickForm.php:

Code: [Select]
Error Details:

Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -5
    [message] => QuickForm Error: unregistered element
    [mode] => 16
    [debug_info] => Element 'ckeditor' does not exist in HTML_QuickForm::_loadElement()
    [type] => HTML_QuickForm_Error
    [user_info] => Element 'ckeditor' does not exist in HTML_QuickForm::_loadElement()
    [to_string] => [html_quickform_error: message="unregistered element" code=-5 mode=callback callback=CRM_Core_Error::handle prefix="QuickForm Error: " info="Element 'ckeditor' does not exist in HTML_QuickForm::_loadElement()"]
)
Code: [Select]
$GLOBALS['HTML_QUICKFORM_ELEMENT_TYPES'] =
        array(
            'group'          =>array('HTML/QuickForm/group.php','HTML_QuickForm_group'),
            'hidden'         =>array('HTML/QuickForm/hidden.php','HTML_QuickForm_hidden'),
            'reset'          =>array('HTML/QuickForm/reset.php','HTML_QuickForm_reset'),
            'checkbox'       =>array('HTML/QuickForm/checkbox.php','HTML_QuickForm_checkbox'),
            'file'           =>array('HTML/QuickForm/file.php','HTML_QuickForm_file'),
            'image'          =>array('HTML/QuickForm/image.php','HTML_QuickForm_image'),
            'password'       =>array('HTML/QuickForm/password.php','HTML_QuickForm_password'),
            'radio'          =>array('HTML/QuickForm/radio.php','HTML_QuickForm_radio'),
            'button'         =>array('HTML/QuickForm/button.php','HTML_QuickForm_button'),
            'submit'         =>array('HTML/QuickForm/submit.php','HTML_QuickForm_submit'),
            'select'         =>array('HTML/QuickForm/select.php','HTML_QuickForm_select'),
            'hiddenselect'   =>array('HTML/QuickForm/hiddenselect.php','HTML_QuickForm_hiddenselect'),
            'text'           =>array('HTML/QuickForm/text.php','HTML_QuickForm_text'),
            'textarea'       =>array('HTML/QuickForm/textarea.php','HTML_QuickForm_textarea'),
            'ckeditor'       =>array('HTML/QuickForm/ckeditor.php','HTML_QuickForm_CKEditor'),
            'tinymce'        =>array('HTML/QuickForm/tinymce.php','HTML_QuickForm_TinyMCE'),
            'link'           =>array('HTML/QuickForm/link.php','HTML_QuickForm_link'),
            'advcheckbox'    =>array('HTML/QuickForm/advcheckbox.php','HTML_QuickForm_advcheckbox'),
            'date'           =>array('HTML/QuickForm/date.php','HTML_QuickForm_date'),
            'static'         =>array('HTML/QuickForm/static.php','HTML_QuickForm_static'),
            'header'         =>array('HTML/QuickForm/header.php', 'HTML_QuickForm_header'),
            'html'           =>array('HTML/QuickForm/html.php', 'HTML_QuickForm_html'),
            'hierselect'     =>array('HTML/QuickForm/hierselect.php', 'HTML_QuickForm_hierselect'),
            'autocomplete'   =>array('HTML/QuickForm/autocomplete.php', 'HTML_QuickForm_autocomplete'),
            'xbutton'        =>array('HTML/QuickForm/xbutton.php','HTML_QuickForm_xbutton'),
            'advmultiselect' =>array('HTML/QuickForm/advmultiselect.php','HTML_QuickForm_advmultiselect'),
        );
[/code]

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: QuickForm Error
July 22, 2010, 09:01:21 pm

your best bet is to hire someone from http://civicrm.org/professional/ to take a look and figure out whats happening and why

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

NorCal

  • Guest
Re: QuickForm Error
July 22, 2010, 09:05:05 pm
If I could afford to do that I would have already. That's why I'm in this forum.

SevenRainDrops

  • Guest
Re: QuickForm Error
July 25, 2010, 08:43:37 am
Hi there

I'm new to CiviCRM. I just installed it, and encountered the same type of error as described in the beginning of this thread (see PS below).

Any hint most welcome.

Eric

PS —
Sorry. A non-recoverable error has occurred.
QuickForm Error: unknown error

Return to home page.

Error Details:

Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
Code: [Select]
=> -1
    [message] => QuickForm Error: unknown error
    [mode] => 16
    [debug_info] => Form rule callback returned invalid value in HTML_QuickForm::validate()
    [type] => HTML_QuickForm_Error
    [user_info] => Form rule callback returned invalid value in HTML_QuickForm::validate()
    [to_string] => [html_quickform_error: message="unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="QuickForm Error: " info="Form rule callback returned invalid value in HTML_QuickForm::validate()"]
)

NorCal

  • Guest
Re: QuickForm Error
July 25, 2010, 07:16:30 pm
If you get any insights please let me know.  I went through this forum as well as the drupal forum where people were reporting similar with the drupal install.  A lot of those cases were resolved when they downgraded from php 5.3 (not supported by CiviCRM).  This did not help me but I see on your profile that you are running php 5.3 so if you go to say 5.2.13 like I am running maybe that will help you out.

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Re: QuickForm Error
April 06, 2011, 04:24:25 am
I had the exact issue.
This got fixed when I moved back from php5.3 to php 5.2

The problem occured when I migrated my backed up data from ubuntu 10.04(php5.2) to ubuntu 10.10 64bit (php5.2)

To resolved this I used script on the link[ this forum does not allow me to post a link. so search  google for ubuntuforums org showthread 1459163 ]
 You will have to make the script executable.  This script was written by Ruben Barkow .

Please read the script and understand what it does. Even if  you do understand what this does, please have a backup files on a different filesystem

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • QuickForm Error

This forum was archived on 2017-11-26.