Re: Selling Land Parcels and Helper Scripts
jony
投稿数: 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
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
投票数:125
平均点:2.96
投稿ツリー
-
Selling Land Parcels and Helper Scripts (jony, 2016-6-28 12:32)
-
Re: Selling Land Parcels and Helper Scripts (iseki, 2016-6-30 20:51)
-
Re: Selling Land Parcels and Helper Scripts (jony, 2016-7-1 17:32)
-