Comments (4)
I explored this, and it appear when using the http_response_header in a function, it is necessary to pass the variable as a function parameter.
I changed the function header to :
function place_json_call($object, $url, $username = '', $password = '', &$headers, $timeout = 2,$http_response_header)
and the line calling the function should be like :
$response = place_json_call($request, $row['url'], $row['username'], $row['password'], $headers, http_response_header);
from bitcoin-mining-proxy.
Duplicate of #14
Find your php.ini and uncomment allow_url_fopen = On
or change it to On if it's Off
from bitcoin-mining-proxy.
I don't agree. The allow_url_fopen is already On (this is validated with phpinfo() ) and doing the changes suggested in my second comment solve the issue.
from bitcoin-mining-proxy.
$http_response_header
is a reserved variable when allow_url_fopen = On
: you should not create it.
The PHP docs indicate that the syntax is correct and the variable should be defined without explicit declaration
It's likely that the @file_get_contents
call failed (line 123), remove the @ and see what errors come up then. You may also need to comment out the error_reporting(E_ERROR | E_USER_ERROR);
line in config.inc.php
from bitcoin-mining-proxy.
Related Issues (20)
- feature request:bulk pool priority change option HOT 2
- feature request: drag and release to change priority of pools
- separate interval settings for submitted share alert, hashing speed and stale rate
- View / Edit Workers from Pool Page HOT 1
- Balance Stats API HOT 16
- Submission Caching HOT 3
- Bitp.it Pool Not Working HOT 4
- Add support for proxy HOT 1
- 'SQLSTATE[HY000] [1040] Too many connections' HOT 1
- Malformed long-polling request URL
- Worker status doesn't seem to be working any more
- Extra \r\n\r\n sent after JSON content HOT 6
- IPv6-only pool does not appear to function HOT 1
- Can cdhowie btc proxy run on nginx HOT 2
- I simply just can't get the mining proxy to work.. HOT 1
- use mining-proxy
- Connecting to proxy with miners
- How do I start mining??
- Mining
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitcoin-mining-proxy.