A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'Id' of non-object

Filename: controllers/Gbs.php

Line Number: 140

Backtrace:

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/controllers/Gbs.php
Line: 140
Function: _error_handler

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'link' of non-object

Filename: controllers/Gbs.php

Line Number: 141

Backtrace:

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/controllers/Gbs.php
Line: 141
Function: _error_handler

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'timezone' of non-object

Filename: controllers/Gbs.php

Line Number: 142

Backtrace:

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/controllers/Gbs.php
Line: 142
Function: _error_handler

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'name' of non-object

Filename: controllers/Gbs.php

Line Number: 143

Backtrace:

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/controllers/Gbs.php
Line: 143
Function: _error_handler

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'timezone' of non-object

Filename: controllers/Gbs.php

Line Number: 309

Backtrace:

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/controllers/Gbs.php
Line: 309
Function: _error_handler

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/controllers/Gbs.php
Line: 146
Function: gettimeline

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: date_default_timezone_set(): Timezone ID '' is invalid

Filename: controllers/Gbs.php

Line Number: 310

Backtrace:

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/controllers/Gbs.php
Line: 310
Function: date_default_timezone_set

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/controllers/Gbs.php
Line: 146
Function: gettimeline

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'starttime' of non-object

Filename: models/Gbs_model.php

Line Number: 165

Backtrace:

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/models/Gbs_model.php
Line: 165
Function: _error_handler

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/models/Gbs_model.php
Line: 188
Function: getCurrentStarttime

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/controllers/Gbs.php
Line: 315
Function: gettimelineBystarttime

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/controllers/Gbs.php
Line: 146
Function: gettimeline

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/okcn2admin/Dropbox/OKCNserver/gbs/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/models/Gbs_model.php
Line: 198
Function: get

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/controllers/Gbs.php
Line: 315
Function: gettimelineBystarttime

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/application/controllers/Gbs.php
Line: 146
Function: gettimeline

File: /home/okcn2admin/Dropbox/OKCNserver/gbs/index.php
Line: 318
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`NULL` ORDER BY `starttime`' at line 7

SELECT `channel_list`.`name` as `title`, `image`, `code`, `starttime`, `presenter_list`.`name` as `artist`, `spot`, `fill` FROM `timeline` JOIN `channel_list` ON `channel_list`.`Id` = `timeline`.`cid` JOIN `presenter_list` ON `presenter_list`.`Id` = `channel_list`.`presenter` WHERE `week_day` = 5 AND `cat` IS NULL AND `starttime` > `IS` `NULL` ORDER BY `starttime`

Filename: models/Gbs_model.php

Line Number: 198