I have several sites with Etomite 1.1
I can not upload files even if I have the permissions set right. (777)
With Etomite 1.0 the file upload with File Manger works fine.
I use the same config for file Manager in 1.0 and 1.1
The problem seems to be the trailing slash in the File Manager path in "Miscellaneous settings"
in eto 1.0 I use "/var/www/web24/html" this works fine
In Eto 1.1 Imust put a trailing slash on: "/var/www/web24/html/" or I will get the error:
"Warning: dir() [function.dir]: open_basedir restriction in effect. File(/var/www/web24/html) is not within the allowed path(s): (/var/www/web24/html/:/var/www/web24/phptmp/:/var/www/web24/files/:/var/www/web24/atd/) in /var/www/web24/html/manager/actions/static/files.static.action.php on line 488"
BUT then the filemanager does not work - I can not upload and I can not get a preview of images by clicking the looking glas icon. I
f I change line 495 in files.static.action.php to take the slash out, I can get a preview of image files in the root, but when I choose a folder I get no thumbs.
With the trailing slash on the path, I get this in top of the file manager when i change to a folder:
"Directory listing for: //pix" with a double slash, and preview by looking glas and upload do not work.
Seems like the slash got in one time to much. Is this a bug, or?
File manager not working
Started by poulR, Mar 04 2010 09:25 PM
4 replies to this topic
#1
Posted 04 March 2010 - 09:25 PM
#2
Posted 04 March 2010 - 09:27 PM
I got into all that, because I could not get Xinha or FCKeditor to upload images, but I think its because something goes wrong with the file manager,
#3
Posted 05 March 2010 - 02:19 PM
poulR, are you making changes to each individual WYSIWYG editors file managers settings or are you attempting to make changes to the Etomite file manager settings...??? They do, indeed, work differently... It also makes a difference whether you are on a Unix/Linux or Windows based server...
If you can't get the settings sorted and want me to take a hands on look into the issue, just PM me and we'll go from there... If something needs to be changed I'd like to get that done before attempting to release v1.2...
If you can't get the settings sorted and want me to take a hands on look into the issue, just PM me and we'll go from there... If something needs to be changed I'd like to get that done before attempting to release v1.2...
#4
Posted 05 March 2010 - 03:11 PM
Ralph, on 05 March 2010 - 02:19 PM, said:
poulR, are you making changes to each individual WYSIWYG editors file managers settings or are you attempting to make changes to the Etomite file manager settings...??? They do, indeed, work differently... It also makes a difference whether you are on a Unix/Linux or Windows based server...
If you can't get the settings sorted and want me to take a hands on look into the issue, just PM me and we'll go from there... If something needs to be changed I'd like to get that done before attempting to release v1.2...
If you can't get the settings sorted and want me to take a hands on look into the issue, just PM me and we'll go from there... If something needs to be changed I'd like to get that done before attempting to release v1.2...
I am on a Linux-Debian server on internet, I can control the server, as it is Virtual Dedicated Server.
Lets take the filemanager alone : I found out that I in "Configuration"-"Miscellaneous Settings" can define the path to one directory , say "File Mnager path: /var/www/web24/html/assets/images/ with a trailing slash (because in 1.1 on my server I will get the open basedir error - and that will not appear with the slash on - contrary to Eto 1.0 - I can set open basedir "on" or "off" on the server - but it doesnt change a thing concerning this)
Now I can upload an image or file OK in "Manage Files" says "Directory listing for: /assets/images/" I can click the looking glass and get a preview (dont know what the green is for?) BUT now I get the double slashes: "Uploading olfert 4.jpg to /assets/images// File type: image/pjpeg, 175.84 KB" NOW the problem is if I go to a subdirectory (and it IS 0777) I get an error:
"Uploading hudmis.bmp to /assets/images//foto/
File type: image/bmp, 716.97 KB
Possible permission problems - the directory you want to upload to needs to be set to 0777 permissions."
That is probably because of the double slash - I think that there is a missing condition for this case in the code to avoid the double slash.
As mentioned this error does not appear in Eto 1.0 when the File Man path is written without a trailing slash - actually it doesnt make any difference in ETO 1.0 if youadd a trailing slash or not ! Just tested that I can navigate in File Manager from root to any writeable directory and upload with or witout trailing slash in ETO 1.0 ! (But no previews WITH trailing slash because: "Directory listing for: //assets/images" the dreaded double slash.
#5
Posted 05 March 2010 - 11:20 PM
Not sure if this will help your specific issue, but I have made a lot of imporvements to the file manager functionality with this new files.static.action.php file. It would be nice if some of this made it into eto 1.2 (if it passes as acceptible patches Ralph).
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











