Results 1 to 4 of 4

Thread: Joomla "Direct Access to This Location Is Not Allowed" Error

  1. #1
    Join Date
    Feb 2009
    Posts
    64

    Joomla "Direct Access to This Location Is Not Allowed" Error

    I encountered the following warning message while changing templates after installing Joomla - “Direct Access to this location is not allowed” . What is the reason for the occurrence of this message. Can anyone explain how can i resolve this error ?

  2. #2
    Join Date
    May 2008
    Posts
    2,792

    Re: Joomla "Direct Access to This Location Is Not Allowed" Error

    Since you got the error while changing the templates, check the index.php file for the tempate.

    What does it say ? If it says, defined( '_VALID_MOS' ) or die( ...
    and legacy mode is off, then this error will occur.

    To resolve this, change _VALID_MOS to _JEXEC as defined( '_JEXEC' ) and it should be OK.

  3. #3
    Join Date
    Oct 2005
    Posts
    2,358

    Re: Joomla "Direct Access to This Location Is Not Allowed" Error

    "Direct Access to This Location Is Not Allowed"

    The above warning message may occur while,
    • changing template, installing components (plugins, modules etc) or attempting to enter a component from administrator backend.
    • users think they have successfully change to another default template, but when viewing the CMS website or homepage, the error message appears.
    • loggin in as superadministrator or administrator, because components and modules developed and done for older version of Joomla! 1.0.x are not compatible with the future generation of Joomla.

    Joomla! 1.5 is the latest version of CMS that has undergone major architecture change in coding and design. However, Joomla v1.5 provides a legacy mode that supports backward compatibility for older modules, components, plugins and templates which haven’t been updated for version 1.5.

    The Legacy Mode is provided via plug-in, and is disabled by default. You need to enable Joomla! Legacy Mode.

  4. #4
    Join Date
    May 2008
    Posts
    2,134

    Re: Joomla "Direct Access to This Location Is Not Allowed" Error

    In order to find the workaround for this warning error message, you need to find where does the problem actually exists - in the original code or at the server.
    If you restore the original code and it works, then it means something is wrong with your code.
    If the original code doesn't work anymore, then it means something is wrong at the server end.

Similar Threads

  1. Replies: 5
    Last Post: 16-01-2011, 07:26 PM
  2. "Not allowed to play this game" error message in windows 7
    By vijay nahur in forum Operating Systems
    Replies: 4
    Last Post: 11-01-2011, 07:48 PM
  3. Replies: 6
    Last Post: 18-05-2010, 12:27 AM
  4. "Location is Not Available" -- "Access is Denied."
    By BlackSunReyes in forum Vista Setup and Install
    Replies: 3
    Last Post: 29-04-2007, 10:09 PM
  5. Replies: 2
    Last Post: 17-01-2007, 09:47 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,006,395.10206 seconds with 17 queries