Login
Register
All Activity
Questions
Unanswered
Tags
Users
Ask a Question
Welcome to the Developer Q&A for the
MultiChain
blockchain platform.
Please feel free to ask questions about the platform to receive answers from the MultiChain developers or other members of the community.
Related questions
Is it possible to run MultiChain on macOS Catalina 10.15.4?
Is it possible to run Multichain on DD-wrt x32 based router
Anybody want to help test our Linux, PC & Mac desktop wallet builds :)
How to launch web-demo and view them on browser?
Is it possible to build an exchange using multichain ?
4,157
questions
4,370
answers
5,718
comments
Most popular tags
multichain
streams
assets
stream
transactions
json-rpc
blockchain
wallet
permissions
error
address
raw-transactions
asset
mining
node
api
issue
multichain-explorer
nodes
connect
multichaind
multisig
transaction
smart-filters
metadata
private-key
atomic-exchange
multichain-cli
multichain-web-demo
data
connection
performance
blocks
demo
web
json
database
storage
native-currency
bitcoin
private-blockchain
network
fee
smart-contracts
wallets
signrawtransaction
off-chain
exchange
multiple-nodes
getnewaddress
Ist it possible to run Multichain and WEb-Demo on 1 Desktop PC using WAMP or LAMP?
+2
votes
asked
Mar 10, 2017
by
anonymous
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
Yes, it should work fine on either – MultiChain runs on Windows or Linux, the web demo runs under PHP on any platform, and the two communicate using the JSON-RPC API.
answered
Mar 10, 2017
by
MultiChain
Damn, we tested now back and forth a dozend times with nu success :-(
Is there anywhere a Troubleshooting document available?
First check MultiChain is running OK by running something like:
multichain-cli chain1 getinfo
Then check the PHP is working with at least something showing in the web browser.
If you got this far, look in your web server's error log file to see if PHP is showing any errors.
Thanks for your help! Very appreciated! We are shortly before stopping our investigations... Multichain and PHP: both running fine. In the error log I see always this series of entries in one stack:
-----------ERR LOG--------------
[Fri Mar 10 14:57:55 2017] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function curl_init() in C:\\wamp\\www\\multichain-web-demo-master\\functions.php on line 38, referer: http://127.0.0.1/multichain-web-demo-master/
[Fri Mar 10 14:57:55 2017] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://127.0.0.1/multichain-web-demo-master/
[Fri Mar 10 14:57:55 2017] [error] [client 127.0.0.1] PHP 1. {main}() C:\\wamp\\www\\multichain-web-demo-master\\index.php:0, referer: http://127.0.0.1/multichain-web-demo-master/
[Fri Mar 10 14:57:55 2017] [error] [client 127.0.0.1] PHP 2. require_once() C:\\wamp\\www\\multichain-web-demo-master\\index.php:74, referer: http://127.0.0.1/multichain-web-demo-master/
[Fri Mar 10 14:57:55 2017] [error] [client 127.0.0.1] PHP 3. multichain_getinfo() C:\\wamp\\www\\multichain-web-demo-master\\page-default.php:11, referer: http://127.0.0.1/multichain-web-demo-master/
[Fri Mar 10 14:57:55 2017] [error] [client 127.0.0.1] PHP 4. multichain() C:\\wamp\\www\\multichain-web-demo-master\\functions.php:141, referer: http://127.0.0.1/multichain-web-demo-master/
[Fri Mar 10 14:57:55 2017] [error] [client 127.0.0.1] PHP 5. json_rpc_send() C:\\wamp\\www\\multichain-web-demo-master\\functions.php:79, referer: http://127.0.0.1/multichain-web-demo-master/
----------------------END of ERR LOG -------------
Somehow the double backslashes confusing me ...??
The problem is that the MultiChain Web Demo requires the curl extension to be installed in PHP. You can search the web to see how to install that.
Great pleasure! Thank you so much! I think it is running now as expected!
Please
log in
or
register
to add a comment.
...