RSGallery2 Forum Portal

RSGallery2 support forums => RSGallery2 4.x bugs & problems => Topic started by: dan43 on February 06, 2019, 07:29:41 AM

Title: Upload timeout for large galleries (500 images each)
Post by: dan43 on February 06, 2019, 07:29:41 AM
Hi team, I just got wind of RSGallery2 for Joomla tonight and decided to try it.  On uploading to the gallery, each time it timed out on me after uploading 168 images.  I can change my PHP.INI (v7x) settings, and thought I'd double the max_execution_time from 300 to 600, but that didn't seem to work.

I have 80 galleries of over 500 images each, and am using the upload from server option.  Can anyone help?

I like what I see so far, except for this small issue.

Thanks!
Title: Re: Upload timeout for large galleries (500 images each)
Post by: whazzup on February 06, 2019, 10:44:27 PM
Hi Dan,

i will think about it more on the weekend . I will meet some joomla guys. Hopefully they have idea.
In between i suggest to try1 the new drag and drop upload function.
It does first reserve the database entries and then uploads the files one by one.
It may need a lot of upload time but may not interrupt after some time.
http://www.rsgallery2.org/index.php?option=com_content&view=article&id=39&catid=13
Nothing is perfect. so in maintenance with consolidate image database the state can be checked.
see description
http://www.rsgallery2.org/index.php?option=com_content&view=article&id=91&catid=101


regards whazzup
Title: Re: Upload timeout for large galleries (500 images each)
Post by: dan43 on February 06, 2019, 11:02:18 PM
Hi there, and thanks for the reply (I would call you by your first name but you didn't mention it in your message).  I have resolved the issue.  It's nothing to do with RSGallery2, it has everything to do with the way I was uploading.  Firstly, I only had 168 images in the gallery (D'OH!), and secondly, I tried it with one that actually has 500 images in the gallery and it never timed out.

Having said that, in php.ini, I changed upload_max_filesize to 8M, post_max_size to 8M, and memory_limit to 128M, but I probably didn't have to do that with the settings I already had.

Thanks for your prompt reply, and you can probably ignore my post (for now, unless something goes horribly wrong, lol).

Dan
Title: Re: Upload timeout for large galleries (500 images each)
Post by: dan43 on February 07, 2019, 12:10:55 AM
Actually there is one more thing.  After uploading each gallery, after uploading the last image in each gallery I get a 404 Page Not Found error.  Maybe you can check that and let me know how to fix it.  Thanks again.
Title: Re: Upload timeout for large galleries (500 images each)
Post by: whazzup on February 11, 2019, 10:07:25 PM
Hi dan,
at the weekend i was on a joomla event. This week i will fix the "404 Page Not Found" after FTP upload.