Closed spiffzilla closed 11 years ago
Only some formats of the save is accepted of course, but most sane structure should work. I tested (and added support for) a lot of save formats I found on the internet. For the preferred structure, just download a map from the interface (the zip file should contain a single folder with the same name as the zip file minus ".zip", which should then contain the "data" directory etc). But anyway, it would not give you the "unknown command" error if it was just the format being wrong.
It seems to work for me. Did you use the "upload" or "fetch" method?
I found the error
The unknown command was because of a too small amount for the post size variable, post_max_size
After i fixed that i got a second error: Upload failed! upload_max_filesize in php.ini is too small
Thats was because of a too small upload_max_filesize
Sorry about that, should have read the logs in the first place :-)
How about the GUI problems? (See the image ) Shouldn't it be tabs? Tested in chrome and internet explorer, same look.
If you look at the html source code, it is loading a stylesheet on line 5 ( <link rel="stylesheet" type="text/css" href="rfwadmin_files/main.css" /> ). It seems like that is not being loaded. Could you try to see why that is?
I added some code to detect when post_max_size is too small, and added an error message describing how to fix it.
Thanks for the help. The error was a broken symlink... The link to css was broken but the javascript should have been broken too, maybe they were and i didn't see it :-)
A simple "ln -s ../lib/minecraft/web/visible rfwadmin_files" from the /var/www/ folder fixed it
A simple install script that copies everything, with a couple of chowns and symlinks creations might help your users? It's a great kit youve made.
Yup, I should probably make a simple install script.
There is now a simple (and untested!) install script.
Which has to be run as root - the fun thing to do with untested install scripts!
I get the error message "unknown command!" then uploading a zip with a map. Is the maps supposed to live in a special folder structure in the zip?
The GUI seems to be broken for me also, see attacehd image.
I'm running Ubuntu 12.10, a clean server install with apache and php 5.4.6