We need to make a small fix on the Joomla Configuration to avoid the know issue with “Invalid Token” when validating most of the forms in lots of Joomla websites, specially related with parked domains and www on the URL.
This is our environment...
- Joomla 2.5.4;
- Cache on;
- Cache Plugin On with Browser Cache On;
- sh404SEF active with all its plugin on;
- Cpanel, Linux, etc;
- 4 Parked Domains;
This was discussed here and on lots of forums...
We had tried all the instructions indicated on that post… (Turned off browser cache, set session handler to none, etc.) but we were not able to solve this.
We had tried to replicate the problem on a sample site, and discovered that it happens because of the parked domains (or any change to the default site URL). It starts working ok but if we park a domain there, then it happens. So it is related to the URL, maybe because we need to add www to it automatically, or set the .htaccess to call always the same domain on forms. We cannot remove the parked domains because they are already indexed on Google, bringing visitors.
I think the key would be to write an .htaccess or similar file to make all forms work on different URLs (with or without www, on parked domains, etc.).
We need this fix asap, members in our site are unable to login. It might be as simple as hacking 1 or 2 files.
domain.com/index.php (is working)
parked.com/index.php (is working)
www.domain.com/index.php (invalid token)
www.parked.com/index.php (invalid token)
Another thing that happens sometimes, related to cache, is that even deactivating the cache of the login module, when an user login and is not redirected to invalid token, the page refresh but the login form is empty and looks that he was never logged. Maybe it is the cache showing the cached module and not the new one with a link to his profile. This must be fixed too.
We need a freelancer who has successfully corrected this issue, or made similar works, on other Joomla sites.
Total budget for this project it about US$ 65.00.-