No-CMS, A Free CodeIgniter based CMS to start your project |
[eluser]goFrendiAsgard[/eluser]
[quote author="mrgswift" date="1354578220"][quote author="goFrendiAsgard" date="1351151624"] @mrgswift: qq library is not written by me. But I think yes, there is a problem with file size limit. Thanks to find it out. I'll try to fix it [/quote] Hi goFrendiAsgard, I figured out what was wrong a few weeks ago and thought I would post it here. There is a problem with the if statement In the file modules/wysiwyg/fileuploader_library/php.php on lines 121 to 124 Code: if ($postSize < $this->sizeLimit || $uploadSize < $this->sizeLimit){ If you notice what this if statement is doing, anytime the postSize or uploadSize is less than the sizeLimit, it will die and display the error message that you need to increase your post_max_size and upload_max_filesize. This should be the other way around. Line 121 should be changed to: Code: if ($postSize > $this->sizeLimit || $uploadSize > $this->sizeLimit){ Thanks for your hard work goFrendiAsgard! [/quote] At the first glance I don't notice it too :p But thanks, I've just push a commit in github https://github.com/goFrendiAsgard/No-CMS...286cc8f812 |
Welcome Guest, Not a member yet? Register Sign In |