We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
MODX Around the World
French
Support
Search
Lien qui renvoie vers 404 lorsqu'il est associé à une variable
14 Posts
enkidu
Reply #1,
19 years, 2 months ago
Hi,
J’ai un lien dans une page web
http://localhost/modx/index.php?id=48
&q=mai
Il a ete genere par
echo ’<a href="[~48~]&q=’.$var.’">’;
Ca me renvoie une erreur 404, pourtant quand j’ouvre
http://localhost/modx/index.php?id=48
ma page apparait sans probleme.
D’ou vient mon erreur, comment resoudre ce probleme ?
Merci,
Gilles
2,542 Posts
heliotrope
Reply #2,
19 years, 2 months ago
Salut,
sans garantie mais essaie avec un nom de variable différent de "q".
:-)
Made with MODx : [url=
http://www.copadel.com
]copadel, fruits et l
14 Posts
enkidu
Reply #3,
19 years, 2 months ago
Effectivement, ca marche avec qq
Modx a donc des noms de variables interdits...
En tout cas, merci !
2,542 Posts
heliotrope
Reply #4,
19 years, 2 months ago
En effet, q et id sont réservés à MODx.
:-)
Made with MODx : [url=
http://www.copadel.com
]copadel, fruits et l