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.

Control Panel File Upload

April 29, 2014 2:23pm

Subscribe [3]
  • #1 / Apr 29, 2014 2:23pm

    gfraser99

    2 posts

    I am having issues with the File Upload button within the Control Panel. When I click the button I am redirected to the homepage for the website I have setup. It does not load the file upload modal.

    Has anyone encountered this behaviour and is there a fix? Maybe I have a setting wrong causing this behaviour.

    I am using ExpressionEngine v2.8.0.

  • #2 / Jul 24, 2015 2:47am

    Terralemon's avatar

    Terralemon

    14 posts

    Having the same issue. Did you get this fixed?

  • #3 / Sep 14, 2015 2:05pm

    moogaloo's avatar

    moogaloo

    200 posts

    I’m seeing this in a few places - occasionally when clicking submit buttons around the CP, the Save revision / Submit at the bottom of a Create Entry page is a particularly frustrating instance of this as work is lost - I’m getting pushed straight back to the CP homepage - I can go back a page and retry and that often works, but it’s seemingly very intermittent, no pattern.

    More of an issue, I’m finding a client is really struggling to get photos to upload via the image manager - we go to the part where you’ve selected an image and click upload and around 60% of the time it thinks for a few seconds and then reloads the homepage in the uploading modal. Try a few more times and eventually it works, but it’s infuriating how unreliable it is - can’t for the life of me see any pattern to this.

    Has anyone got to the bottom of this one?

  • #4 / Sep 15, 2015 5:26am

    Terralemon's avatar

    Terralemon

    14 posts

    We changed our htaccesss file in the root back the way it was before and checked all the PHP script permissions on the site and that worked for us.

    —-
    Apache

    These permissions are typical for PHP-based applications running on Apache, though you may want to check with your web host to see if more restrictive permissions can be used to allow PHP to write to files and directories.

    Set these files to 666:

    system/expressionengine/config/config.php
    system/expressionengine/config/database.php
    Set these directories to 777:

    system/expressionengine/cache/
    images/avatars/uploads/
    images/captchas/
    images/member_photos/
    images/pm_attachments/
    images/signature_attachments/
    images/uploads/

     

     

  • #5 / Sep 15, 2015 5:37am

    moogaloo's avatar

    moogaloo

    200 posts

    Oh interesting - could I ask what part of the .htaccess file you changed, and what it was changed to?
    .htaccess is something of a dark art to me, so any help would be massively appreciated.

    And by PHP script permissions, you mean checking the folders / files on the site had the correct 666 / 777 permissions on them, as you posted?

    It does seem to be something to do with the way forms are being submitted and causing problems, but it’s also completely intermittent and seemingly random, so it seems odd that it would be something in the files causing the problems… but the client assures me it’s not their wifi / network / security settings (tho I’m not sure I believe them).

  • #6 / Sep 15, 2015 5:51am

    Terralemon's avatar

    Terralemon

    14 posts

    The randomness is weird, permissions and htaccess are not sometimes okay and sometimes not. So it has to be something else then…

    What helped us too is checking the server-error-logs. Hell of a job but maybe you find a clue there.

    Succes!

  • #7 / Sep 15, 2015 7:27am

    moogaloo's avatar

    moogaloo

    200 posts

    Ah OK - I wouldn’t have a clue what to look for in a server error log, so not sure there’s any mileage in that one for me sadly.

    The randomness is very bizarre, which is what makes me think of network / security being patchy… but have no way of verifying this.

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

ExpressionEngine News!

#eecms, #events, #releases