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

Undefined indexes in controllers/main.php #46

Open
camelman912 opened this issue Apr 17, 2014 · 1 comment
Open

Undefined indexes in controllers/main.php #46

camelman912 opened this issue Apr 17, 2014 · 1 comment

Comments

@camelman912
Copy link

Hey there, I am trying to get your PHPMiner running and I'm getting constant phperror... See below (since I can't attach a log file sorry). the only modifications I've made to the php files is my configs. the rest is exactly what I took out of https://github.com/prdatur/phpminer/archive/1.3.1.zip

Please assist!! :-) Thanks!!!

PHPMiner version: 1.3.1
Error: NOTICE: Undefined index: pools in C:\inetpub\wwwroot\miner\controllers\main.php on line 1063

Backtrace:

File: C:\inetpub\wwwroot\miner\index.php

Line: 159: call_user_func_array (Args: array(), array())

File: (unknown)

Line: (unknown): main->get_device_list (no args)

File: C:\inetpub\wwwroot\miner\controllers\main.php

Line: 721: main->get_device_data (Args: , 0, 0, array())

Line: 931: main->get_detailed_rig_data (Args: "localhost", )

Error: WARNING: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\miner\controllers\main.php on line 1063

Backtrace:

File: C:\inetpub\wwwroot\miner\index.php

Line: 159: call_user_func_array (Args: array(), array())

File: (unknown)

Line: (unknown): main->get_device_list (no args)

File: C:\inetpub\wwwroot\miner\controllers\main.php

Line: 721: main->get_device_data (Args: , 0, 0, array())

Line: 931: main->get_detailed_rig_data (Args: "localhost", )

Error: NOTICE: Undefined index: pools in C:\inetpub\wwwroot\miner\controllers\main.php on line 1071

Backtrace:

File: C:\inetpub\wwwroot\miner\index.php

Line: 159: call_user_func_array (Args: array(), array())

File: (unknown)

Line: (unknown): main->get_device_list (no args)

File: C:\inetpub\wwwroot\miner\controllers\main.php

Line: 721: main->get_device_data (Args: , 0, 0, array())

Line: 931: main->get_detailed_rig_data (Args: "localhost", )

Error: WARNING: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\miner\controllers\main.php on line 1071

Backtrace:

File: C:\inetpub\wwwroot\miner\index.php

Line: 159: call_user_func_array (Args: array(), array())

File: (unknown)

Line: (unknown): main->get_device_list (no args)

File: C:\inetpub\wwwroot\miner\controllers\main.php

Line: 721: main->get_device_data (Args: , 0, 0, array())

Line: 931: main->get_detailed_rig_data (Args: "localhost", )

@camelman912
Copy link
Author

Well, I think I may have solved something, but something else isn't working. I was receiving those error when PHPMiner was watching what CGWatcher was already doing. Now when I click stop via phpminer the miner stops properly. then I no longer receive the recurring error. However, when I go to start the miner via your interface, the pool information isn't being passed onto the batch file and I get a console window asking for a pool URL.

Thx!!!

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