[Frage] Fehler in wt_directory und powermail TYPO3-Version: 4.7.17

  • patricks patricks
    Sternenflotten-Admiral
    0 x
    206 Beiträge
    1 Hilfreiche Beiträge
    11. 04. 2014, 15:48

    Hallo zusammen,

    ich bin gerade dabei im Entwicklungs-Workspace unsere Seite umzubauen. Jetzt habe ich gerade beim testen der Händlersuche (wt_directory) und der Kontaktformulare (powermail) festgestellt, dass beim Absenden der Formulare ein Fehler auftritt der mir leider garnichts sagt:

    Fatal error: Uncaught exception 'Exception' with message 'POST requests are incompatible with keyword preview.' in ... /htdocs/website/typo3_src-4.7.17/typo3/sysext/version/Classes/Preview.php:223 Stack trace:
    #0 ... /htdocs/website/typo3_src-4.7.17/typo3/sysext/version/Classes/Preview.php(64): Tx_Version_Preview->getPreviewConfiguration()
    #1 [internal function]: Tx_Version_Preview->checkForPreview(Array, Object(tslib_fe))
    #2 ... /htdocs/website/typo3_src-4.7.17/t3lib/class.t3lib_div.php(4668): call_user_func_array(Array, Array)
    #3 ... /htdocs/website/typo3_src-4.7.17/typo3/sysext/cms/tslib/class.tslib_fe.php(389): t3lib_div::callUserFunction('EXT:version/Cla...', Array, Object(tslib_fe))
    #4 ... /htdocs/website/typo3_src-4.7.17/typo3/sysext/cms/tslib/index_ts.php(185): tslib_fe->connectToDB()
    #5 ... /htdocs/website/typo3_src-4.7.17/index.php(76): require('/homepages/2/d1...')
    #6 {main} thrown in ... /htdocs/website/typo3_src-4.7.17/typo3/sysext/version/Classes/Preview.php on line 223

    Ich habe auch gerade eine eigene Extension geschrieben, diese läuft aber auf anderen Seiten und hat eigentlich nichts mit den anderen beiden Extensions zu tun.

    Hoffe jemand kann mir helfen.


  • 1
  • patricks patricks
    Sternenflotten-Admiral
    0 x
    206 Beiträge
    1 Hilfreiche Beiträge
    11. 04. 2014, 16:00

    Habs glaube ich gerade selber gefunden:

    Unable to submit mailform in workspace preview
    Error: POST requests are incompatible with keyword preview

    Cause: Mailforms cannot be used in workspace previews. The form will display, but a person using the workspace preview to look at the form will not be able to submit the form.
    This restriction is in place to increase security.

    Solution: A possible workaround is to

    Edit the page that contains the form and set it to hidden in menu
    Publish the page, the form, and the jump-to page
    Send a link to the page to the person with whom you want to share the form

  • 1