Upload Size error

4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 23, 2015   (RSS)

By Dave - February 23, 2015

Hi mmsinc, 

I understand you called in.  Can you update us on any new developments?

Generally nothing in the CMSB code of config should "reduce" the upload size, it should only increase it.  I have seen the odd case where the presence of a php.ini caused the system php.ini not to load.  So you could try removing these files one by one from cmsAdmin: php.ini, .user.ini, .htaccess

Let us know how it goes.  Thanks!

Dave Edis - Senior Developer
interactivetools.com

By nmsinc - February 23, 2015

Hi Dave,

I removed the following code below from the php.ini file and now CMS sees the updated file located within the CMS directory and does not revert to the primary!

Thanks - nmsinc

: REMOVED LINES BELOW FROM THE ORIGINAL php.ini FILE
; Identify loaded config files - re-purpose some lessor used php.ini directives to which custom config files loaded
date.sunrise_zenith "CMSB_CONFIG_PHP_INI"

; COMPLETE php.ini FILE (NEW)
; disable suhosin extension
suhosin.session.encrypt = Off
suhosin.simulation      = On

; reset php values
safe_mode           = Off
magic_quotes_gpc    = Off
register_globals    = Off
max_file_uploads    = 100 
upload_max_filesize = 100M
post_max_size       = 100M
open_basedir        = none

; disable output buffering & compression
;output_buffering        = Off
;output_handler          = Off
;zlib.output_compression = Off
;zlib.output_handler     = Off

nmsinc

By Dave - February 23, 2015

Hinmsinc, 

Thanks for the update, that's really interesting.  Could you email me direct at dave@interactivetools.com so I can further debug that?

I'd like to figure out what's going on so we can make sure it doesn't happen with future updates.

Thanks!

Dave Edis - Senior Developer
interactivetools.com