Jump to content

File Manager Problem


clampdown

Recommended Posts

Hello,

Using PS 1.6.0.14 - currently having a strange file manager issue...

Upload the an image file - green tick appears

The file doesn't appear in the file manager screen


I have reinstalled the file manager for 1.6.0.14 - nothing changes.

I've checked the log and get this message:

 

filemanager/upload.php on line 135

In upload.php Lines 132 to 135 is this:

 

} else {
        header('HTTP/1.1 406 file not permitted', true, 406);
        exit();
    }

So i'm a little confused... im only uploading a jpeg file....

Link to comment
Share on other sites

OKe, you can try a couple of things now, but most important do you use a media server?

1: Test if it works with all the 3th party modules disabled.

2: Disable friendly URL.

3: If still no good share: /adminxxx/filemanager/ folder with us.

Link to comment
Share on other sites

I've tried all these steps and nothing happens still...

Interestingly just checked my error log file and i'm getting the following error message:

 

PHP Warning: chmod(): No such file or directory in /var/www/vhosts/domain.co.uk/httpdocs/adminXXX/filemanager/upload.php on line 71

Lines 69 - 73:

69:   if (in_array(fix_strtolower($info['extension']), $ext_img) && @getimagesize($tempFile) != false) {
70:    $is_img = true;
71:    } else {
72:    $is_img = false;
73:     }

Very strange.... file permission 775 for upload.php

Edited by clampdown (see edit history)
Link to comment
Share on other sites

I had a similar problem in the past,

it depended on a server update that messed up the permissions of /var/lib/php/session on the machine.

This lead to a series of problems, including the file manager not working due to upload problems.

 

In my case I had two errors in error_log :

1 ) The chmod warning clampdown just posted.

2 ) A generic "cannot create session file" in mail webserver error_log.

 

Of course I solved the problem restoring the right permissions.

 

I am not sure it is the same problem, but you could/should have your hosting check for that.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...