Skip to content
Web Code

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

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

Joomla Guides

Remove link count from website statistics

If you want to remove the count of links from the statistics module and leave only the important stuff do this:

Joomla Guides

Change or recover Joomla Administrator password

If you forget the admin password it can be a little mess recovering it.

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