Rescanig all with current watermark throws "500 Internal Server Error"

Permalink Browser Info Environment
Hi Emilly,

When I re-scan all thumbnails after making few changes in watermark, it throws 500 internal server error.

Is it issue with memory or something else ?

Attaching screenshot.

2 Attachments

Type: Pre-Sale
Status: Resolved
srjahir32
View Replies:
emirii replied on at Permalink Reply
emirii
Hello, according to your Environment, 256MB memory for PHP should be adequate.

Are you able to rescan your images through the Concrete5 interface, rather than the WatermarkNN interface? You go to File Manager > Select a few images > Rescan

Let me know if that works, if it does could you please enable full debugging in System & Settings > Environment > Debug > Show Full Debug Error Output and capture the error.

Or you could give me login to the Concrete5 install backend and I can have a look for you (pm the credentials)! Thank you.
emirii replied on at Permalink Reply
emirii
Hello, I just got a chance to look at it. Sorry about the long wait as I was on vacation!

I see the 500 errors when attempting to do many tasks in the Concrete5 install. Unfortunately the 500 errors look like they are coming directly from the server and not Concrete5. Without the server PHP logs there isn't much I can really see.

I attempted to uninstall and reinstall my add-on to see if the problem persisted without my add-on installed. The problem persisted even with my add-on uninstalled from the site, eliminating that as a cause. I can only presume that the server is encountering out of memory due to the GD library taking up the memory or the server is killing the large process. I encountered a 500 error when uninstalling my add-on as well, which appeared to be a time-out (I counted to exactly 30 seconds before it cut the script into a 500 error)

Unfortunately the website was not connected to the community at the time so I was unable to reinstall WatermarkNN for you...

So from here, this would depend on some factors such as:
Are you hosting on a Dedicated/VPS or a Shared Server?
Do you have access to the PHP/NGINX/Apache logs?

If you are on a Dedicated/VPS server that is managed, you might want to ask your host to look in it for you since you most likely pay for this service (or at least exrx.net does), if it is not managed, we will need the logs to move forward... If you have access to the php/server logs, you could try to rescan the images, capture the 500 error log when it happened and post it here so we can have a look to see if it is a correctable problem...

However, if you are on shared hosting it might be a lot trickier, again, I would contact the host and see what they can do.

Since there are a large amount of high resolution images I am guessing this is a server configuration/limitation issue rather than with Concrete5/my Watermark add-on, but we can see if I can help you figure out the source!

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.6
Version Installed - 5.7.5.6
Database Version - 20151221000000

# concrete5 Packages
Add and Remove Classes and IDs (0.9.5), Fruitful (1.2), Honest Websites Back To Top (0.9.4), HTML5 Audio Player Basic (2.0.5), Responsive Embed (1.0.0), Share Me (0.9.1), Spacer (0.9.3), Thumbnail Generator (0.9.0.6), Touch Gallery (2.1), WatermarkNN (1.0.1).

# concrete5 Overrides
blocks/image/view.php, blocks/image, js/redactor.js, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, src/Retina/RetinaImage.php, src/Retina/RetinaPicture.php, src/Retina, blocks/image/view.php, blocks/image, js/redactor.js, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, src/Retina/RetinaImage.php, src/Retina/RetinaPicture.php, src/Retina

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_fcgid/2.3.9

# Server API
cgi-fcgi

# PHP Version
5.4.42

# PHP Extensions
apc, bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, memcache, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, timezonedb, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, zip, zlib.

# PHP Settings
max_execution_time - 120
apc.max_file_size - 1M
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 256M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 12M
memcache.max_failover_attempts - 20
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2723.2 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.