Almondo Posted June 28, 2015 Share Posted June 28, 2015 hey guys I need help with this little snipet I can offer you some small reward in bitcoins $$$ and can offer more money if people help me along the way A PHP Error was encountered Severity: Notice Message: Undefined index: parameter Filename: models/Config_model.php Line Number: 38 Backtrace: File: /var/www/html/application/models/Config_model.php Line: 38 Function: _exception_handler File: /var/www/html/application/libraries/Bw_config.php Line: 333 Function: model File: /var/www/html/application/core/MY_Controller.php Line: 27 Function: __construct File: /var/www/html/application/controllers/Welcome.php Line: 37 Function: __construct File: /var/www/html/index.php Line: 282 Function: require_once the code of config is public function __construct() { parent::__construct(); $query = $this->db->get('config'); if ($query->num_rows() > 0) { $this->config = $query->result_array(); foreach ($query->result_array() as $config) { $this->config[$config['parameter']] = $config['value']; } } else { $this->config = FALSE; } } Quote Link to comment https://forums.phpfreaks.com/topic/297081-php-message-undefined-index-bitcoin-reward/ Share on other sites More sharing options...
ginerjm Posted June 28, 2015 Share Posted June 28, 2015 The complexity of this code you have written (?) is such that I think you s/b able to solve it. You are using an index that doesn't yet exist. Figure it out. Quote Link to comment https://forums.phpfreaks.com/topic/297081-php-message-undefined-index-bitcoin-reward/#findComment-1515158 Share on other sites More sharing options...
Almondo Posted June 28, 2015 Author Share Posted June 28, 2015 I am fixing a source, I am willing to pay for the working answer Quote Link to comment https://forums.phpfreaks.com/topic/297081-php-message-undefined-index-bitcoin-reward/#findComment-1515163 Share on other sites More sharing options...
Ch0cu3r Posted June 28, 2015 Share Posted June 28, 2015 Is this BitWasp you are using? Their github page clearly states this is not a production ready script, it still being (unactively) developed - Although it does appear to be an abandoned project from googling. We will only help with your own code, not for fixing third party scripts. If you want someone to fix it for you then are free to advertise in our Freelance section. Quote Link to comment https://forums.phpfreaks.com/topic/297081-php-message-undefined-index-bitcoin-reward/#findComment-1515166 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.