Page 1 of 1

Formbuilder problem

Posted: Mon Jan 25, 2021 6:09 pm
by pschoenb
Hello,

although I did not change anything, my contact form created with FormBuilder stopped working because of a captcha exception:

Code: Select all

[Mon Jan 25 18:32:35.466789 2021] [proxy_fcgi:error] [pid 2076993:tid 140595849074432] 
[client 87.140.85.27:7895] AH01071: Got error 'PHP message: PHP Warning:  count(): Parameter must be an array or an object that implements 
Countable in /var/www/vhosts/<host>/klangexzellenz.de/modules/Captcha/plugins/phpcaptcha/lib/php-captcha.inc.php on line 282PHP 
message: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/<host>/klangexzellenz.de/modules/Captcha/plugins/phpcaptcha/lib/php-captcha.inc.php on line 282PHP message: PHP Warning:  count(): 
Parameter must be an array or an object that implements Countable in /var/www/vhosts/<host>/klangexzellenz.de/modules/Captcha/plugins/phpcaptcha/lib/php-captcha.inc.php on line 282PHP message: PHP Warning:  count(): Parameter must be an array or an object that 
implements Countable in /var/www/vhosts/<host>/klangexzellenz.de/modules/Captcha/plugins/phpcaptcha/lib/php-captcha.inc.php on line 
282PHP message: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/<host>
/klangexzellenz.de/modules/Captcha/plugins/phpcaptcha/lib/php-captcha.inc.php on line 282', referer: https://www.klangexzellenz.de/deutsch/kontakt.html
How to get this working again?

Re: Formbuilder problem

Posted: Mon Jan 25, 2021 6:47 pm
by DIGI3
These are only warnings and can be suppressed in your error reporting level. If the form stopped working then it's likely something else.
Does the form work if you disable captcha?
What does "stopped working" actually mean?

Re: Formbuilder problem

Posted: Mon Jan 25, 2021 6:51 pm
by pschoenb
DIGI3 wrote: Mon Jan 25, 2021 6:47 pm What does "stopped working" actually mean?
Instead of sending, I get an error message stating that there has been an error proceesing the form. No details are shown, though.

Re: Formbuilder problem

Posted: Mon Jan 25, 2021 7:26 pm
by pschoenb
DIGI3 wrote: Mon Jan 25, 2021 6:47 pm Does the form work if you disable captcha?
No. I get "Bei der Verarbeitung des versandten Formulars ist ein Fehler aufgetreten."

Re: Formbuilder problem

Posted: Mon Jan 25, 2021 7:33 pm
by DIGI3
You didn't provide much info, but are you using the latest version of CMSMS and FormBuilder?

You'll probably need to do some troubleshooting. What has changed - did the host upgrade PHP perhaps?
What about using a default form, does that work?
Different browser? Incognito mode?

Re: Formbuilder problem

Posted: Mon Jan 25, 2021 7:41 pm
by pschoenb
DIGI3 wrote: Mon Jan 25, 2021 7:33 pm You didn't provide much info, but are you using the latest version of CMSMS and FormBuilder?

You'll probably need to do some troubleshooting. What has changed - did the host upgrade PHP perhaps?
Different browser? Incognito mode?
None of it.

My info:

Code: Select all



----------------------------------------------

Cms Version: 2.2.15

Installed Modules:

    AceEditor2: 1.05
    AceSyntax: 1.0.1
    AdminSearch: 1.0.5
    AdvancedContent: 0.9.4.3
    AjaxMadeSimple: 0.4.0
    Album: 1.10.3
    Antz: 1.0.2
    Archiver: 0.2.6
    Availability: 1.8.1
    Banners: 2.10
    Blogs: 0.3.3.1
    Bookmarks: 2.1
    CGEcommerceBase: 1.8.10
    CGExtensions: 1.65.2
    CGFeedback: 2.2.1
    CGPaymentGatewayBase: 1.6.2
    CGSimpleSmarty: 2.2.1
    CMSContentManager: 1.1.9
    CMSMailer: 6.2.14
    CMSSimplepie: 1.0
    Calendar: 0.8.2
    Captcha: 1.0
    Cart: 1.10.1
    CmsJobManager: 0.1.3
    ContentAliases: 1.0
    CustomContent: 1.10
    DecisionTree: 0.2.12
    DesignManager: 1.1.9
    DewPlayer: 0.2.1
    DownCnt: 2.5.0
    Download: 0.3b
    DownloadManager: 1.5.3
    EditArea: 0.2.9
    EnhancedXSPF: 0.5.2
    FLVPlayer: 1.0.3
    FileManager: 1.6.12
    FilePicker: 1.0.5
    FormBrowser: 0.5
    FormBuilder: 1.1
    FrontEndUsers: 3.2.2
    JQueryTools: 1.4.2
    MenuManager: 1.50.3
    MicroTiny: 2.2.5
    ModuleManager: 2.1.8
    Navigator: 1.0.9
    News: 2.51.11
    OpenSSL: 0.3
    Orders: 1.23.7
    PageBlocks: 0.1.5
    PayPalButtonMaker: 0.6
    PaypalGateway: 2.6.1
    Piwik: 1.0.1
    Printing: 1.1.2
    Products: 2.28.7
    Promotions: 1.3.2
    RateThis: 1.0
    Revisions: 1.0-Beta2
    SEOTools2: 1.2.1
    ScriptDeploy: 0.8.1
    Search: 1.52
    SelfRegistration: 1.14.6
    SiteUtilities: 0.1
    Statistics: 1.2.1.2
    TNMS: 1.1.7
    TemplateExternalizer: 2.1.6
    TemplateManager: 0.2
    ThemeManager: 1.1.8
    Thumbnails: 0.1.1
    TinyMCE: 3.3.2
    ToolBox: 1.3.11
    Uploads: 1.26.2
    XMLMadeSimple: 0.0.6
    Xinha: 0.2.0
    avplayer: 1.3.2
    babel: 0.4.1
    relatives: 0.2
    touchInlineEdit: 1.7
    touchInlineEdit: 1.8.1


Config Information:

    php_memory_limit:
    max_upload_size: 128000000
    url_rewriting: mod_rewrite
    page_extension: .html
    query_var: page
    auto_alias_content: true
    locale: de_DE.UTF-8
    set_names: true
    timezone: Europe/Berlin
    permissive_smarty: false


Php Information:

    phpversion: 7.3.25
    md5_function: An (Ja)
    json_function: An (Ja)
    gd_version: 2
    tempnam_function: An (Ja)
    magic_quotes_runtime: Aus (Nein)
    E_ALL: 22519
    E_STRICT: 0
    E_DEPRECATED: 0
    test_file_timedifference: No time difference found
    test_db_timedifference: No time difference found
    create_dir_and_file: 1
    memory_limit: 768M
    max_execution_time: 900
    register_globals: Aus (Nein)
    output_buffering: 4096
    disable_functions: opcache_get_status
    open_basedir:
    test_remote_url: Erfolgreich abgeschlossen
    file_uploads: An (Ja)
    post_max_size: 128M
    upload_max_filesize: 128M
    session_save_path: /tmp (0700)
    session_use_cookies: An (Ja)
    xml_function: An (Ja)
    xmlreader_class: An (Ja)
    check_ini_set: An (Ja)
    curl: An


Performance Information:

    allow_browser_cache: Aus (Nein)
    browser_cache_expiry: 60
    php_opcache: An (Ja)
    smarty_cache: Aus (Nein)
    smarty_compilecheck: Aus (Nein)
    auto_clear_cache_age: An (Ja)

Server Information:

    Server Software: Apache
    Server Api: fpm-fcgi
    Server Os: Linux 3.10.0-962.3.2.lve1.5.38.el7.x86_64 An x86_64
    Server Db Type: MySQL (mysqli)
    Server Db Version: 5.7.32
    Server Db Grants: „Alles gewähren“-Anweisung gefunden, die als geeignet scheint


Permission Information:

    tmp: /var/www/vhosts/h95746.web170.dogado.net/klangexzellenz.de//tmp (0755)
    tmp_cache: /var/www/vhosts/h95746.web170.dogado.net/klangexzellenz.de//tmp/cache (0755)
    templates_c: /var/www/vhosts/h95746.web170.dogado.net/klangexzellenz.de//tmp/templates_c (0755)
    modules: /var/www/vhosts/h95746.web170.dogado.net/klangexzellenz.de//modules (0755)
    uploads: /var/www/vhosts/h95746.web170.dogado.net/klangexzellenz.de/uploads (0755)
    Maske zum Erstellen von Dateien (umask): /var/www/vhosts/h95746.web170.dogado.net/klangexzellenz.de//tmp/cache (0755)
    config_file: 0444

----------------------------------------------

Re: Formbuilder problem

Posted: Tue Jan 26, 2021 2:39 am
by pschoenb
Problem solved. My email configuration was wrong.