Search…

X3 Photo Gallery Support Forums

Search…
 
Thuis
Topic Author
Posts: 14
Joined: 14 Sep 2008, 06:30

Not able to upload with admin

14 Sep 2008, 06:57

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).
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

14 Sep 2008, 14:58

Could it be that files are too large?
Did you try upload with SWFUpload off?
firedev.com
 
Thuis
Topic Author
Posts: 14
Joined: 14 Sep 2008, 06:30

14 Sep 2008, 15:20

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.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

15 Sep 2008, 04:38

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.
 
User avatar
globetrotter
Imagevue Expert
Posts: 844
Joined: 18 Oct 2006, 13:16

15 Sep 2008, 04:44

I also had the same problem with swfupload at my work: firewall did block the connection. After I disabled swfupload it works OK.
Rene
http://www.globetrotternet.nl/
 
Thuis
Topic Author
Posts: 14
Joined: 14 Sep 2008, 06:30

16 Sep 2008, 13:07

Disabling swfupload doesn't work either: i need some time to look into to, so i will report in one or two weeks.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

16 Sep 2008, 23:27

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?
 
Thuis
Topic Author
Posts: 14
Joined: 14 Sep 2008, 06:30

30 Nov 2008, 07:22

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.