A PHP Error was encountered

Severity: Notice

Message: Undefined index: page

Filename: controllers/Gallery.php

Line Number: 59

Backtrace:

File: /nfs/c04/h05/mnt/182269/domains/mmcs.edu.in/html/application/controllers/Gallery.php
Line: 59
Function: _error_handler

File: /nfs/c04/h05/mnt/182269/domains/mmcs.edu.in/html/index.php
Line: 296
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: slug

Filename: controllers/Gallery.php

Line Number: 60

Backtrace:

File: /nfs/c04/h05/mnt/182269/domains/mmcs.edu.in/html/application/controllers/Gallery.php
Line: 60
Function: _error_handler

File: /nfs/c04/h05/mnt/182269/domains/mmcs.edu.in/html/index.php
Line: 296
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: public/Gallery_model.php

Line Number: 57

Backtrace:

File: /nfs/c04/h05/mnt/182269/domains/mmcs.edu.in/html/application/models/public/Gallery_model.php
Line: 57
Function: _error_handler

File: /nfs/c04/h05/mnt/182269/domains/mmcs.edu.in/html/application/controllers/Gallery.php
Line: 63
Function: get_gallery

File: /nfs/c04/h05/mnt/182269/domains/mmcs.edu.in/html/index.php
Line: 296
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /nfs/c04/h05/mnt/182269/domains/mmcs.edu.in/html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 568

Backtrace:

File: /nfs/c04/h05/mnt/182269/domains/mmcs.edu.in/html/application/models/public/Gallery_model.php
Line: 61
Function: get

File: /nfs/c04/h05/mnt/182269/domains/mmcs.edu.in/html/application/controllers/Gallery.php
Line: 63
Function: get_gallery

File: /nfs/c04/h05/mnt/182269/domains/mmcs.edu.in/html/index.php
Line: 296
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 '-8, 8' at line 6

SELECT `image_gallery`.`title`, `image_gallery`.`image`, `image_gallery`.`alt_text` FROM `image_gallery` WHERE `album_id` IS NULL AND `image_gallery`.`status` = 1 ORDER BY `image_gallery`.`reorder` ASC LIMIT -8, 8

Filename: models/public/Gallery_model.php

Line Number: 61