Cannot add photos to /var/uploads - Limit for data transfer reached? FTP not working

THZ

Joined: 2014-04-24
Posts: 9
Posted: Thu, 2014-04-24 16:04

Hello
I just installed successfully Gallery3 for the first time, and created a first album, added "Server add" and tried to send a photo to /var/uploads by FTP, which didn't work. When I try this by uploading through the webhoster's console, I get a message that I maybe have reached the data transfer limit.

What may be the reason? Should'nt I be able to upload a bunch of images to the /uploads folder by FTP`?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2014-04-25 01:45

Ask your host if you have met some limit.
/var/uploads is a location on the server you have to create or use a different temporary location and use that path with the server add method.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
THZ

Joined: 2014-04-24
Posts: 9
Posted: Fri, 2014-04-25 06:27

Thank you. No, there is no restriction on the server.

When I try to upload by FTP (with Explorer) I get the following errors:
-553 Can't open that file - Permission denied
-553 Rename/move failure: No such file or directory

Can it be the .htaccess file within the uploads folder?
The file contains:

DirectoryIndex .htaccess
SetHandler Gallery_Security_Do_Not_Remove
Options None
<IfModule mod_rewrite.c>
RewriteEngine off
</IfModule>
Order allow,deny
Deny from all

Or is there a problem with ownership "Root"? Should there be my user name as ownership?

 
THZ

Joined: 2014-04-24
Posts: 9
Posted: Fri, 2014-04-25 07:11

Hello
I created a new folder /var/pics. I now can upload files to this pics folder.

But already another problem: When I use SERVER ADD to add the images within this folder, it begins to scan and never stops "Scanned O directories". I see the files within the folder, but how can I select them? If I select 5 and click on ADD, nothing happens.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2014-04-25 13:25
Quote:
I get a message that I maybe have reached the data transfer limit.

Quote:
No, there is no restriction on the server.

We don't give you that message. So must be some host restriction as I said.

Quote:
-553 Can't open that file - Permission denied
-553 Rename/move failure: No such file or directory

so you need to fix the permissions on the server so that the FTP client can add items to the temp directory and the server/php can read the directory as well for the application to read them.

Is there anything in the gallery3/var/logs from when you try to add items?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
THZ

Joined: 2014-04-24
Posts: 9
Posted: Fri, 2014-04-25 19:55

Hello
Today I asked my webhoster about the ImageMagick Toolkit. It isn't supported on my server - so they suggested upgrading to another, better webserver. I decided to change and so I will have to wait until they set it up within the next 24 hours. I will install G3 on the new server again and let you know afterwards.

 
THZ

Joined: 2014-04-24
Posts: 9
Posted: Tue, 2014-04-29 05:48

..still waiting for the new webserver ...

 
THZ

Joined: 2014-04-24
Posts: 9
Posted: Thu, 2014-05-01 18:20

My new webserver is running. BUT: it seemed to be a misunderstanding between me and the support people from my hoster: EXEC function for ImageMagick isn't supported on the new server, neither...
But anyway, my Gallery3 is working fine now!