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 : 17 File : /home1/smartese/psslnet.org/application/errors/error_db.php Code : 8 Message : Array to string conversion Trace : heading=A Database Error Occurred&message[0]=Error Number: 1064&message[1]=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&message[2]=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&message[3]=Filename: models/Event_model.php&message[4]=Line Number: 111&template=error_db&status_code=500&changed_message=
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 'offset 10 limit 10' at line 11
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