Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Uncaught Error: Class 'EthereumController' not found #15

Closed
sunujacob opened this issue Feb 23, 2018 · 0 comments
Closed

Comments

@sunujacob
Copy link

sunujacob commented Feb 23, 2018

I cloned master branch into public html and installed dependencies through composer. I want to to use this project to interact with my php website and a go-ethereum node running on another server. I can interact with that using geth console and curl function in the terminal. But I want to interact with that node from my browser to create wallet addresses and do transactions and get wallet balance. Are these functions possible with this plugin.?

I created a php file in the 'ethereum-php' folder and included below code
try { $eth = new EthereumController(); echo $eth->client->eth_protocolVersion(); } catch (\Exception $exception) { die ("Unable to connect."); }
But it gives

Fatal error: Uncaught Error: Class 'EthereumController' not found in /var/www/html/plugins/ethereum/digitaldonkey/ethereum-php/stestdd.php:6 Stack trace: #0 {main} thrown in /var/www/html/plugins/ethereum/digitaldonkey/ethereum-php/stestdd.php on line 6

Please help! Thanks in Advance.

@sunujacob sunujacob changed the title How to include this plugin in a website? Fatal error: Uncaught Error: Class 'EthereumController' not found Feb 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant