undefined contant AMP in Pagination library |
|||
|---|---|---|---|
| Date: | 06/28/2008 | Severity: | Trivial |
| Status: | New | Reporter: | tzangms |
| Version: | 1.6.3 | ||
| Keywords: | Libraries, Pagination Class | ||
Description
when I set enable_query_string to TRUE, I got these notice message below, with pagination library.
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant AMP - assumed ‘AMP’
Filename: libraries/Pagination.php
Line Number: 175
Expected Result
Actual Result
Comment on Bug Report
| Posted by: delay on 3 July 2008 1:57pm | |
|
|
I am having this trouble as well. Seems it is due to a change from 1.6.2 which didn’t have this trouble. |
| Posted by: tzangms on 3 July 2008 7:20pm | |
|
|
The problem is caused by the pagination’s new feature, that pagination can use query string. |
| Posted by: Bijsterz on 22 September 2008 1:35pm | |
|
|
Or you could define it in the constants.php config file define(‘AMP’, ’&’); |
