Weird URL Bug?

4 posts by 2 authors in: Forums > CMS Builder
Last Post: September 25, 2018   (RSS)

By theclicklab - September 17, 2018

Hi there, I have a weird issue where some urls show a 404 error if they start with the word "destinations" or "yacht" in them e.g. 

  • 404: luxurychartergroup.com/fr/post.php/yacht-rapide-274/
  • 200: luxurychartergroup.com/fr/post.php/rapide-274/

OR

  • 404: luxurychartergroup.com/post.php/destinations-eloigne-249/
  • 200:¬†luxurychartergroup.com/post.php/destination-eloigne-249/

See attached page code. I also checked the htaccess file and no weird rules in there. 

Any idea what might be causing this?

CMS Builder v3.14 + plugins (see attached)

By theclicklab - September 20, 2018 - edited: September 20, 2018

Yep, so we are getting the following show up in the error log:

#3686 - E_USER_NOTICE: DEBUG - Record Number: num = '274'
/home/luxurychartergroup/luxurychartergroup.com/fr/post.php (line 17)
https://www.luxurychartergroup.com/fr/post.php/yacht-rapide-274/

I suspect its related to the php files with a similar name as well, but not sure what to do next, any suggestion?

By daniel - September 25, 2018

Hi,

With this info, it seems likely to me that the cause of the 404 is not on this page itself. I would suggest checking through your include files (e.g. includes/headers.php) for any code that is checking for "yacht" or "destinations", or that can trigger a 404 error. If you're unable to find anything there, in order to troubleshoot further, we'll need to move this to a support ticket so I can have a look directly. You can start a ticket with this form: https://www.interactivetools.com/support/email_support_form.php

Thanks,

Daniel
PHP Programmer
interactivetools.com