aceat64/EasyBitcoin-PHP

500 error

bitcoinbrisbane opened this issue · 4 comments

On ubuntu server, I've tried a few different ways, and every time I get the following:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)

I can do a getinfo from command line successfully.

Any ideas?

mpge commented

I would post your error.log (or error log) file line corresponding to this error and website.

It would help with debugging the issue as saying "500 Internal Server Error" doesn't tell anyone much.

As @matthewgross said, without the error log there's nothing that can be done to help troubleshoot. This could be an issue with PHP, the web server's config, a syntax error, etc.

Ok. Im just following you "get info" code. Thats the only thing being passed back. The bitcoind log file doesnt really give much of an indication either.

This is my php file https://github.com/bitcoinbrisbane/website/blob/master/first.php

@bitcoinbrisbane Please check your web server's error log, not the bitcoind log file.