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.

File Upload in SAEF brings up CP Home

November 18, 2007 11:30am

Subscribe [2]
  • #16 / Nov 19, 2007 5:24pm

    Wolfram

    115 posts

    Details are on the way. Thanks!

  • #17 / Nov 19, 2007 5:34pm

    Lisa Wess

    20502 posts

    Ok, that helped clarify what is going on.  Can you create a totally blank template, and put *just* the form code for the SAEF in it?  From the docs that is.  Then see if the file upload works?

  • #18 / Nov 19, 2007 5:47pm

    Wolfram

    115 posts

    I´m sorry, it doesn´t. I tried Safari and Firefox. Should I pm you the address of the new form?
    Smileys don´t work either, by the way. -> also CP home pop-up.

  • #19 / Nov 19, 2007 5:54pm

    Lisa Wess

    20502 posts

    Ok, I can’t replicate this, and there are a few differences in our installations.  Can you try switching back to the default English language pack, as well as disabling any extension that might be installed, and see if that helps?

    Also, what version and build of EE are you on?

  • #20 / Nov 19, 2007 6:01pm

    Wolfram

    115 posts

    I´m using 1.6.0 (20070627), no extensions, plug-ins, etc., and the default is / was set tp english and utf-8.

  • #21 / Nov 19, 2007 6:04pm

    Sue Crocker

    26054 posts

    Wolfram, do you have your cookies set to cookies only or cookies/sessions?

    Make sure you’re using cookies for both settings in the control panel.

  • #22 / Nov 19, 2007 6:13pm

    Wolfram

    115 posts

    Hello Sue, both are set to cookies only (at least that´s what the pop-ups are saying). Can this be controlled in the db if I make a dump?
    (I guess you all know the solution but wanted to upgrade me from junior to member 😊

  • #23 / Nov 19, 2007 6:16pm

    Sue Crocker

    26054 posts

    What do you mean by controlled in the db if you make a dump?

  • #24 / Nov 19, 2007 6:21pm

    Wolfram

    115 posts

    Sorry for the confusion – I ment: can I control these settings in the db, just to make sure they are really there, not only in the EE admin. (I can´t imagine why this should/could be but you all keep saying having the wrong cookies setting here is the problem normally).

    Here´s what I found in the db: “user_session_type”;s💯“c”;s:18:“admin_session_type”;s💯“c”;s:21:” Is this correct?

  • #25 / Nov 19, 2007 6:50pm

    Sue Crocker

    26054 posts

    The settings have changed from inside the config.php file to be in the database instead.

    You can manually put in overrides into your config.php file.

    If you query for 151 in the EEWiki, you’ll see a list of config.php settings that were for an earlier version.

    You can add those if needed.

  • #26 / Nov 19, 2007 7:18pm

    Wolfram

    115 posts

    Sue,

    thanks, I found those 151 lines and added
    $conf[‘user_session_type’] = “c”;
    $conf[‘admin_session_type’] = “c”;
    to my congif.php

    Still no success :-(

  • #27 / Nov 19, 2007 7:27pm

    Sue Crocker

    26054 posts

    OK, the next thing we need to figure out is which user group is attempting to put in an entry?

    What settings do you have for that group? I have to go fiddle with my editor group to see what that might be.

  • #28 / Nov 19, 2007 7:39pm

    Wolfram

    115 posts

    Most of the time I tried as super admin, and then as a member. Same behaviour. What does work however is posting entries from the various saefs to the various sections. Both as admin and as a member. Only the upload is misbehaving: The window pops up in the correct smaller size, in the bar appears “Redirect” and then the CP home is loaded. (I guess there´s no setting that allows posting via saef but doesn´t permit uploads?)

    Edit; There is a setting in the file upload preferences - but the members are allowed to uplaod files to both of the two folders. And within the CP this is working.

  • #29 / Nov 20, 2007 5:37am

    Wolfram

    115 posts

    Hi again, I just updated to 1.6.1 – the problem still exists. Any other ideas what could cause the upload window to redirect to the CP home? Ideas very welcome, since uplaod through saef is needed.

  • #30 / Nov 20, 2007 11:36am

    Robin Sowell

    13255 posts

    Man- it’s just weird.  Do you have FF with live headers installed?  I think I’d log out, clear all cookies.  Log in as superadmin on the frontend.  Go to the saef and then turn live headers on.  Open the pop-up, see where it’s bouncing around before settling on the cp home page.

    Make sense?

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

ExpressionEngine News!

#eecms, #events, #releases