typo3 formhandler错误tx_formhandler_log

时间:2014-07-13 09:28:35

标签: forms typo3

我尝试实现一个创建tt_addressrecord的新表单。但每当我提交表单时,它都会显示表tx_formhandler_log不存在的错误。但我使用标准。在这里我的形式是:

plugin.Tx_Formhandler.settings.predef.newsletter {

    disableWrapInBaseClass = 1

    # Common configuration
    debug = 1
    name = Newsletter
    addErrorAnchors = 1
    1.templateFile = TEXT
    1.templateFile.value = typo3conf/templates/main/plugins/formhandler/newsletter.form.html
    langFile.1 = typo3conf/templates/main/plugins/formhandler/locallang.xml
    formValuesPrefix = notifiers
    disableWrapInBaseClass = 1
    isErrorMarker.default = error
    isErrorMarker {
        global = error
    }
    errorListTemplate {
        totalWrap >
        singleWrap = <p> | </p>
    }



    finishers {
        1.class = Tx_Finisher_DB
        1.config {
            table = tt_address
            key = uid
            fields {
                email.mapping = email
                email.ifIsEmpty = 1
                pid.ifIsEmpty = 109
                hidden.ifIsEmpty = 1
                module_sys_dmail_html.ifIsEmpty = 1
            }
        }
        2.class = Tx_Formhandler_Finisher_Mail
        2.config {
            checkBinaryCrLf = message
            admin {
                templateFile = TEXT
                templateFile.value = typo3conf/templates/main/plugins/formhandler/newsletter.email.admin.html
                sender_email = email
                to_email = {newsletter.mail.address.admin}
                replyto_email = email
                replyto_name = email
                subject = TEXT
                subject.value = {newsletter.subject.admin}
            }
        }
        3.class = Finisher_Redirect
        3.config {
            redirectPage = 1
            additionalParams {
                success = 1
            }
        }
    }
}

1 个答案:

答案 0 :(得分:0)

数据库比较可能对您的问题有所帮助:

转到安装工具 - &gt;重要操作,然后点击Database Compare。这会将您当前的数据库与配置文件进行比较,您可以自动修复缺少的表或字段。

在较旧的TYPO3版本(&lt; 6.2)中,您可以在安装工具的菜单项Database Analyzer中找到它。

相关问题