[SOLVED] Paging Found Records - URL Construction Error |
3/6/2026 17:34:51 | |
| PHPRunner General questions | ||
|
S
salus2 author
When I search databases for records the first page of results will have a URL like "https://customdataservices.net/bicycleshop/customers_list.php?qs=mo&criteria=or". When I click the pagination buttons to go to the next record, the URL shows "https://customdataservices.net/bicycleshop/customers_list.php?goto=2" instead of the correct "https://customdataservices.net/bicycleshop/customers_list.php?qs=mo&criteria=or&goto=2" which gives the next page of found records. It seems to work correctly on some databases but fails on others. Any idea what causes this problem? |
||
|
|
ChatGPT 3/6/2026 |
|
The issue you're encountering with pagination in PHPRunner appears to be related to how the query string parameters are being managed during pagination. Here are a few potential reasons and solutions to consider:
Suggested Solutions:
By systematically checking these areas, you should be able to identify the cause of the issue and implement a solution. |
|
|
S
|
salus2 author 3/6/2026 |
|
The databases are all on the same server, using the same .htaccess, all configured to utf8mb4_unicode_ci. You can see the problem if you perform searches using the links below... This works correctly... This demonstrates the problem... Attached is the .htaccess file stored in the public_html directory that contains the ContactsList and classicmodels directories... I'm using PHPRunner 11.2 Enterprise build 44147 |
|
|
|
|
|
S
|
salus2 author 3/6/2026 |
|
My bad, it was the .htaccess file. I deleted it completely and all databases work correctly now on this server. |
|