Thumbnail generator hangs when editing thumbnails
Permalink
Hi,
I was having an issue with a site on 5.7.5.13 where is was hanging when editing thumbnails in the thumbnail editor.
So i upgraded the site to 8.2.1 (needed it anyway) and then upped the memory to 512m and increase the max_execution_time and the max_input_time.
I have tried to edit again and the blue bar at the top gets to about 95% then just stops and hangs.
Has anyone seen this before or know a fix?
Environment below:
# concrete5 Version
Core Version - 8.2.1
Version Installed - 8.2.1
Database Version - 20170802000000
# 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
# Server API
cgi-fcgi
# PHP Version
7.0.27
# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
# PHP Settings
max_execution_time - 1200
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 1200
max_input_vars - 1000
memory_limit - 512M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 8M
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
I was having an issue with a site on 5.7.5.13 where is was hanging when editing thumbnails in the thumbnail editor.
So i upgraded the site to 8.2.1 (needed it anyway) and then upped the memory to 512m and increase the max_execution_time and the max_input_time.
I have tried to edit again and the blue bar at the top gets to about 95% then just stops and hangs.
Has anyone seen this before or know a fix?
Environment below:
# concrete5 Version
Core Version - 8.2.1
Version Installed - 8.2.1
Database Version - 20170802000000
# 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
# Server API
cgi-fcgi
# PHP Version
7.0.27
# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
# PHP Settings
max_execution_time - 1200
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 1200
max_input_vars - 1000
memory_limit - 512M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 8M
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
Not overly, one thing I have now found out is that I get a 404 error for the thumnail.php in the generator yet it's there and has the right permissions.
The Error is as follows.
POST http://www.website.com/TestSite/tools/required/files/importers/thum... 404 (Not Found) jquery.js:9203
send @ jquery.js:9203
ajax @ jquery.js:8684
jQuery.(anonymous function) @jquery.js:8835
callback @ image-editor.js:1
k.onload @ kinetic.js:2
POST http://www.website.com/TestSite/tools/required/files/importers/thum... 404 (Not Found) jquery.js:9203
send @ jquery.js:9203
ajax @ jquery.js:8684
jQuery.(anonymous function) @jquery.js:8835
callback @ image-editor.js:1
k.onload @ kinetic.js:2
// Create the abort callback callback = callback( "abort" ); try { // Do send the request (this may raise an exception) xhr.send( options.hasContent && options.data || null ); //line with the error } catch ( e ) { // #14683: Only rethrow if this hasn't been notified as an error yet if ( callback ) { throw e; } }
That's an interesting URL. I would have expected to see 'concrete' in there.
Good point,
I finally got to the bottom of this.
Its to do with having mod security switched on which was blocking the scripts.
Its to do with having mod security switched on which was blocking the scripts.
Are these large images that you are trying to edit?