[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]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9810 >
On Wed, 25 Aug 2004, Jason Short wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9810 >
> There are some pictures. But if I click on one of them I get a server
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
-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