Aurora-WebUI/Installation

De DigiWiki.

Install Guide

Ensure port 8007 is open on your router.

Please remember to backup your database regularly.

  1. Unzip & Upload these files to your webserver.
  2. Goto "Aurora-WebUI/settings/"

(basic must settings)

System (Config.php)

define("SYSNAME","This_usually_is_what_the_site_is_called");
define("SYSURL","http://your_webui_server_ip_or_dns/");
define("SYSMAIL","you@yourdomain.com");
define("WEBUI_SERVICE_URL","http://your_webui_server_ip_or_dns:8007/WEBUI");
define("WEBUI_TEXTURE_SERVICE","http://your_webui_server_ip_or_dns:8002");
define("WEBUI_MAP_SERVICE","http://your_webui_server_ip_or_dns:8012/MapService");
define("WEBUI_MAPAPI_SERVICE","http://your_webui_server_ip_or_dns:8012/MapAPI");
define("WEBUI_PASSWORD","Password");
// Default StartPoint for Map
$mapstartX = 1000;
$mapstartY = 1000;

Database (databaseinfo.php)

define("C_DB_TYPE","mysql");
// Your Hostname here:
define("C_DB_HOST","localhost");
// Your Databasename here:
define("C_DB_NAME","aurora");
// Your Username from Database here:
define("C_DB_USER","aurora");
// Your Database Password here:
define("C_DB_PASS","changeme");

3. Make a backup of your database ;)

4. Import the .sql files inside "./www/sql_update/" into your MySql database (Placed in the same Database as aurora)

5. copy AuroraWebUI from .Aurora-WebUI/AuroraService/addon-modules/ into your ~/Aurora-Sim/addon-modules/ directory

6. Run runprebuild.bat or runprebuild2010.bat

7. Run compile.bat

For grid mode (running Aurora.Server.exe)

8. In the Aurora-Sim\bin\AuroraServerConfiguration\Main.ini file,

Ensure the password matches define("WEBUI_PASSWORD","***"); in Aurora-WebUI/settings/config.php

WebUIHandler = WebUIHandler
WebUIHandlerPassword = ***
WebUIHandlerPort = 8007
WebUITextureServerPort = 8002

For standalone mode (just running Aurora.exe)

9. In the Aurora-Sim\bin\Configuration\Standalone.ini file, copy the following info and
ensure the password matches define("WEBUI_PASSWORD","***"); in Aurora-WebUI/settings/config.php

WebUIHandler = WebUIHandler
WebUIHandlerPassword = ***
WebUIHandlerPort = 8007
WebUITextureServerPort = 8002

NOTE: define("WEBUI_PASSWORD","***"); and WebUIHandlerPassword = *** passwords need to be the same.


Admin Panel

The Admin Panel is located at: http://yourdomain.com/admin

To add your user as an Admin Panel User: Start Aurora (Aurora.Server in grid mode) and after it has started, type

webui promote user

and fill in the information that is asked for.

The user will now be able to use the Admin Panel as given above

Enjoy Aurora WebUI

To remove a user from the Admin Panel: Start Aurora (Aurora.Server in grid mode) and after it has started, type

webui demote user

and fill in the information that is asked for.

The user will now not be able to use the Admin Panel

Choose avatar

To choose a avatar on registration you have to make some avatar archives

NOTE: I have only tested this with database archives and not file archives. To save a archive in the database you must give it a name ending with ".database"

Note: When displaying textures from the texture server they will be resized to 128x128 and at the bottom will be writen the grid nickname

  1. Dress a avatar up like you want it to look
  2. Take a picture of it and upload this to the grid
  3. in the console of the grid server issue this command
save avatar archive <First> <Last> <Filename> <FolderNameToSaveInto> (--snapshot <UUID>) (--public)

example:

save avatar archive first last hippo.aa folder --snapshot 12345678-1234-1234-1234-123456789012 --public

Note: Only pulic ones will be listed on the website.

Trouble Shooting

  • Page editor will not load in Administrator Section.

While testing on osgrid.org we resolved this issue by creating a .htaccess file in the root of your website with the following code

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.yourdomain.com$
RewriteRule (.*)$ http://yourdomain.com/$1 [R=301,L]

  • Set up your php.ini mail

  • Says unknow error, or something when wrong right after I turned on opensim..

<skidz> oh.. one thing to note..
<skidz> opensim seems to have a bug.. when making calls to the handler.. the first one always fails after you start opensim
<skidz> It actually runs.. but.. the data is never returned to the php..
<skidz> but.. after that first.. seems to work fine..
<skidz> I have not tried to debug this yet
<skidz> I should add that in the install.. lol


  • I get the following message trying to load opensimwi in my web browser:
query("SELECT password FROM ".C_ADMIN_TBL." WHERE password='$_SESSION[ADMINUID]'"); list($admpass) = $DbLink-&gt;next_record(); if($admpass){ $ADMINCHECK = $admpass; }else{ $ADMINCHECK = "454"; } if($_POST[adminlogin]=="admincheck"){ $pass = $_POST[password]; $passcheck = md5(md5($pass) . ":" ); $DbLink-&gt;query("SELECT username,password FROM ".C_ADMIN_TBL." WHERE username='$_POST[username]'"); list($adminname,$adminpass) = $DbLink-&gt;next_record(); if($adminpass == $passcheck){ $_SESSION[ADMINUID] = $adminpass; } } if($_POST[check]==1){ echo ""; }&nbsp;?&gt;
Resolution: Your PHP is not configured to use short tags or asp style, to fix the problem edit your php.ini and locate the following lines:

Find:
short_open_tag = Off
; Allow ASP-style <% %> tags.
asp_tags = Off

Change to:
short_open_tag = On
; Allow ASP-style <% %> tags.
asp_tags = On

After you save your php.ini restart apache and you should be ok now.


  • I get the following message trying to load opensimwi in my web browser:

Notice: Use of undefined constant ...

Resolution: Your PHP is not configured to handle errors properly, to fix the problem edit your php.ini and locate the following lines:

Find:

error_reporting = E_ALL

Change to:

error_reporting = E_ALL & ~E_NOTICE

Quickmap

See: Quickmap

Outils personnels
  • Cette page a été consultée 6 722 fois.
donate
Google Ads