I m quite fond of Joomla! project and try to beta test it alot and fix some bugs found in it myself.
I installed the latest version of JomComment over my 1.5 nightly build on my demo server, btw i try always update this install with the latest files from trunk.
When i finished installing it, and it did install successfully, i got a message when trying to log-in into admin backend of Joomla! 1.5:
Direct Access to this location is not allowed.
Though it could by caused by the installled JomComment on Joomla! 1.5 or its any module or plugin, but even when i removed the component by uninstalling it, i still get this message.
legacy mode for Joomla! is ON btw. and the site itself works fine on the front end, only got this problem with the admin side of the Joomla 1.5.
Well then how to solve this issue? here is the solution (and the reason why it was being caused):
Goto file /plugins/system/jom_commentsys_bot.php
Change /replace this part of code:
if(class_exists('JSITE')){
defined( '_JEXEC' ) or die( 'Direct Access to this location is not allowed.' );
}
else {
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
}
to only:
defined( '_JEXEC' ) or die( 'Direct Access to this location is not allowed.' );
This will fix the issue and the direct access to this location is now allowed error on the Joomla! 1.5 backend which occured by installing the Jomcomment will be fixed.
Incoming search terms for the article:
joomla direct access plugin problem php, direct access issue, direct access to this location is not allowed joomla solution, JomComment install, jomcomment installation directory Direct Access to this location is not allowed, joomla Direct Access to this location is not allowed, joomla jomcomment Direct Access to this location is not allowed, joomla search Direct Access to this location is not allowed, no direct access joomla
Direct Access problem after installing JomComment on Joomla! 1.5
by Nabeel on October 25, 2009
I m quite fond of Joomla! project and try to beta test it alot and fix some bugs found in it myself.
I installed the latest version of JomComment over my 1.5 nightly build on my demo server, btw i try always update this install with the latest files from trunk.
When i finished installing it, and it did install successfully, i got a message when trying to log-in into admin backend of Joomla! 1.5:
Though it could by caused by the installled JomComment on Joomla! 1.5 or its any module or plugin, but even when i removed the component by uninstalling it, i still get this message.
legacy mode for Joomla! is ON btw. and the site itself works fine on the front end, only got this problem with the admin side of the Joomla 1.5.
Well then how to solve this issue? here is the solution (and the reason why it was being caused):
Goto file /plugins/system/jom_commentsys_bot.php
Change /replace this part of code:
to only:
This will fix the issue and the direct access to this location is now allowed error on the Joomla! 1.5 backend which occured by installing the Jomcomment will be fixed.
Incoming search terms for the article:
joomla direct access plugin problem php, direct access issue, direct access to this location is not allowed joomla solution, JomComment install, jomcomment installation directory Direct Access to this location is not allowed, joomla Direct Access to this location is not allowed, joomla jomcomment Direct Access to this location is not allowed, joomla search Direct Access to this location is not allowed, no direct access joomlaYou may also like
Tagged as: 1.5, direct access, jomcomment, Joomla, problem, solution