Hi there,
We've been having this issue for some time that couch sometimes randomly returns "undefined" as page name and thus gives a 404 when navigating to a page though our 'hard-coded' and working navigation (not dynamic, see code below). Even google picked this up. But as said its only random, if you click on the link again it works. Its also hard to reproduce instantly as its happens randomly maybe a few times a day... What could be behind this, its driving us nuts?
Our code looks like this and we're using pretty URL's with a couch-generated htaccess:
The falsely generated URL would look like this:
http://www.pagename.ch/undefined
Kind regards,
Laduma
We've been having this issue for some time that couch sometimes randomly returns "undefined" as page name and thus gives a 404 when navigating to a page though our 'hard-coded' and working navigation (not dynamic, see code below). Even google picked this up. But as said its only random, if you click on the link again it works. Its also hard to reproduce instantly as its happens randomly maybe a few times a day... What could be behind this, its driving us nuts?
Our code looks like this and we're using pretty URL's with a couch-generated htaccess:
- Code: Select all
<a href="<cms:link 'kontakt.php' />" class="nav-link <cms:if k_template_name=='kontakt.php'>active</cms:if>" >Kontakt</a>
The falsely generated URL would look like this:
http://www.pagename.ch/undefined
Kind regards,
Laduma