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.

SAEF returns blank form

December 22, 2008 1:46pm

Subscribe [2]
  • #1 / Dec 22, 2008 1:46pm

    cshort

    59 posts

    I have an issue where an SAEF form is always returning to a blank form on both submit and preview.  I’ve gone through the forum and haven’t found anything that provides a solution so far…

    I’ve done the following in attempts to isolate:

    1) Removed the form from an embedded template into the primary template that was calling the embed.
    2) Turned off extensions related to SAEF.
    3) Used the example SAEF code with the return, preview and weblog parameters changed to the correct values.  This was done both in the existing template as well as creating a separate blank template.

    When attempting to use the form, there is a user logged in.  The user does have privs to post to the weblog.  The only thing in .htaccess is adding forcing www on the site and removing index.php from the URL.  The page is hosted on a site that’s using MSM and it’s not the primary site.

    Any suggestions on what I might have missed?

  • #2 / Dec 22, 2008 1:49pm

    Greg Aker

    6022 posts

    cshort:

    can you please look at this KB Entry so we can see about forcing php errors.

    Also, what version/build of EE are you running? (Found in the footer of the CP).

    -greg

  • #3 / Dec 22, 2008 1:57pm

    cshort

    59 posts

    cshort:

    can you please look at this KB Entry so we can see about forcing php errors.

    Also, what version/build of EE are you running? (Found in the footer of the CP).

    -greg

    Greg,

    It’s doesn’t report out any PHP errors, even with the the error reporting levels set as outlined in the KB entry.

    The site is running Version 1.6.6, Build: 20081114.

    EDIT: I’ll also emphasize that it’s a blank version of the SAEF, not a blank page that it’s returning.

    EDIT: Apache/1.3.39 (Unix) PHP/5.2.5

  • #4 / Dec 22, 2008 1:59pm

    Greg Aker

    6022 posts

    Okay.

    Are you sure the return=”“ parameter is set to an actual page in the saef opening tag?

    -greg

  • #5 / Dec 22, 2008 2:05pm

    cshort

    59 posts

    Okay.

    Are you sure the return=”“ parameter is set to an actual page in the saef opening tag?

    -greg

    Yes, return is set to another template within the same template group and preview is set to the template that contains the form itself (with the appropriate preview code in the template).

  • #6 / Dec 22, 2008 6:11pm

    Sue Crocker

    26054 posts

    If you attempt to add an entry as a SuperUser, does the same thing happen?

  • #7 / Dec 22, 2008 6:54pm

    cshort

    59 posts

    If you attempt to add an entry as a SuperUser, does the same thing happen?

    Yes, same thing.  Initially I was using the logmein plugin to do the form, but I’ve removed it in order to get this thing working.  I’ve attempted under both a “normal” user group created specifically to use this form and a Super Admin user.

    I’ve spent the majority of my day on this.  I’ve never seen this problem with a SAEF before or for that matter had a problem with creating one in the past.

    Is there anything in the MSM module that could be contributing to this issue?

  • #8 / Dec 22, 2008 7:17pm

    Sue Crocker

    26054 posts

    Which MSM site is the form on?

  • #9 / Dec 22, 2008 7:25pm

    cshort

    59 posts

    Which MSM site is the form on?

    Site ID 5, it’s 1 of 4 sites that I see on the install.

  • #10 / Dec 22, 2008 7:53pm

    Sue Crocker

    26054 posts

    Are the template and weblog also on site 5? They all need to match.

  • #11 / Dec 22, 2008 10:06pm

    cshort

    59 posts

    Are the template and weblog also on site 5? They all need to match.

    Yes, everything is on the same site.

  • #12 / Dec 22, 2008 10:58pm

    Lisa Wess

    20502 posts

    cshort, are you logged in on that domain?  Can you put this as the first lines in your template, outside of the form tags:

    In group {group_id}: {group_title}

    and let us know what it says, please?

  • #13 / Dec 22, 2008 11:07pm

    cshort

    59 posts

    cshort, are you logged in on that domain?  Can you put this as the first lines in your template, outside of the form tags:

    In group {group_id}: {group_title}

    and let us know what it says, please?

    When I’m using my Super Admin account is says

    In group 1: Super Admins


    When I’m using the account with the account that I need to use it says:

    In group 8: Advertisers

    I’ve done this type of debugging throughout the day.  The logins are valid, the users are in groups that have posting privs to the weblog.

  • #14 / Dec 22, 2008 11:15pm

    Lisa Wess

    20502 posts

    My apologies, I think I misunderstood the issue.  The form does show up, but returns do not work, is that correct?  Have you tried this with just the stock form directly out of the docs, but changing weblog= appropriately?

    Also, have you tried this with .htaccess out of the picture? I’m more concerned with the redirecting of www as I’ve seen that cause problems with comments and search in the past, both of which are forms similar to this.

  • #15 / Dec 22, 2008 11:43pm

    cshort

    59 posts

    My apologies, I think I misunderstood the issue.  The form does show up, but returns do not work, is that correct?  Have you tried this with just the stock form directly out of the docs, but changing weblog= appropriately?

    Also, have you tried this with .htaccess out of the picture? I’m more concerned with the redirecting of www as I’ve seen that cause problems with comments and search in the past, both of which are forms similar to this.

    Yes, the forms appear fine, but when I either submit or attempt to preview it simply reloads the blank form.

    Removing the www rewrite seems to have solved the issue, though I’m quite a bit surprised on that knowing how rewrites work.  Then again, I guess I shouldn’t be…  😊

    Thanks for your help!

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

ExpressionEngine News!

#eecms, #events, #releases