"Record not found!" message only showing for some pages
4 posts by 2 authors in: Forums > CMS Builder
Last Post: October 31, 2016 (RSS)
This is a site that was set up years ago, but only seems to be causing problems now.
There's a blog on my client's site - http://bikramyogawhiterock.com/blog.php - and the clickable headlines work fine on all of the posts, except two. The two that cause an error message are "8 good reasons..." and "Lock the knee...".
All the other links to blog posts work fine.
Any suggestions what might be causing this, please?
By Damon - October 31, 2016
Hi,
I suspect the issue may be caused by the calling the whereRecordNumberInUrl(0) twice but not sure at this point.
To help narrow it down, can you adjust this error code to provide more details:
dieWith404("Record not found!");
This appears for the three different tables (nourish_blog, yoga_blog and promo_panels).
Change to:
dieWith404("Nourish blog record not found!");
dieWith404("Yoga blog record not found!");
dieWith404("Promo panel record not found!");
Can you provide some more details about how this is setup to work?
Thanks!
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Hi, Damon. Thanks for your reply.
I deleted the first whereRecordNumberInUrl(0), and now all the pages seem to be working as they're supposed to.
Thanks for the advice!
By Damon - October 31, 2016
Thanks for the update. Always glad to hear back that things are resolved. :)
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/