A PHP Error was encountered

Severity: Notice

Message: Undefined index: nomor

Filename: controllers/tour.php

Line Number: 245

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home4/valerie/valerietravel.com/system/core/Exceptions.php:185)

Filename: core/Common.php

Line Number: 438

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 ') ORDER BY RAND()' at line 12

SELECT a.*, b.url_image FROM mdalbumfoto a JOIN mhfoto b ON a.nomormhfoto = b.nomor AND b.status_aktif > 0 WHERE a.status_aktif = 1 AND a.nomormhalbum = ( SELECT z.nomormhalbum FROM mhbarang z WHERE z.status_aktif = 1 AND z.nomormhbarangtipe = 3 AND z.nomor = ) ORDER BY RAND()

Filename: /home4/valerie/valerietravel.com/models/foto_model.php

Line Number: 77