ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

My Safecracker/Matrix form won't submit

February 04, 2013 11:29am

Subscribe [1]
  • #1 / Feb 04, 2013 11:29am

    Hi people, I have this template:

    {embed='includes/header'}
    <h1>Welcome and lets get started!</h1>
    <strong>Please fill in all of the boxes below and simply click the submit button. Once approved we will add your project to the gallery.</strong>
    <div class="add-gallery-form">
    {exp:safecracker channel="galleries" return="/add-gallery-thankyou" logged_out_member_id="2"}
    {field:gallery}
     <label>Gallery title:</label>
     <input name="title" class="input" type="text"><br >
     <label>Gallery description:</label>
     <input name="gallery_description" class="input" type="text"><br >
     <label>Email:</label>
     <input name="uploader_email" class="input" type="text"><br >
     <label>Telephone:</label>
     <input name="uploader_telephone" class="input" type="text"><br >
     <input type="submit" value="Submit" />
    {/exp:safecracker}
    </div><!-- .add-gallery-form -->
    {embed='includes/footer'}

    When I submit the form, I get:

    The form you submitted contained the following errors

    You are not authorized to perform this action
    You are not authorized to perform this action

    Is there something wrong in my template? Thanks in advance for the help.

  • #2 / Feb 04, 2013 11:48am

    The plot thickens… on the .co.uk domain I get the problem, but on the .com domain the form submits successfully. The .com also works for the page to view galleries (except the image src attribute is empty) while the .co.uk view galleries page outputs:

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined index: path

    Filename: file/ft.file.php

    Line Number: 261

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined index: filename

    Filename: file/ft.file.php

    Line Number: 227

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined index: path

    Filename: file/ft.file.php

    Line Number: 261

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined index: filename

    Filename: file/ft.file.php

    Line Number: 227

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined index: path

    Filename: file/ft.file.php

    Line Number: 261

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined index: filename

    Filename: file/ft.file.php

    Line Number: 227

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined index: path

    Filename: file/ft.file.php

    Line Number: 261

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined index: filename

    Filename: file/ft.file.php

    Line Number: 227

    A PHP Error was encountered

    Severity: Warning

    Message: mkdir(): No such file or directory

    Filename: ed_imageresizer/pi.ed_imageresizer.php

    Line Number: 139

    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at /homepages/45/d115823226/htdocs/systematicee/codeigniter/system/core/Exceptions.php:170)

    Filename: core/Common.php

    Line Number: 408

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases