Page 1 of 1

Not able to upload with admin

Posted: 14 Sep 2008, 06:57
by Thuis
Using the upload possibility with admin, it does work once or twice for an image, but 90% of the cases it shows uploading for a long time, without anything happening, or it shows very fast uploaded, without an image in the folder.

I tried to find some logic (rights, clear cache, restart apache, etc.) but I was not able to find one :-(. Maybe someone has some idea for me, knowing that the following things are the only constant :-):
- when uploading succeeds thumbnails are created with the user guest and rw-r--r--: the rights of all other files (as the uploaded image) and for the content-folder are 777.
- apache logs the following errors when the upload does not succeed:
[Sun Sep 14 12:23:44 2008] [error] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: No such file or directory in /share/HDA_DATA/Qweb/imagevue/admin/controllers/IndexController.php on line 267
[Sun Sep 14 12:23:44 2008] [error] PHP Fatal error: Call to a member function generateThumb() on a non-object in /share/HDA_DATA/Qweb/imagevue/admin/controllers/IndexController.php on line 269
Working with a Firefox/Vista-client & a linux-server (Qnap).

Posted: 14 Sep 2008, 14:58
by Nick
Could it be that files are too large?
Did you try upload with SWFUpload off?

Posted: 14 Sep 2008, 15:20
by Thuis
Size:
The files are between 0,5 & 3 Mb.

SWUpload off:
Is this an optoin in the config ?
I 'm using a default config & tried also tranfser with ftp, which works fine.

Posted: 15 Sep 2008, 04:38
by mjau-mjau
Thuis wrote:SWUpload off:
Is this an optoin in the config ?
I 'm using a default config & tried also tranfser with ftp, which works fine.
Yes, you can goto "config" and turn SWFUpload off, and it will use an optional upload, not as powerful as the SWFUpload module.

Posted: 15 Sep 2008, 04:44
by globetrotter
I also had the same problem with swfupload at my work: firewall did block the connection. After I disabled swfupload it works OK.

Posted: 16 Sep 2008, 13:07
by Thuis
Disabling swfupload doesn't work either: i need some time to look into to, so i will report in one or two weeks.

Posted: 16 Sep 2008, 23:27
by mjau-mjau
Just a reminder to make sure you also set permissions! (unless you create the folders from admin).

I would like to mention that we have problems with this on our own server at Mediatemple - I can create folders from admin, but not upload images to the new folders. I think it has something to do with SAFE mode. It works if I create folders manually with FTP first ...

pain, perhaps you can correct me?

Posted: 30 Nov 2008, 07:22
by Thuis
Did retry the admin-upload with the 20081120-beta and it was successful, also with multiple files, using SWFUPLOAD and YUIUPLOADER.
Great !

I guess the plugins have changed, as I can't imagine to have changed anything on the serverside ... ?!

Thumbnails are created with 644-permissions, but they show well on the website.