Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9810) a wiki for a web site

[Freeciv-Dev] Re: (PR#9810) a wiki for a web site

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9810) a wiki for a web site
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Fri, 27 Aug 2004 13:18:23 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: >

On Wed, 25 Aug 2004, Jason Short wrote:

> <URL: >
> There are some pictures.  But if I click on one of them I get a server
> error.

They were probably uploaded the wrong way using curl. I made the same
error once. The Wiki accepted the image, but then didn't actually store
it. This is due to some missing parameter in the curl invocation IIRC.
Unfortunately this takes a bit of work to fix, because the MySQL database
gets borked and then the Wiki doesn't let you remove or overwrite the
image because it can't find the old file (duh).

This way of using curl uploads an image fine (replace the $* parts as

curl -b
-F wpUploadFile=@$FILENAME -F wpUploadDescription=$DESCRIPTION -F
wpUploadAffirm=1 -F wpUpload=Upload%20file

You can get $ID, $USERNAME and $PASSWORD from the wikidbUserID,
wikidbUserName and wikidbPassword cookies stored in your web browser
when you are logged in the wiki.

Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa

[Prev in Thread] Current Thread [Next in Thread]