A PHP Error was encountered

Severity: Notice

Message: Undefined variable: agent

Filename: mycontroller/MyController.php

Line Number: 210

Backtrace:

File: /var/www/html/application/controllers/mycontroller/MyController.php
Line: 210
Function: _error_handler

File: /var/www/html/application/controllers/mycontroller/MyController.php
Line: 18
Function: agentInfo

File: /var/www/html/application/controllers/Shop.php
Line: 10
Function: __construct

File: /var/www/html/index.php
Line: 302
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/system/core/Exceptions.php:271)

Filename: core/Input.php

Line Number: 408

Backtrace:

File: /var/www/html/application/controllers/mycontroller/MyController.php
Line: 507
Function: set_cookie

File: /var/www/html/application/controllers/mycontroller/MyController.php
Line: 533
Function: setKeyword

File: /var/www/html/application/controllers/Shop.php
Line: 358
Function: showKeyWord

File: /var/www/html/application/controllers/mycontroller/MyController.php
Line: 134
Function: category

File: /var/www/html/index.php
Line: 302
Function: require_once

FriBox