I have the code: $uri = JUri::getInstance(); $router = JRouter::getInstance('site'); $vars = $router->parse($uri); I'm wanting to parse the uri out at the module's backend (Just the module I'm writing myself.). But when I installed the module and clung to the module for editing, it led me to the blank page, and in the address bar I saw a lot of /index.php/en/index.php/en... it popped up a lot. That is I test with 3.9.x. With 3.8.x it says "Allow memory .....". I'm using php 7.2.12.

  • I replaced $router = JRouter::getInstance('site'); with $router = JRouter::getInstance('administrator'); and the module is now running normally. Are there two different ways? Thank you
    – pdutie94
    Dec 5, 2018 at 10:34
  • Yes, site and administrator are the two halves of the Joomla beast. administrator refers to the "backend". Dec 5, 2018 at 10:35
  • If you have resolved your issue, you may post your solution as an answer. If you still have something that you need support with, please edit your question once again to isolate where you would like help. Dec 5, 2018 at 10:36

1 Answer 1


[SOLVED] change site to administrator

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.