Skip to content

Web Code

Tools and Knowledge

  • Home
  • Guides
  • Joomla
  • Online Advertising
  • Scripts
  • SEO
  • Tools
  • WordPress

Frontend login error 403

BY AdministratorJanuary 11, 2025March 6, 2025

There is a problem in all Joomla versions on IE8, you get an error message and a 403 redirection when trying to login to the frontend.
After many searches, i found these solutions:

For Joomla 1.5.x

Open this file: /templates/system/error.php

Find the line:

defined( '_JEXEC' ) or die( 'Restricted access' );

place the following code after the line above:

$ReferTo = $_SERVER['REQUEST_URI'];
$ReferTo = base64_encode($ReferTo);
if ($this->error->code = '403') {
header('Location:index.php?option=com_user&view=login&ReferTo='.$ReferTo); die();
}

Open this file: /components/com_user/views/login/tmpl/default_login.php

Find the line:

<input type="hidden" name="return" value="<?php echo $this->return; ?>" />

And replace it with:

<input type="hidden" name="return" value="<?php if ($_GET['ReferTo']) echo $_GET['ReferTo']; else echo $this->return; ?>" />

For Joomla 1.0.15

Open the file: includes/joomla.php
In line 6043 you'll find this code:

// probably a spoofing attack
if (!$validate) {
header( 'HTTP/1.0 403 Forbidden' );
mosErrorAlert( _NOT_AUTH );
return;

Delete it.

This should work now.
Note that i dont know the security ramifications that this changes have on the system but its the only solution i found.

Previous Post

Writing and distributing articles for SEO purposes

Next Post

Popular of late: Joomla popular articles

Popular Articles

"Home" Add to favorites Advertise your website Bookmark Coding tools component Converter definition Escape Google Google Analytics Google Analytics Rolls Out New Features guide How to HTML HTML module JavaScript Joomla Joomla components Joomla Guides Joomla Modules Linx loading speed Make money from your website mod_html Online Advertising PHP Reciprocal link exchange remove script Select Category Select Section SEO seo guide SEO Tools Spiders title tag Tools Track Adsense clicks Unescape web hosting website Website Tools Wordpress Wordpress Guides

Useful

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and conditions
  • SiteMap

Related Posts

Joomla Guides

Show empty categories in section

When using Joomla 1.0.x + (not 1.5), if you create a menu item linking to a section – this will list and link to the categories. In the Joomla admin you can select "show empty categories&qu

Joomla Guides

Removing the Joomla Generator tag

If you want to Remove the Joomla Generator tag from your website, just find the file includes/frontend.php and delete the line: $mainframe->addMetaTag( 'Generator', $_VERSION->PRODUCT .

Joomla Guides

How to remove “Home” from title tag

If you want to remove the word "Home" from your website title tag in joomla just find the file: yourwebsite/includes/joomla.php

About Us | Contact Us | Privacy Policy | Terms | For Advertisers | WordPress Theme: Xews Lite