I have an installation of ckeditor and ckfinder on my server. It seems to use a threshold of 2mb for the max file size for an image or pdf upload (I assume other types as well, but I haven't tried).
I went into the /var/www/ckfinderPHP/config.php
and changed the `maxSize` field for all of the ResourceTypes to 5M, 10M, and even 0, but it still doesn't seem to take effect.
I checked my server with a
<?php echo phpinfo(); ?>
and it has an effective upload_max_filesize of 5M. The file I am testing with is only `2,449,408 bytes`
My question is how can I check to see what the effective max upload size is for my ckfinder installation and/or how can I change it?
Below is some detail as far as what I've done/understand.
I have checked the ajax call to http://website.com/ckfinder/core/connector/php/connector.php?command=Init
and it doesn't seem to return anything about max file size.
Here is the returned result (I just changed the domain name):
<ConnectorInfo enabled="true" s="" c="" thumbsEnabled="true" thumbsUrl="/website.com/userfiles/_thumbs/" thumbsDirectAccess="false" imgWidth="1600" imgHeight="1200" plugins="imageresize,fileeditor"/>
<ResourceType name="Files" url="/website.com/userfiles/files/" allowedExtensions="7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,zip" deniedExtensions="" hash="62f5f3f9116ca90e" hasChildren="false" acl="255"/>
<ResourceType name="Images" url="/website.com/userfiles/images/" allowedExtensions="bmp,gif,jpeg,jpg,png,avi,iso,mp3,pdf" deniedExtensions="" hash="e49de671ead7fdb0" hasChildren="false" acl="255"/>
<ResourceType name="Flash" url="/website.com/userfiles/flash/" allowedExtensions="swf,flv" deniedExtensions="" hash="807ba6318e61f594" hasChildren="false" acl="255"/>
<imageresize smallThumb="90x90" mediumThumb="120x120" largeThumb="180x180"/>
The file that generates this is found at: /var/www/ckfinderPHP/core/connector/php/php5/CommandHandler/Init.php
This has the lines:
// Create the "ResourceTypes" node.
$_oResourceTypes = new Ckfinder_Connector_Utils_XmlNode("ResourceTypes");
Which I traced back to: /var/www/ckfinderPHP/core/connector/php/php5/Utils/XmlNode.php
But it is here where I lose track of what is happening.
Any help is appreciated, Dan.