Hi,
I've been searching and asked around but I'm not making any progress. We have a mediawiki intergrated with IPB. We want to enable file uploads, specifically images. The instructions we found were to enable uploads in LocalSettings.php and to create a directory for uploads and chmod 777 it. We've done that but when we try to upload an image it tells us that it's disabled. We'd really like to resolve this issue. If anybody can offer any help it would be greatly appreciated.
Thank you
Barbara Smith
On 11/05/07, Barb Smith mystified@satx.rr.com wrote:
I've been searching and asked around but I'm not making any progress. We have a mediawiki intergrated with IPB. We want to enable file uploads, specifically images. The instructions we found were to enable uploads in LocalSettings.php and to create a directory for uploads and chmod 777 it. We've done that but when we try to upload an image it tells us that it's disabled. We'd really like to resolve this issue. If anybody can offer any help it would be greatly appreciated.
If MediaWiki is insisting that uploads are not enabled, it means that the effective value of $wgEnableUploads is being reset to false at some point prior to the end of LocalSettings.php execution, or perhaps extension initialisation, etc.
Add the line $wgEnableUploads = true; to LocalSettings.php at the end of the file. If the line "?>" is present, remove it.
Rob Church
I removed ?> and uploads is still disabled.
On Fri, 11 May 2007 11:22:23 -0500, Rob Church robchur@gmail.com wrote:
On 11/05/07, Barb Smith mystified@satx.rr.com wrote:
I've been searching and asked around but I'm not making any progress. We have a mediawiki intergrated with IPB. We want to enable file uploads, specifically images. The instructions we found were to enable uploads in LocalSettings.php and to create a directory for uploads and chmod 777 it. We've done that but when we try to upload an image it tells us that it's disabled. We'd really like to resolve this issue. If anybody can offer any help it would be greatly appreciated.
If MediaWiki is insisting that uploads are not enabled, it means that the effective value of $wgEnableUploads is being reset to false at some point prior to the end of LocalSettings.php execution, or perhaps extension initialisation, etc.
Add the line $wgEnableUploads = true; to LocalSettings.php at the end of the file. If the line "?>" is present, remove it.
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 11/05/07, Barb Smith mystified@satx.rr.com wrote:
I removed ?> and uploads is still disabled.
I asked you to ensure that $wgEnableUploads = true; was set at the bottom of the file, to avoid it being overwritten by any errant lines above. Removing "?>" was merely advice. Can you confirm that the line in question is active and still having no effect?
Rob Church
I moved it to the bottom of the page and I still can't upload.
On Fri, 11 May 2007 11:41:07 -0500, Rob Church robchur@gmail.com wrote:
On 11/05/07, Barb Smith mystified@satx.rr.com wrote:
I removed ?> and uploads is still disabled.
I asked you to ensure that $wgEnableUploads = true; was set at the bottom of the file, to avoid it being overwritten by any errant lines above. Removing "?>" was merely advice. Can you confirm that the line in question is active and still having no effect?
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org