"Record not found!" message only showing for some pages

4 posts by 2 authors in: Forums > CMS Builder
Last Post: October 31, 2016   (RSS)

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!

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By CommonSenseDesign - October 31, 2016

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.  :)

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/