loading-img

Pharmaceutical Society of Sri Lanka has encountered an error and needs to close .

We are sorry for the inconvenience.

If you were in the middle of doing something, the information you were working on might be lost.

We have created an error report that you can send to us. We will treat this error report as confidential and anonymous.

To see what data this error report contains click here.

Line : 305
File : /home1/smartese/psslnet.org/system/database/drivers/mysqli/mysqli_driver.php
Code : 1064
Message : 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 'offset 10 limit 10' at line 11
Trace : 0[file]=/home1/smartese/psslnet.org/system/database/drivers/mysqli/mysqli_driver.php&0[line]=305&0[function]=query&0[class]=mysqli&0[type]=->&0[args][0]=SELECT events.*, sed_sys_user.name AS creator FROM events INNER JOIN files ON files.row_id = events.id INNER JOIN sed_sys_user ON sed_sys_user.id = events.created_by WHERE events.enabled = 1 GROUP BY events.id ORDER BY events.created_on desc offset 10 limit 10&1[file]=/home1/smartese/psslnet.org/system/database/DB_driver.php&1[line]=792&1[function]=_execute&1[class]=CI_DB_mysqli_driver&1[type]=->&1[args][0]=SELECT events.*, sed_sys_user.name AS creator FROM events INNER JOIN files ON files.row_id = events.id INNER JOIN sed_sys_user ON sed_sys_user.id = events.created_by WHERE events.enabled = 1 GROUP BY events.id ORDER BY events.created_on desc offset 10 limit 10&2[file]=/home1/smartese/psslnet.org/system/database/DB_driver.php&2[line]=655&2[function]=simple_query&2[class]=CI_DB_driver&2[type]=->&2[args][0]=SELECT events.*, sed_sys_user.name AS creator FROM events INNER JOIN files ON files.row_id = events.id INNER JOIN sed_sys_user ON sed_sys_user.id = events.created_by WHERE events.enabled = 1 GROUP BY events.id ORDER BY events.created_on desc offset 10 limit 10&3[file]=/home1/smartese/psslnet.org/application/models/Event_model.php&3[line]=111&3[function]=query&3[class]=CI_DB_driver&3[type]=->&3[args][0]=SELECT events.*, sed_sys_user.name AS creator FROM events INNER JOIN files ON files.row_id = events.id INNER JOIN sed_sys_user ON sed_sys_user.id = events.created_by WHERE events.enabled = 1 GROUP BY events.id ORDER BY events.created_on desc offset 10 limit 10&4[file]=/home1/smartese/psslnet.org/application/controllers/Site.php&4[line]=668&4[function]=get_photos_by_event&4[class]=Event_model&4[type]=->&4[args][0]=10&4[args][1]=10&5[file]=/home1/smartese/psslnet.org/system/core/CodeIgniter.php&5[line]=532&5[function]=gallery&5[class]=Site&5[type]=->&5[args][0]=10&6[file]=/home1/smartese/psslnet.org/index.php&6[line]=315&6[args][0]=/home1/smartese/psslnet.org/system/core/CodeIgniter.php&6[function]=require_once
mac