A PHP Error was encountered

Severity: Notice

Message: Undefined index: type

Filename: controllers/Pbl.php

Line Number: 86

Backtrace:

File: /home/organik/domains/aydergunubirlikturlar.com/public_html/application/controllers/Pbl.php
Line: 86
Function: _error_handler

File: /home/organik/domains/aydergunubirlikturlar.com/public_html/index.php
Line: 294
Function: require_once

Database Error

Veritabanında bir hata oluştu.

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 'order by ordernr limit 0,5' at line 1

select * from site_tours where status = 1 and type = order by ordernr limit 0,5

Filename: models/admin/Db_model.php

Line Number: 18