When I try to upload a file that is more than 35k (yes k not M), then the post operation times out. Files 35k and under seem to upload just fine. I checked the /etc/php5/apache2/php.ini, the /etc/apache2/http.conf, and the /var/data/mediawiki/includes/SpecialImport.php file as suggested in many other posts and they are set for 2M. What could be the problem? I tested the upload using IE on XP, Firefox on XP, and Safari on OS X.
I checked the /var/log/apache2/access.log and the Special:Upload post command seems to have had a HTTP status of 200, so the problem seems to be with MediaWiki and not PHP.
Should the files use 2M for 2 Meg or should they be in bytes?
I'm new to Linux and PHP, so I've included the full paths in case I am looking in the wrong place.
Thanks for your help
Mike
File uploading times out if over 25k (yes k)
Hi Mike,
This is strange. I have just uploaded a few files (up to 1.1MB) without trouble to the latest MediaWiki 1.0.7 JumpBox.
What version of the JumpBox are you using and can you describe some things about your setup:
* Have you disabled the JumpBox Navigation Bar?
* Are you accessing a JumpBox from the Host machine?
* What virtualization platform are you using?
* Is the JumpBox on the same local network as the machine you are uploading from?
Austin
Thanks for your help.
Thanks for your help.
I'm running on a Windows 2003 Server host with VMWare Server 1.0.4.
I have the JumpBox bar disabled. The version I am using is mediawiki 1.0.4.
I am using IIS with ISAPI_Rewrite 3.1.0.41 forwarding all requests with a specific domain (host header) to the VM private IP address. This configuration allows me to run 3 JumpBoxes at the same time plus run my regular ASP pages.
In gathering this information, I thought I would try to upload the file from the server but using the private 192.168 address, and it works. So, the problem seems to be with ISAPI_Rewrite. To confirm this, I enabled the NAT service in the VMWare Server and configured a port forward of host port 8080 to my Jumpbox's private 192.168 address port 80. When the mediawiki is accessed from another machine this way, I can upload much larger images (up to the expected 2M).
Thanks for helping me probe a bit further. I will now contact ISAPI_Rewrite to see how I can get around it.
Thanks
Mike
Update: I contacted ISAPI_Rewrite authors and they told me to upgrade to the latest version. I had 3.0041 and the latest version was 1.0045. Once I installed the latest version, everything worked fine.
File uploading times out if over 25k (yes k)
Cool, thanks for the feedback.
Austin