Support

Admin Tools

#20077 Admin Tools changes url?

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Wednesday, 14 May 2014 10:38 CDT

mirkoe
 Hi!

I´m having a strange problem. Actually it is exactly the same problem as here

http://forum.joomla.org/viewtopic.php?t=802045

Deleting the menu item and creating a new one, dont help. I have been struggling with this for weeks. Finally I decided to try to unistall Admin Tools. And that was it. Now the url´s are perfect just as they should be.

With Admin Tools installed my URL is

www.mysite.com/Read Private Message /mysefurl/ and it results in 404 page.

And without Admin Tools

www.mysite.com/mysefurl/ - just as it should be with Joomla SEF URL:s.

This is the first time I see something like this and I have been using Admin Tools for years. And of course I would love to use it on this site too.

Any clue why this happens?

nicholas
Akeeba Staff
Manager
Admin Tools DOES NOT modify your URLs. The only plausible explanations are:
  • You have enabled Admin Tools' URL Redirect feature and you are redirecting one URL to the other. This won't change the link on your page (the URL in the HTML source code) but it will change the URL your browser will end up to.
  • You have a buggy SEF solution or a component with a buggy SEF router. Most likely they are using the deprecated JRequest API to get the input parameters to the page. Admin Tools, just like any other Joomla! extension written since 2011, is using JInput. Sometimes using JInput before JRequest has been first used will cause JRequest to return the wrong data (that's a Joomla! bug, one which won't be fixed because JRequest is on its way to the grave).

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

mirkoe
Thanks for a quick reply Nicholas!

Url Redirect is disabled in AdminTools. I dont have any SEF tools installed at the moment. I took this project from my client, who had first upgraded from 1.5 -> 2.5 and now to 3.3.0. There was a lot of components installed on the way and many of the unistallations have been done wrong (delete component folder). There was unnecessary tables in MySql database, which I removed (Mad4joomla, sh404sef and others). Now the installations is quite clear, and this is the only problem.

I guess the problem must be related to this Jinput/jRequest problem. Any suggestions how to start if I want to fix that?

nicholas
Akeeba Staff
Manager
I guess the problem must be related to this Jinput/jRequest problem. Any suggestions how to start if I want to fix that?


Does the problem happen in a particular component or everywhere? If it's only a specific component you should contact its developer.

If it's happening everywhere you have some plugin, most likely a system plugin, causing this mess. Try disabling system plugins which might seem related to the issue until you find the one causing the problem, then contact its developer.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

nicholas
Akeeba Staff
Manager
I was wrong. See http://www.socialprofiles.us/articles/joomla/693-weird-joomla-2-5-menu-sef-bug-private-message-read-private-message The problem is caused by the component which upgraded your site from Joomla! 1.5 to 2.5. I am not sure why this wrong URL is only triggered when you have Admin Tools enabled. Most likely us priming the JInput before anything else on the site (including Joomla!'s SEF router) causes Joomla! to fetch the wrong Itemid (due to the wrong menu ordering!) before the system router kicks in.

In any case, your problem is the menu ordering, caused by the upgrade from 1.5 to 2.5, and that's what you have to fix.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

mirkoe
Ok, thanks! I´ll try to solve this out.

nicholas
Akeeba Staff
Manager
You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!