Elxis CMS Forum

Support => General => Topic started by: xenios on March 01, 2007, 14:25:39

Title: Star Gallery Upload
Post by: xenios on March 01, 2007, 14:25:39
Hello!

I am trying to upload my images to star gallery through star gallery control panel, but i am having this problem,  the zip file that i am uploading cannot have more than 10 fotos each time  :-\  ??? . I have about 500 hundred fotos, is there another way to upload my fotos to star gallery?

I allso tried to change the control panel setting "allow 10 uploads per user" to 100 but nothing changed...
Title: Re: Star Gallery Upload
Post by: eliasan on March 01, 2007, 20:13:08
What do you mean, "the zip file that i am uploading cannot have more than 10 fotos each time"?

We have uploaded hundreds of images at the same time.

If you can't do that then maybe you have to seek the reason for this elsewhere.
For example, maximum permited upload file size by your PHP, maximum allowed execution time in PHP.
 
Title: Re: Star Gallery Upload
Post by: xenios on March 01, 2007, 21:59:54
Maybe i will create a ticket in support , i can not figure out what is going wrong. Thank you.
Title: Re: Star Gallery Upload
Post by: datahell on March 01, 2007, 23:11:58
Most possible your zip filesize is too big. In most servers the maximum upload size is 2M (2 mega bytes). So even if you upload just one image greater than 2M, the upload will fail.

Solutions:
- Decrease the images size by compressing them right.
- Decrease the number of images for simultaneus upload in order to be smaller than the maximum upload size.
- Increase the maximum upload size in your server's PHP.ini (if you have access to this file).

Note that each image is reduced after upload and a thumbnail is also generated. If the images in the package are too many this procedure will use a large amount of CPU power on the server inorder to complete. This may cause php timeout and upload failure depending on the CPU load on your server.

To see the maximum upload size for your server go to:
Elxis Administration -> System -> View System Information -> PHP information
and seek for a tag lebeled "upload_max_filesize".
Title: Re: Star Gallery Upload
Post by: xenios on March 01, 2007, 23:50:29
That was the problem! You was very helpfull, my files where bigger than 2mb (5mb) and i had a time out!