Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#3515 Sorry, your request failed :(500)

Posted in ‘Event Gallery Extended’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by appworx on Thursday, 04 April 2019 21:26 UTC

appworx
I use Amazon s3 for my pictures.

When I create thumbnails, i keep getting:

Sorry, your request failed :(500)


From another ticket on this forum, I know that I should increase the PHP memory. However, I can't find what values need to be changed exactly, and to what value.

I changed:
post_max_size: 16M
upload_max_filesize: 4M


It still does not work.
Can you help?

sbluege
Hi,

are you familiar with the dev tools of your browser? If so, please open the JavaScript console and check some of the failed requests. They'll contain more details.

Usually, you want to set the memory_limit parameter to something like 128M. But that depends on the size of your original images. To rule out memory issues, just upload very small files like 100x100px for testing.

appworx
Thank you for you quick response!

Memory limit was already set to 128M, so should be fine, right?

From the console I see:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
https://kermisloopuitgeest.nl/administrator/index.php?option=com_eventgallery&format=raw&task=s3.processfile&c720bfae9c58a10cc57ab2e318b9d8ee=1&folder=klu-2017&file=_DSC4406.JPG


Additionally, some lines give:
Sorry, your request failed :(404)

might have the same cause?

Failed to load resource: the server responded with a status of 404 (Not Found)
https://kermisloopuitgeest.nl/media/com_eventgallery/backend/js/vendor/async/async.min.map

sbluege
It depends on the size of your images of 128MB are enough. The 404 messages are fine.

What happens if you open the URL in a new tab? Do you see more information?

appworx
Which URL exactly?

https://kermisloopuitgeest.nl/media/com_eventgallery/backend/js/vendor/async/async.min.map

Gives a 404.
Checked with FTP and the file does not exist, indeed. In the folder, there is a file named async.min.js, though.

If I paste this in a new tab:
https://kermisloopuitgeest.nl/administrator/index.php?option=com_eventgallery&format=raw&task=s3.processfile&c720bfae9c58a10cc57ab2e318b9d8ee=1&folder=klu-2017&file=_DSC4406.JPG

The page remains empty. No errors in the console.

sbluege
The URL https://kermisloopuitgeest.nl/administrator/index.php?option=com_eventgallery&format=raw&task=s3.processfile&c720bfae9c58a10cc57ab2e318b9d8ee=1&folder=klu-2017&file=_DSC4406.JPG is interesting.

If there is an empty page, please increase the error reporting: https://www.svenbluege.de/joomla-event-gallery/event-gallery-manual/faq-blank-page

Maybe the server will reveal something useful now.

appworx
Increased the error level reporting and opened the URL you indicated. It gives:

Warning: file_put_contents(): Only 81920 of 87786 bytes written, possibly out of free disk space in /home/kermisloop/domains/kermisloopuitgeest.nl/public_html/components/com_eventgallery/vendor/lsolesen/pel/src/PelJpeg.php on line 600

Warning: file_put_contents(): Only 81920 of 115143 bytes written, possibly out of free disk space in /home/kermisloop/domains/kermisloopuitgeest.nl/public_html/components/com_eventgallery/vendor/lsolesen/pel/src/PelJpeg.php on line 600

Warning: file_put_contents(): Only 81920 of 133817 bytes written, possibly out of free disk space in /home/kermisloop/domains/kermisloopuitgeest.nl/public_html/components/com_eventgallery/vendor/lsolesen/pel/src/PelJpeg.php on line 600

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 5054496 bytes) in /home/kermisloop/domains/kermisloopuitgeest.nl/public_html/components/com_eventgallery/helpers/vendors/class.jpeg_icc.php on line 78


In addition: i tried a small file, to rule out file size issues.
It gave:
Sorry, your request failed :(404)

sbluege
Those error messages show that you have not enough space left on your disk and you run into a memory issue.

Please try to:

- increase the memory_limit parameter for PHP
- free some disk space on your hard drive

appworx
It works now!

Here is what I did:
  • in my joomla environment, the administrator/cache got full. I cleared it.

  • there a few large files in my originals bucket, i.e. > 3Mb. They were in folders I had unchecked, but they were being processed anyways (bug?)


After removing the largest files, the thumbnails are created...

Thanks!!