On Wed, November 21, 2007 08:57, Loic Dachary wrote:
> "Mogens Melander" <[EMAIL PROTECTED]> writes:
>
>> tried to do "cash in" but recieve "Internal Server Error" on fopen()
>>
>> Nothing in logs anywhere ???
>>
>> I do have allow_url_fopen=on in php.ini
>>
>> Any clues? Anybody?
>
>   When a user cashes-in, it uses the currency server that is
> embedded in poker-web. This is a single php file (currency.php).
> Chances are it is not properly configured.

That's probably right, so i've changed currency_one.php

$GLOBALS['currency_db_base'] = 'currency_one';
$GLOBALS['currency_db_user'] = 'currency';
$GLOBALS['currency_db_password'] = 'currency';

to match credentials on poker-network database, and that did help ;^)

>   The errors would show in /var/log/poker-network.log and
> /var/log/apache2/access.log /var/log/apache2/error.log

Nope, nothing in any logfile anywhere.

When started as /usr/local/poker/sbin/pokerserver
- No logfiles are created/modified. Output on stdout.

When started as /usr/local/poker/sbin/pokerserver > /var/log/poker-network.log 
2>&1 &
- No logfiles, other than /var/log/poker-network.log, are created/modified. No 
output at all.

>   To diagnose the problem you can try
>
> wget -q -O -
> 'http://localhost/poker-web/currency_one.php?command=get_note&value=100000&autocommit=yes'
>
>   and see if it works or report the error message.

No error, nothing in logs, responce are (on one line):

http://localhost/poker-web/currency_one.php
 2
 863d4e1a544c15972656316b3e2853072e1a2932
 100000FumlerSoft: 1<br>

When doing cash-in in poker-web, no errors (fopen(), or other), only
responce are "currency server returned an invalid answer", and amount *= 100.

What are valid input in currency, USD, DKK, PLAYMONEY or what ?

>   2) find the log entries that show currency_one.php in poker-network.log
> and see if there is an error associated with it.

No entries in any log :( I do wonder why nothing show up in apache access_log 
???

poker2d seems to work. I can log-in, join table, but when requesting cash-in,
both iceweasel and konqueror launces. Strange.

-- 
Later

Mogens Melander
+45 40 85 71 38
+66 870 133 224



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to