File manager issues since update (RESOLVED)
Permalink
Hi all, since updating from I suspect php 5.4 to 5.6 I have an issue where by the upload file process never ends. I am then left with a "daisy image" place holder and although the file is uploaded in most cases, its clearly its often "incomplete".
Now the furthest I could roll back is 5.5 might that help? Then I did also try creating a php5.ini with following:
"file_uploads = On
upload_max_filesize = 32M
post_max_size = 32M
upload_tmp_dir = /tmp/"
That has not resolved my problem.
I am also aware that updating the site is desperately needed, but its a large site thats live so that would be a last resort for me. Especially as we are planning a full re-make into concrete 5.7 later this year.
System information
# concrete5 Version
5.6.1.2
# concrete5 Overrides
jobs/si_mysql_optimize.php
# Server Software
Apache
# Server API
cgi-fcgi
# PHP Version
5.6.30
# PHP Extensions
bz2, calendar, cgi-fcgi, Core, ctype, curl, date, ereg, exif, filter, ftp, gettext, gmp, hash, iconv, json, libxml, mhash, mssql, mysql, mysqli, openssl, pcntl, pcre, readline, Reflection, session, shmop, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, Zend Guard Loader, Zend OPcache, zlib.
# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 2M
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
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 - nocache
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
zend_optimizerplus.max_accelerated_files - 2000
zend_optimizerplus.max_file_size - 0
zend_optimizerplus.max_wasted_percentage - 5
Now the furthest I could roll back is 5.5 might that help? Then I did also try creating a php5.ini with following:
"file_uploads = On
upload_max_filesize = 32M
post_max_size = 32M
upload_tmp_dir = /tmp/"
That has not resolved my problem.
I am also aware that updating the site is desperately needed, but its a large site thats live so that would be a last resort for me. Especially as we are planning a full re-make into concrete 5.7 later this year.
System information
# concrete5 Version
5.6.1.2
# concrete5 Overrides
jobs/si_mysql_optimize.php
# Server Software
Apache
# Server API
cgi-fcgi
# PHP Version
5.6.30
# PHP Extensions
bz2, calendar, cgi-fcgi, Core, ctype, curl, date, ereg, exif, filter, ftp, gettext, gmp, hash, iconv, json, libxml, mhash, mssql, mysql, mysqli, openssl, pcntl, pcre, readline, Reflection, session, shmop, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, Zend Guard Loader, Zend OPcache, zlib.
# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 2M
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
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 - nocache
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
zend_optimizerplus.max_accelerated_files - 2000
zend_optimizerplus.max_file_size - 0
zend_optimizerplus.max_wasted_percentage - 5
Only recent error I could find was:
[06-Feb-2017 06:11:29 UTC] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0
I did as stated add a php5.ini
file_uploads = On
upload_max_filesize = 32M
post_max_size = 32M
upload_tmp_dir = /tmp/
Thats sitting in my public_html folder, I assumed that was the place for it over putting it in my home directory.
Thanks so much for taking the time to answer.
[06-Feb-2017 06:11:29 UTC] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0
I did as stated add a php5.ini
file_uploads = On
upload_max_filesize = 32M
post_max_size = 32M
upload_tmp_dir = /tmp/
Thats sitting in my public_html folder, I assumed that was the place for it over putting it in my home directory.
Thanks so much for taking the time to answer.
That file isn't taking affect, and you can see that from your PHP Settings in the original post. It depends on the host as to what that file should be called and where it should be located.
Thanks a bunch, I will go bother my host.
Very much obliged, I was being obtuse with the answer right in front of me :)
Very much obliged, I was being obtuse with the answer right in front of me :)
I asked the host to update the php5.ini and they seem to have done so. However I still have an issue where by files are imported with the "daisy" graphic and are not properly indexed. What is stranger is even if I ftp files into the incoming directory I have the same issue.
The settings as they are now....
# concrete5 Overrides
jobs/si_mysql_optimize.php
# Server Software
Apache
# Server API
cgi-fcgi
# PHP Version
5.6.30
# PHP Extensions
bz2, calendar, cgi-fcgi, Core, ctype, curl, date, ereg, exif, filter, ftp, gettext, gmp, hash, iconv, json, libxml, mhash, mssql, mysql, mysqli, openssl, pcntl, pcre, readline, Reflection, session, shmop, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, Zend Guard Loader, Zend OPcache, zlib.
# PHP Settings
max_execution_time - 20000
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 256M
post_max_size - 256M
sql.safe_mode - Off
upload_max_filesize - 256M
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
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 - nocache
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
zend_optimizerplus.max_accelerated_files - 2000
zend_optimizerplus.max_file_size - 0
zend_optimizerplus.max_wasted_percentage - 5
Am I looking at a permission issue perhaps? Any ideas of what I can suggest to the host next?
The settings as they are now....
# concrete5 Overrides
jobs/si_mysql_optimize.php
# Server Software
Apache
# Server API
cgi-fcgi
# PHP Version
5.6.30
# PHP Extensions
bz2, calendar, cgi-fcgi, Core, ctype, curl, date, ereg, exif, filter, ftp, gettext, gmp, hash, iconv, json, libxml, mhash, mssql, mysql, mysqli, openssl, pcntl, pcre, readline, Reflection, session, shmop, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, Zend Guard Loader, Zend OPcache, zlib.
# PHP Settings
max_execution_time - 20000
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 256M
post_max_size - 256M
sql.safe_mode - Off
upload_max_filesize - 256M
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
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 - nocache
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
zend_optimizerplus.max_accelerated_files - 2000
zend_optimizerplus.max_file_size - 0
zend_optimizerplus.max_wasted_percentage - 5
Am I looking at a permission issue perhaps? Any ideas of what I can suggest to the host next?
My issue was deceptively simple, I had not activated specific php extensions.
Resolved and thanks so much for your time hutman.
Resolved and thanks so much for your time hutman.
I would be willing to bet one of these 3 settings is your problem
max_execution_time - 30
post_max_size - 8M
upload_max_filesize - 2M
But it could also be a missing PHP extension.