Skip to content

Undefined indexes in controllers/main.php #46

@camelman912

Description

@camelman912

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", )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions