Mailing List Archive

Upload File problem
Hello,

I just installed MediaWiki 1.2.5 on rh 9., with php 4.2.2 and apache
2.0.40. So far so good, except I can't upload files. When I try to upload a
file from a windows xp client using IE 6.0.28 I get a "The page cannot be
displayed" message. Doing the same thing with Mozilla 1.5 I get "The
document contains no data" alert. Same alert error using Mozilla from the
linux server, by the way.

I've given write permissions to images and php.ini seems to be configured
to allow uploads. Any ideas?

Thanks!

Thoreau


Thoreau Lovell
Digital Systems Design and Development Coordinator
J. Paul Leonard Library, San Francisco State University
415-338-2285 | tlovell@sfsu.edu
Re: Upload File problem [ In reply to ]
> Hello,
>
> I just installed MediaWiki 1.2.5 on rh 9., with php 4.2.2 and apache
> 2.0.40. So far so good, except I can't upload files. When I try to
> upload a file from a windows xp client using IE 6.0.28 I get a "The
> page cannot be displayed" message. Doing the same thing with Mozilla 1.5
> I get "The document contains no data" alert. Same alert error using
> Mozilla from the linux server, by the way.
>
> I've given write permissions to images and php.ini seems to be
> configured to allow uploads. Any ideas?

Have you enabled uploading and stuff in LocalSettings.php ?

Manfred
>
> Thanks!
>
> Thoreau
>
>
> Thoreau Lovell
> Digital Systems Design and Development Coordinator
> J. Paul Leonard Library, San Francisco State University
> 415-338-2285 | tlovell@sfsu.edu
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Re: Upload File problem [ In reply to ]
Thanks Manfred, I think I've enabled uploading in LocalSettings.php with
the following lines:

$wgDisableUploads = false;
$wgUploadPath = "$wgScriptPath/images";
$wgUploadDirectory = "$IP/images";

There are other indicators of problems related to images.

Images don't show up when I try to include an inline image on a page.
No images show up in special pages -> image list

But if I change the logo to a .jpg I put in wiki/images it displays.

Could all of this point to an incompatibility with php 4.2.2? Or does it
sound more like a simple configuration problem?

The only line my php.ini that seems relevant is: file_uploads = On.

upload_tmp_dir is not set.

Could an Apache configuration setting cause this?

Thanks again



At 11:41 PM 5/13/2004 +0200, you wrote:
>>Hello,
>>
>>I just installed MediaWiki 1.2.5 on rh 9., with php 4.2.2 and apache
>>2.0.40. So far so good, except I can't upload files. When I try to
>>upload a file from a windows xp client using IE 6.0.28 I get a "The
>>page cannot be displayed" message. Doing the same thing with Mozilla 1.5
>>I get "The document contains no data" alert. Same alert error using
>>Mozilla from the linux server, by the way.
>>
>>I've given write permissions to images and php.ini seems to be
>>configured to allow uploads. Any ideas?
>
>Have you enabled uploading and stuff in LocalSettings.php ?
>
>Manfred

Thoreau Lovell
Digital Systems Design and Development Coordinator
J. Paul Leonard Library, San Francisco State University
415-338-2285 | tlovell@sfsu.edu
Re: Upload File problem [ In reply to ]
I forgot to mention that register_globals is set to On (php.ini) for
another application that we are running.

Thoreau

At 05:14 PM 5/13/2004 -0700, you wrote:
>Thanks Manfred, I think I've enabled uploading in LocalSettings.php with
>the following lines:
>
>$wgDisableUploads = false;
>$wgUploadPath = "$wgScriptPath/images";
>$wgUploadDirectory = "$IP/images";
>
>There are other indicators of problems related to images.
>
>Images don't show up when I try to include an inline image on a page.
>No images show up in special pages -> image list
>
>But if I change the logo to a .jpg I put in wiki/images it displays.
>
>Could all of this point to an incompatibility with php 4.2.2? Or does it
>sound more like a simple configuration problem?
>
>The only line my php.ini that seems relevant is: file_uploads = On.
>
>upload_tmp_dir is not set.
>
>Could an Apache configuration setting cause this?
>
>Thanks again
>
>
>
>At 11:41 PM 5/13/2004 +0200, you wrote:
>>>Hello,
>>>
>>>I just installed MediaWiki 1.2.5 on rh 9., with php 4.2.2 and apache
>>>2.0.40. So far so good, except I can't upload files. When I try to
>>>upload a file from a windows xp client using IE 6.0.28 I get a "The
>>>page cannot be displayed" message. Doing the same thing with Mozilla 1.5
>>>I get "The document contains no data" alert. Same alert error using
>>>Mozilla from the linux server, by the way.
>>>
>>>I've given write permissions to images and php.ini seems to be
>>>configured to allow uploads. Any ideas?
>>
>>Have you enabled uploading and stuff in LocalSettings.php ?
>>
>>Manfred
>
>Thoreau Lovell
>Digital Systems Design and Development Coordinator
>J. Paul Leonard Library, San Francisco State University
>415-338-2285 | tlovell@sfsu.edu
>
>_______________________________________________
>MediaWiki-l mailing list
>MediaWiki-l@Wikimedia.org
>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

Thoreau Lovell
Digital Systems Design and Development Coordinator
J. Paul Leonard Library, San Francisco State University
415-338-2285 | tlovell@sfsu.edu
Re: Upload File problem [ In reply to ]
From the Readme:
---snip

PHP

The code is written in PHP. Version 4.3.2 or higher is
recommended. There are known issues with early 4.2.x
releases.

---snap

Whether this is relevant for you. I don't know.

The images directory is writeable for the useraccount that is supposed to
store the images there, I suppose?

Manfred


Am Thu, 13 May 2004 17:14:50 -0700 hat Thoreau Lovell <tlovell@sfsu.edu>
geschrieben:

> Thanks Manfred, I think I've enabled uploading in LocalSettings.php with
> the following lines:
>
> $wgDisableUploads = false;
> $wgUploadPath = "$wgScriptPath/images";
> $wgUploadDirectory = "$IP/images";
>
> There are other indicators of problems related to images.
>
> Images don't show up when I try to include an inline image on a page.
> No images show up in special pages -> image list
>
> But if I change the logo to a .jpg I put in wiki/images it displays.
>
> Could all of this point to an incompatibility with php 4.2.2? Or does it
> sound more like a simple configuration problem?
>
> The only line my php.ini that seems relevant is: file_uploads = On.
>
> upload_tmp_dir is not set.
>
> Could an Apache configuration setting cause this?
>
> Thanks again
>
>
>
> At 11:41 PM 5/13/2004 +0200, you wrote:
>>> Hello,
>>>
>>> I just installed MediaWiki 1.2.5 on rh 9., with php 4.2.2 and apache
>>> 2.0.40. So far so good, except I can't upload files. When I try to
>>> upload a file from a windows xp client using IE 6.0.28 I get a "The
>>> page cannot be displayed" message. Doing the same thing with Mozilla
>>> 1.5
>>> I get "The document contains no data" alert. Same alert error using
>>> Mozilla from the linux server, by the way.
>>>
>>> I've given write permissions to images and php.ini seems to be
>>> configured to allow uploads. Any ideas?
>>
>> Have you enabled uploading and stuff in LocalSettings.php ?
>>
>> Manfred
>
> Thoreau Lovell
> Digital Systems Design and Development Coordinator
> J. Paul Leonard Library, San Francisco State University
> 415-338-2285 | tlovell@sfsu.edu
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l