Y'all were so fast and helpful with my upgrade issue, that I'm coming right back to the well.
The reason I upgraded was because I went to modify my group wiki to allow uploading of PDF and Visio diagrams. I've looked at the relevant docs and tried the several ways to add types, namely:
(mind the wrap)
$wgFileExtensions = array('png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'mpp', 'pdf');
and
$wgFileExtensions[] = 'doc'; $wgFileExtensions[] = 'xls'; $wgFileExtensions[] = 'pdf'; $wgFileExtensions[] = 'mpp';
(these are right from http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads - I've adjusted mine for just pdf and vsd).
Neither seem to work.
I tried restarting httpd, but realized that really has nothing to do with it and it's a php thing, surely. I did go into /etc/php.ini and update my allowable upload size as well.
Clearly, I'm missing something ...
MediaWiki 1.12.0 PHP 5.1.6 (apache2handler) MySQL 5.0.45
All on RHEL 5.2.
Let's start with the obvious...can you upload other file types? In localsettings.
$wgEnableUploads = true;
set permissions so apache can write to the images directory.
JH
On Jun 23, 2008, at 4:43 PM, Peter Laws wrote:
Y'all were so fast and helpful with my upgrade issue, that I'm coming right back to the well.
The reason I upgraded was because I went to modify my group wiki to allow uploading of PDF and Visio diagrams. I've looked at the relevant docs and tried the several ways to add types, namely:
(mind the wrap)
$wgFileExtensions = array('png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'mpp', 'pdf');
and
$wgFileExtensions[] = 'doc'; $wgFileExtensions[] = 'xls'; $wgFileExtensions[] = 'pdf'; $wgFileExtensions[] = 'mpp';
(these are right from http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads
- I've adjusted mine for just pdf and vsd).
Neither seem to work.
I tried restarting httpd, but realized that really has nothing to do with it and it's a php thing, surely. I did go into /etc/php.ini and update my allowable upload size as well.
Clearly, I'm missing something ...
MediaWiki 1.12.0 PHP 5.1.6 (apache2handler) MySQL 5.0.45
All on RHEL 5.2.
-- Peter Laws / N5UWY National Weather Center / Network Operations Center University of Oklahoma Information Technology plaws@ou.edu
Feedback? Contact my director, Craig Cochell, craigc@ou.edu. Thank you! _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
Let's start with the obvious...can you upload other file types? In localsettings.
$wgEnableUploads = true;
set permissions so apache can write to the images directory.
Yes. Been doing that for some time and now have users that want to put other files up.
-- Peter Laws / N5UWY National Weather Center / Network Operations Center / Remote University of Oklahoma Information Technology plaws@ou.edu
I figured you had, but I've forgotten to turn those back on when updating before...
So... more detail about what you see when it "doesn't work"?
Jim
On Jun 23, 2008, at 6:15 PM, Laws, Peter C. wrote:
Let's start with the obvious...can you upload other file types? In localsettings.
$wgEnableUploads = true;
set permissions so apache can write to the images directory.
Yes. Been doing that for some time and now have users that want to put other files up.
-- Peter Laws / N5UWY National Weather Center / Network Operations Center / Remote University of Oklahoma Information Technology plaws@ou.edu
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
mediawiki-l@lists.wikimedia.org