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

Re: Selling Land Parcels and Helper Scripts

このトピックの投稿一覧へ

なし Re: Selling Land Parcels and Helper Scripts

msg# 1.2
depth:
1
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 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
<今日>

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 278278278
昨日 : 4763476347634763
総計 : 2368890523688905236889052368890523688905236889052368890523688905
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com