[WEB/ADMIN] SpaceBukkit Beta 1.2 - Web Administration the awesome way!

Discussion in 'Bukkit Tools' started by SpaceCP, Feb 3, 2012.

  1. Offline

    M1sT3rM4n

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am still waiting until most of the current bugs are ironed out :)
  2. Offline

    Antariano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Your call bud :)

    This post has been edited 1 time. It was last edited by Antariano Feb 8, 2012.
  3. Offline

    half_bit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you previously encountered this Error:
    Code:
    Warning: SplFileInfo::openFile(/var/www/html/console/app/tmp/cache/persistent/cake_core_default_en-us) [function.SplFileInfo-openFile]: failed to open stream: No such file or directory in /var/www/html/console/lib/Cake/Cache/Engine/FileEngine.php on line 293
    [more errors]
    Please visit our wiki, we have a fix now: linki to fix

    Also, I would be happy if you could give your input: woa another link, this time to some Forum Post!

    This post has been edited 2 times. It was last edited by half_bit Feb 8, 2012.
  4. Offline

    M1sT3rM4n

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    But its so complicated!
    Nathan C likes this.
  5. Offline

    DigitalStorm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Finally got it installed, and it works great, was a bit complicated.
  6. Offline

    Antariano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes, we're working on making it simpler, and stable. Sorry bout that, I didn't want OB to be so buggy :D
  7. Offline

    dark_hunter

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey @Antariano I'm thinking of hosting the panel for people who don't feel like the extra work, could I charge per month and say you get for example you get %20 of the profits? If not I understand.
  8. Offline

    half_bit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Jamy is already planning on doing hosting.
  9. Offline

    Jamy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well we/I are/am working on our own system for this ;)
    Don't worry :)
  10. Offline

    dark_hunter

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I know you guys are sorting something, but its good to have options? Am I right?
  11. Offline

    Lummox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am using xampp and Linux, I followed the tutorial but when I start localhost / spacebukkit / index.php I get "Error 403"

    I guess I have to change this:

    "<Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow, deny
    allow from all
    </ Directory> "

    But I am using xampp and not know where to find this file for editing.

    Can help me?, Thanks and best regards;)
  12. Offline

    half_bit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It's located in C:\xampp\apache\conf\extra\httpd-vhosts.conf on windows, you will need to search for a entry like:

    and change it to AllowOverride All
    Sorry, I misread Xampp for Windows, the above is not correct in that case

    This post has been edited 2 times. It was last edited by half_bit Feb 9, 2012.
  13. Offline

    Lummox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The file you have to configure xampp (in linux) is Httpd.conf this in "/ opt / lampp / etc", I've changed, and I have put the value "all". Restart Apache.

    I try again and I get "Error 403" again. As I see it can be permissions issues, I deleted the file. ".htaccess" inside the folder "spacebukkit". Again I try to run the script, and now I get this message:

    "Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

    Fatal error: Unknown: Failed opening required '/ opt / lampp / htdocs / spacebukkit / index.php' (include_path = '. :/ Opt / lampp / lib / php') in Unknown on line 0 "

    o this error:

    "Warning: include(/opt/lampp/htdocs/spacebukkit/lib/Cake/bootstrap.php) [function.include]: failed to open stream: Permission denied in /opt/lampp/htdocs/spacebukkit/app/webroot/index.php on line 81

    Warning: include() [function.include]: Failed opening '/opt/lampp/htdocs/spacebukkit/lib/Cake/bootstrap.php' for inclusion (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/spacebukkit/app/webroot/index.php on line 81

    Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your /cake core directory and your /vendors root directory. in /opt/lampp/htdocs/spacebukkit/app/webroot/index.php on line 86"

    Failing now?

    Thanks and regards.

    This post has been edited 1 time. It was last edited by Lummox Feb 9, 2012.
  14. Offline

    half_bit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry I misread Xampp for windows, my fault.
    The .htaccess file is needed, spacebukkit won't work without it.
    How did you install spacebukkit? Manually or with the script?
    Please post your /opt/lampp/etc/httpd.conf here.
  15. Offline

    Lummox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Dont worry ;)

    I've installed manually. The problem I commented above, I think it was from the permits, and the owner. I changed the permissions of the entire folder (to test) to 777 and also I changed the owner for my user.

    Now when I launch it again I get this:

    [IMG]

    Comment I have every Spacebukkit directory with permissions at 777

    EDIT: I copied the file again .htaccess and I have set permissions to 777 and changed the owner.

    Now I get this:

    [IMG]

    EDIT 2: I created a file named "Index.phpController.php" and I have pasted the code that I get. Back to throw and I say this now:

    "Parse error: syntax error, unexpected '.', Expecting '{' in / opt / lampp / htdocs / spacebukkit / app / Controller / Index.phpController.php on line 2"

    Is resisting the Spacebukkit XD

    Thanks and regards.

    This post has been edited 2 times. It was last edited by Lummox Feb 9, 2012.
  16. Offline

    half_bit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Delete everything in spacebukkits folder and use the script dl.xereo.net/rec/install.sh (launch it with bash install.sh)
    And post your /opt/lampp/etc/httpd.conf to let me see if you configured that right.
  17. Offline

    Lummox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The install.sh script does not detect the xampp package. He tells me that I have installed apache (when if I have, but that comes with xampp).
    Httpd.con: http://pastebin.com/Qx0Me72h

    This post has been edited 1 time. It was last edited by Lummox Feb 9, 2012.
  18. Offline

    dark_hunter

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Xampp = Windows, LAMP = Linux.
  19. Offline

    half_bit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just say No when it asks you >_>
    It doesn't matter what you answer, the important thing is that the scripts changes the permissions correctly and puts everything in the right place.
    You had an error in there, replace it with this one: http://pastie.org/3348691
  20. Offline

    half_bit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The userbase likes to call it Xampp for XYZ, not carrying what the X or L actually means, sadly :p
  21. Offline

    dark_hunter

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You can't win them all. :D
  22. Offline

    Antariano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    XAMPP
    -> X for any OS, Apache, MySQL, PHP and Perl
    LAMPP, MAMPP, WAMPP
    -> Linux/Mac/Windows, Apache, MySQL, PHP and Perl

    :p
    GatsbyTheGreat and Nathan C like this.
  23. Offline

    half_bit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    LAMPP is pretty useless since you only have to install apache2 and mysql-server on the most popular distros over the package manager, something everybody can do in under 10mn
    WAMPP is the most popular because fuck IIS
    MAMPP same as linux, has apache2 and mysql-server packages
    Userbase LAMPP: ~20%
    Userbase XAMPP: ~70%
    Userbase MAMPP: ~10%
    so when you say Xampp you most likely mean Wampp to about 70%

    dem facts
    Antariano likes this.
  24. Offline

    Lummox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Perfect! I have advanced in the installation. But I'm not done ... : D

    Now I come to this screen:
    http://imageshack.us/photo/my-images/46/pantallazodel2012020917.png/

    But I have a few things clear. Where it says title, will be the one I want not, the address, put the address of my server, which puts people in their homes, not localhost, that is miadress.com (example).

    Then where it says "Spacebukkit port", is the port that I have for my server? (default 25565)

    For "Spacebukkit RTK port" is the port used by the remote toolkit by default? (25561)

    It says the default is 2011 and 2012? (I do not understand this part)

    Then I have to put where it says "Salt". What to put there?.

    And finally, the role it my default visitor. But then I can add users and change the role of administrator?.

    Thanks and regards.

    This post has been edited 2 times. It was last edited by Lummox Feb 9, 2012.
  25. Offline

    Antariano

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Your SpaceBukkit server runs on RTK with the SpaceBukkit module and plugin installed.

    The title is just a name you give the server.

    The two ports are used by spacebukkit, and are by default 2011 and 2012. Make sure you keep them open on your server.

    The "Salt" is a randomly generated password-string located in your SpaceBukkit config.yml file in
    yourserver/plugins/Spacebukkit/config.yml
    Where you also can change the default ports, by the way.

    The "default" role is the access role you give new admins you create by default, but you can always modify this value, the role, the users, everything!

    Have fun :p
  26. Offline

    Lummox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well I do not understand what I'm doing wrong.

    I set this part as follows:

    Name: Project7
    Address: project7.es
    Spacebukkit port: 2011
    SpaceRTk port: 2012
    Salt: Copy / Paste of the generated key in the file config.yml file that's in the plugins folder "Spacebukkit"
    Default role: Viewer

    The ports 2011, 2012 are open in my router, as well as the 25561 and 25565 are the RTK and Craftbukkit (default ports).

    Bukkit server is not hosted on any host server is a "home".

    EDIT: The server is running when I try to set this part. (Executed with rtoolkit.sh launcher)

    EDIT 2: Well, I got it!, I had to put the server address, internal IP, does not work if I put my domain name.

    Just one last thing, when I add a new user and I want to be administrator of the site, which is the difference between check "superuser" and not activate it?. If not active, then I put in as an administrator ... is not the same?. What benefits gives exactly be "superuser".

    Thanks and best regards;)

    This post has been edited 3 times. It was last edited by Lummox Feb 9, 2012.
  27. Offline

    Jamy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The salt in the config is not randomly generated, please change it ;)
    Also pleas post this issue on our forums: http://forums.xereo.net

    This post has been edited 1 time. It was last edited by Jamy Feb 9, 2012.
  28. Offline

    Lummox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Edit my previous message. It works, but I can only resolve a doubt in my previous message, What I have written in blue :)

    PS: I'm trying Spacebukkit, I'm loving this utility, you just have a translation into Spanish to be perfect: D

    Thanks and regards.

    This post has been edited 1 time. It was last edited by Lummox Feb 9, 2012.
  29. Offline

    Finda

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What permission plugins are currently supported by Spacebukkit?
  30. Offline

    Jamy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    None yet, though I'm working on it atm

Share This Page