• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A PHP Error was encountered

#1
A PHP Error was encountered

Severity: Notice
Message: Undefined variable: row
Filename: admin/user_account.php
Line Number: 79
Backtrace:


File: /home/cryplniv/trade4me.cryptogenie.cc/application/views/admin/user_account.php
Line: 79
Function: _error_handler


Severity: Notice

Message: Undefined variable: row

Filename: admin/user_account.php

Line Number: 79

Backtrace:



File: /home/cryplniv/trade4me.cryptogenie.cc/application/views/admin/user_account.php

Line: 79

Function: _error_handler



CODE OF USER ACCOUNT BELOW



<?php if($row['blocked']=='yes'){

    echo "<i class='glyphicon glyphicon-ban-circle text-danger' style='font-size:160%;'></i> 

    &nbsp; 

    <a href='####' class='btn btn-primary btn-xs' title='function will be activated later'>Enable</a>";

    }   

    else{

    echo "<i class='glyphicon glyphicon-ok-circle text-success' style='font-size:160%;'></i>

    &nbsp; 

    <a href='####' class='btn btn-danger btn-xs' title='function will be activated later'>Disable</a>";

    }?> 

    &nbsp;

   

    </td>

        </tr>


</table>

File: /home/cryplniv/trade4me.cryptogenie.cc/application/views/layout_blade.php
Line: 204
Function: include


else{

                        include ($account_type.'/'.$page_name.'.php');
                    } 


File: /home/cryplniv/trade4me.cryptogenie.cc/application/controllers/Account.php
Line: 84
Function: view


$this->load->view( 'layout_blade', $this->data );


}

File: /home/cryplniv/trade4me.cryptogenie.cc/index.php
Line: 315
Function: require_once


require_once BASEPATH.'core/CodeIgniter.php';
Reply

#2
CI version?
What might line 79 of admin/user_account.php say?
Better yet, could you share the code of user_account?
You have not provided enough information for anyone to help, other than stating the obvious, that the $row variable in your line 79 hasn't been set or hasn't been passed to your view.
Reply

#3
(04-10-2019, 05:30 PM)ciadmin Wrote: CI version?
What might line 79 of admin/user_account.php say?
Better yet, could you share the code of user_account?
You have not provided enough information for anyone to help, other than stating the obvious, that the $row variable in your line 79 hasn't been set or hasn't been passed to your view.

A PHP Error was encountered

Severity: Notice
Message: Undefined variable: row
Filename: admin/user_account.php
Line Number: 79
Backtrace:


File: /home/cryplniv/trade4me.cryptogenie.cc/application/views/admin/user_account.php
Line: 79
Function: _error_handler


Severity: Notice

Message: Undefined variable: row

Filename: admin/user_account.php

Line Number: 79

Backtrace:



File: /home/cryplniv/trade4me.cryptogenie.cc/application/views/admin/user_account.php

Line: 79

Function: _error_handler



CODE OF USER ACCOUNT BELOW



<?php if($row['blocked']=='yes'){

    echo "<i class='glyphicon glyphicon-ban-circle text-danger' style='font-size:160%;'></i> 

    &nbsp; 

    <a href='####' class='btn btn-primary btn-xs' title='function will be activated later'>Enable</a>";

    }    

    else{

    echo "<i class='glyphicon glyphicon-ok-circle text-success' style='font-size:160%;'></i>

    &nbsp; 

    <a href='####' class='btn btn-danger btn-xs' title='function will be activated later'>Disable</a>";

    }?> 

    &nbsp;

    

    </td>

        </tr>


</table>

File: /home/cryplniv/trade4me.cryptogenie.cc/application/views/layout_blade.php
Line: 204
Function: include


else{

                        include ($account_type.'/'.$page_name.'.php');
                    } 


File: /home/cryplniv/trade4me.cryptogenie.cc/application/controllers/Account.php
Line: 84
Function: view


$this->load->view( 'layout_blade', $this->data );


}

File: /home/cryplniv/trade4me.cryptogenie.cc/index.php
Line: 315
Function: require_once


require_once BASEPATH.'core/CodeIgniter.php';
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.