flagflag  If you want to see English page, please click "English" Button at Left.

Selling Land Parcels and Helper Scripts

  • このフォーラムに新しいトピックを立てることはできません
  • このフォーラムではゲスト投稿が禁止されています
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 .2 | 投稿日時 2016-6-28 12:32
jony  Just popping in   投稿数: 7
I installed the NSL Money Server last Sunday night and the Money system is working well
However - I cannot sell Land
I wish at very least to be able to sell a parcel of land for 0$ to a specific person

My System is Ubuntu Server
I run Apache2 and have installed php-xmlrpc and php-curl with apt-get
My Version of php is 7

I installed the Helper scripts Below is the ls -l of the Dirs
root@ubuntuM:/home/web/html/currency# ls -l
total 36
drwxr-sr-x 2 80 80 4096 Jun 28 11:57 config
drwxr-sr-x 4 80 80 4096 Nov 30 2014 flotsam_XmlRpcGroup
drwxr-sr-x 3 80 80 4096 Jun 27 21:17 helper
drwxr-sr-x 6 80 80 4096 Nov 30 2014 images
drwxr-sr-x 2 80 80 4096 Jun 28 11:55 include
drwxr-sr-x 2 80 80 4096 Nov 30 2014 jbxl
drwxr-sr-x 6 80 80 4096 Nov 30 2014 opensim.helper
drwxr-sr-x 2 80 80 4096 Nov 30 2014 opensim.phplib
-rwxr-xr-x 1 80 80 287 Nov 30 2014 rm_symblink
root@ubuntuM:/home/web/html/currency#

root@ubuntuM:/home/web/html/currency/include# ls -l
total 0
lrwxrwxrwx 1 80 80 20 Nov 30 2014 config.php -> ../config/config.php
lrwxrwxrwx 1 80 80 18 Nov 30 2014 cron.php -> ../config/cron.php
lrwxrwxrwx 1 80 80 31 Nov 30 2014 env.mysql.php -> ../opensim.phplib/env.mysql.php
lrwxrwxrwx 1 80 80 27 Nov 30 2014 env_interface.php -> ../config/env_interface.php
lrwxrwxrwx 1 80 80 20 Nov 30 2014 index.html -> ../config/index.html
lrwxrwxrwx 1 80 80 22 Nov 30 2014 jbxl_tools.php -> ../jbxl/jbxl_tools.php
lrwxrwxrwx 1 80 80 32 Nov 30 2014 mysql.func.php -> ../opensim.phplib/mysql.func.php
lrwxrwxrwx 1 80 80 35 Nov 30 2014 opensim.mysql.php -> ../opensim.phplib/opensim.mysql.php
lrwxrwxrwx 1 80 80 22 Nov 30 2014 tools.func.php -> ../jbxl/tools.func.php
root@ubuntuM:/home/web/html/currency/include#

and my config.php ->

<?php
//
// Configration file for non Web Interface
//
//
//

// Please set this hepler script URL and directory
if (!defined('ENV_HELPER_URL')) define('ENV_HELPER_URL', 'http://thekaz.ddns.$
if (!defined('ENV_HELPER_PATH')) define('ENV_HELPER_PATH', '/home/web/html/curr$

///////////////////////////////////////////////////////////////////////////////$
// Valiables for OpenSim

// Please set MySQL DB access information
define('OPENSIM_DB_HOST', 'localhost');
define('OPENSIM_DB_NAME', 'opensim');
define('OPENSIM_DB_USER', 'opensimuser');
define('OPENSIM_DB_PASS', 'opensimpassword');
//
define('OPENSIM_DB_MYSQLI', true); // if you use MySQLi interface,$


// Money Server Access Key
// Please set same key with MoneyScriptAccessKey in MoneyServer.ini
define('CURRENCY_SCRIPT_KEY', '123456789');


// Group Module Access Keys
// Please set same keys with at [Groups] section in OpenSim.ini (case of Aurora$
define('XMLGROUP_RKEY', '1234'); // Read Key
define('XMLGROUP_WKEY', '1234'); // Write key

///////////////////////////////////////////////////////////////////////////////$
// You need not change the below usually.


I have checked the keys above and they are correct
In Robust.ini AND Robust.HG.ini I have sent the [GridInfoService] sections to show :
economy = http://thekaz.ddns.net/currency/helper/

I must be missing something here - When I try to buy land - I get an "Unable to Authenticate" or "Cannot Resolve Hostname" error in the Viewer
I have also gone through the the Other forum regarding this same error - but I done believe I have to edit php files?
Any help suggestions will be greatly appreciated

Thank you
Jony
投票数:100 平均点:5.20
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2016-6-30 20:51
iseki  Home away from home   投稿数: 1581
Please check PHP log. And Apache, OpenSim and MoneyServer log too.
投票数:81 平均点:3.70
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2016-7-1 17:32
jony  Just popping in   投稿数: 7
OK PROBLEM IS SOLVED
Thank you Iseki san for Pointing me in the right direction

Steps to resolve
1. Apache2 error logs showed this
root@ubuntuM:/var/log/apache2# cat error.log
[Thu Jun 30 06:25:03.212835 2016] [mpm_prefork:notice] [pid 7063] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Thu Jun 30 06:25:03.212887 2016] [core:notice] [pid 7063] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jun 30 20:51:58.869516 2016] [:error] [pid 23066] [client 36.2.113.124:59504] PHP Notice: Undefined variable: HTTP_RAW_POST_DATA in /home/web/html/currency/opensim.helper/currency.php on line 329
[Thu Jun 30 20:52:08.855210 2016] [:error] [pid 23300] [client 36.2.113.124:59517] script '/var/www/html/currency/helper/land.php' not found or unable to stat
[Thu Jun 30 20:53:08.400156 2016] [:error] [pid 23062] [client 36.2.113.124:59530] PHP Notice: Undefined variable: HTTP_RAW_POST_DATA in /home/web/html/currency/opensim.helper/currency.php on line 329
[Thu Jun 30 20:54:33.212466 2016] [:error] [pid 23064] [client 36.2.113.124:59564] PHP Notice: Undefined variable: HTTP_RAW_POST_DATA in /home/web/html/currency/opensim.helper/landtool.php on line 170
root@ubuntuM:/var/log/apache2#

2. Downloaded the missing land.php from GIT
https://github.com/roelmann/uswmoodle/tree/master/auth/mnet

3. Tried it again and the New Error came up
[Fri Jul 01 17:04:37.925886 2016] [:error] [pid 8117] [client 192.168.1.4:38310] PHP Notice: Undefined variable: HTTP_RAW_POST_DATA in /home/web/html/currency/opensim.helper/landtool.php on line 170

4. The solution to this was in the Stack
http://stackoverflow.com/questions/9553168/undefined-variable-http-raw-post-data
So - ahead of line 170 call I inserted this line
$HTTP_RAW_POST_DATA = file_get_contents('php://input');

And all works find I can now sell land and parcels

Thank you again Iseki-San!

Jony
投票数:112 平均点:2.68

  条件検索へ


サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
<今日>

オンライン状況

39 人のユーザが現在オンラインです。 (1 人のユーザが Forum を参照しています。)

登録ユーザ: 0
ゲスト: 39

もっと...

アクセスカウンタ

今日 : 1624162416241624
昨日 : 7844784478447844
総計 : 2368548823685488236854882368548823685488236854882368548823685488
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com