zambuka42 Posted September 8, 2015 Share Posted September 8, 2015 Scenario: Running Roundcube + IIS 7 + Php 5.4.4 + Hmailserver on a Win7 ultimate machine.I've spent countless hours searching, and I still can't figure out if this is a PHP problem, IIS, or Roundcube problem.. especially since I can't find a decent error msg in any log file.Problem: I can't seem to attach a file in roundcube larger than 1.6MB. The only message I get is File Upload Failed. I have looked in the IIS logs, the roundcube logs, and the php logs to no avail! Is there another way I can get a verbose diagnostic error here? (I only included HMailserver to give a full outlook, but it is not involved in the equation as roundcube is configured to use an external server for smtp). PHP.INI settings: post_max_size = 200M; upload_max_filesize = 20M; Max_file_uploads = 20 memory_limit = 256M; The full phpinfo() is in a pdf attached to this post.Thanks. phpinfo().pdf Quote Link to comment Share on other sites More sharing options...
QuickOldCar Posted September 8, 2015 Share Posted September 8, 2015 Possible an .htaccess file in root or the roundcube directory overwriting it? Quote Link to comment Share on other sites More sharing options...
zambuka42 Posted September 8, 2015 Author Share Posted September 8, 2015 Possible an .htaccess file in root or the roundcube directory overwriting it? There are some php settings in the .htaccess, but they match with my php.ini settings. However, I went ahead and just removed the .htaccess to test.. still the same problem. But thanks so much for taking the time to make a suggestion. I appreciate it. Quote Link to comment Share on other sites More sharing options...
zambuka42 Posted September 8, 2015 Author Share Posted September 8, 2015 Update #1:I can verify that the files being uploaded as an attachment, are being fully uploaded and stored in the wwwroot/temp directory. Once uploaded however, the error occurs, and the files are left in the temp directory.also, very strange.. this is in my php error log... However.. THESE FILES DO EXIST IN THOSE DIRECTORIES!![08-Sep-2015 21:13:46 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\v5.4.4\ext\php_pdo_sqlsrv_54_nts.dll' - The specified module could not be found. in Unknown on line 0[08-Sep-2015 21:13:46 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\v5.4.4\ext\php_sqlsrv_54_nts.dll' - The specified module could not be found. in Unknown on line 0[08-Sep-2015 21:13:46 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\v5.4.4\ext\php_com_dotnet.dll' - The specified module could not be found. in Unknown on line 0 Quote Link to comment Share on other sites More sharing options...
QuickOldCar Posted September 8, 2015 Share Posted September 8, 2015 Looks like you need to enable some modules and acquire some needed dll's Quote Link to comment Share on other sites More sharing options...
scootstah Posted September 8, 2015 Share Posted September 8, 2015 This is a possible fix for the modules issue. Ah, the joys of using PHP on Windows. 1 Quote Link to comment Share on other sites More sharing options...
zambuka42 Posted September 9, 2015 Author Share Posted September 9, 2015 Thanks for all the help.. I figured it out! I did an experiment and created a simple php upload form. It was succcessful. This pointed to a problem soley with roundcube. I disabled plugins until I found the culprit "filesystem_attachments". That's it.. problem solved Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.