![]() |
Problem increasing file upload limit - Printable Version +- LetoDMS Community Forum (https://community.letodms.com) +-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4) +--- Forum: Technical Support (https://community.letodms.com/forumdisplay.php?fid=10) +--- Thread: Problem increasing file upload limit (/showthread.php?tid=505) |
Problem increasing file upload limit - rodneyvc - 06-14-2012 I am running LetoDMS 3.3.0 on a hosted service. If I try to increase the file upload limit by creating a php.ini in op/ containing just: post_max_size = 50M upload_max_filesize = 50M max_execution_time = 240 I get the following error when logging in or any other function: Warning: include(Log.php) [function.include]: failed to open stream: No such file or directory in /home/cancercr/public_html/ldms/inc/inc.LogInit.php on line 21 Warning: include() [function.include]: Failed opening 'Log.php' for inclusion (include_path='/home/cancercr/public_html/ldms/adodb5/:.:/usr/lib/php') in /home/cancercr/public_html/ldms/inc/inc.LogInit.php on line 21 Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Antarctica/Macquarie' for 'EST/10.0/no DST' instead in /home/cancercr/public_html/ldms/inc/inc.LogInit.php on line 25 Fatal error: Class 'Log' not found in /home/cancercr/public_html/ldms/inc/inc.LogInit.php on line 28 I can't modify /usr/local/lib/php.ini. What is the best way to increase the file upload limit in this context? Thanks, Rod RE: Problem increasing file upload limit - steinm - 06-18-2012 (06-14-2012, 12:34 PM)rodneyvc Wrote: Fatal error: Class 'Log' not found in /home/cancercr/public_html/ldms/inc/inc.LogInit.php on line 28 First of all you have to install the pear package Log at a place where php finds it. Uwe RE: Problem increasing file upload limit - EricM - 06-21-2012 I'm guessing your op/php.ini is taking precedence over /usr/local/lib/php.ini, and you've lost the path to PEAR/Log. You'd need to copy some/all settings in the latter to the former, or as Uwe hinted, fix the php search path in the op/php.ini to find the installation of PEAR/Log. http://php.net/manual/en/configuration.file.php (06-14-2012, 12:34 PM)rodneyvc Wrote: I am running LetoDMS 3.3.0 on a hosted service. RE: Problem increasing file upload limit - rodneyvc - 06-28-2012 (06-21-2012, 10:16 PM)EricM Wrote: I'm guessing your op/php.ini is taking precedence over /usr/local/lib/php.ini, and you've lost the path to PEAR/Log. You'd need to copy some/all settings in the latter to the former, or as Uwe hinted, fix the php search path in the op/php.ini to find the installation of PEAR/Log. Thanks - I solved the problem by copying /usr/local/lib/php.ini to the letodms base directory, op/ and out/ and then adding the filesize parameters. |