• +255 715 961 988 OR +255 625 958 003

Not authorised to view this resource.

17 September 2017
Author :  

Resolving “You are not authorised to view this resource.” Issue on Joomla Website Due to PHP Version Change. Sometimes figuring out the source of an error is as easy as doing a Google

search on the message being shown instead of what should be shown. In other situations that isn’t the case. We recently had someone contact us for Joomla support that had a website where the website’s menu had disappeared and for most pages of the website they were getting a message that “You are not authorised to view this resource.” instead of the page’s content.

You are not authorised to view this resource.

If you were to Google that message you get a lot of results with a lot of different possible resolutions. One of the first results is for a slightly different message (with an additional sentence after that one) and there were eighteen possible causes listed for the issue in that result.

In this situation, looking at what was shown in the PHP error log (and was shown when the display of errors was turned on) made it look like the problem could have been caused by the PHP version being used. The version of PHP in use was version 7, which considering that the Joomla and the installed extensions where several years out of date, could cause errors to occur. It would appear that web host had automatically changed to that version and lowering the version back down to PHP 5.6 got the website working again.

PHP 5.6 is supported with security updates until the end of next year, so moving to a newer version isn’t necessary yet.

While extensions may still have issues with the newer version of PHP, Joomla introduced official support for PHP 7 with Joomla 3.5, which was released in March of last year. Considering that numerous security fixes have been released since that version, you should already have upgraded Joomla to a newer version than that.

  • +255 715 961 988
  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Recent Works

On Facebook

We use cookies to improve our website. By continuing to use this website, you are giving consent to cookies being used. Cookie policy. I accept cookies from this site. Agree