The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 39 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Mon Feb 11, 2008 12:57 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Mon Mar 19, 2007 8:29 am
Posts: 171
I am getting

403 - You are not authorised to view this resource.

When I click on the menu link to add a new article.

I am a registered user,

Link goes to http://www.domain.co.uk/submit-article.html&nbsp; (Joomlas own SEF URLS are on).

Any suggestions?

Many Thanks

Gary


Top
 Profile  
 
PostPosted: Mon Feb 11, 2008 1:18 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Mon Mar 19, 2007 8:29 am
Posts: 171
I turned off the built in SEF URLS and set myself as an AUTHOR.

The link is /index.php?option=com_content&view=article&layout=form&Itemid=7

Same error.

Anyone?


Top
 Profile  
 
PostPosted: Wed Feb 13, 2008 3:17 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Mon Mar 19, 2007 8:29 am
Posts: 171
Now when I try to log in as a user it redirects to

/index.php?option=com_content&amp;view=frontpage&amp;Itemid=1

with the error

404 - Article #0 not found

You may not be able to visit this page because of:

1. an out-of-date bookmark/favourite
2. a search engine that has an out-of-date listing for this site
3. a mistyped address
4. you have no access to this page
5. The requested resource was not found.
6. An error has occurred while processing your request.

Please try one of the following pages:

* Home Page

If difficulties persist, please contact the System Administrator of this site.



What IS the deal with 1.5? It seems to be a complete joke???


Anyone?


Top
 Profile  
 
PostPosted: Wed Feb 13, 2008 7:46 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jun 07, 2006 7:18 am
Posts: 46
Location: Finland
Same problems on several posters here allready.
viewtopic.php?f=428&t=264730&p=1201462#p1201462

_________________
------------------------------------
SamTzu


Top
 Profile  
 
PostPosted: Sat Jun 28, 2008 11:45 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 9:51 pm
Posts: 33
Location: Stockton Ca
With 1.5.3 What is the correct way of setting up an article or a category that you only want registered/logged in people to see? I did it the way all my 1.0.15 sites are done, and instead of a nice friendly error message i get a big pink 403 that looks like most people 404's or as bad as a internal server error, 1.0.15 shows a nice message that matchs the website template and gives them a link to register/login pretty much

Any suggestions?


Top
 Profile  
 
PostPosted: Sun Jun 29, 2008 7:51 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jul 24, 2007 1:33 am
Posts: 41
Same problem as Dr. Digital... any suggestions?


Top
 Profile  
 
PostPosted: Sun Jun 29, 2008 9:03 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 10, 2007 9:51 pm
Posts: 33
Location: Stockton Ca
http://www.naughtyteach.com/mlkstudio/index.php?option=com_content&task=view&id=44&Itemid=90

I am after an error like 1.0.15 gives above, ignore the domain name its an unused domain, i accidently let the real domain for that old site expire and had it stolen **cough** got to find a new domain once features i need are available on 1.5.3 such as this one. Currently I am attempting to make this work for a video tutorial section of http://www.JoomlaMafia.com site so as soon as i figure out the solution ill be making a video tutorial of how to fix this issue I put 13 hours into this today, the other site i built from word documents emailed to me in 4 days, 8 week online course and i never done a site before that that required people to register to see parts of it...


Top
 Profile  
 
PostPosted: Thu Jul 10, 2008 7:00 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jul 09, 2008 7:33 am
Posts: 6
This has just started to affect me as well! Randomly it seems, various functions (not just article requests) such as gallery views, banner ads and menu items are being selected by users and this 403 comes up.

This is really nasty! Anyone managed to find out why this is occurring? I'm on 1.5.2, not 1.5.3


Top
 Profile  
 
PostPosted: Fri Sep 05, 2008 3:02 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Sep 05, 2008 2:47 am
Posts: 31
I have this problem as well. I cannot edit my menu items. I have the super administrator rights but still it cannot work :(


Top
 Profile  
 
PostPosted: Thu Sep 18, 2008 11:23 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Apr 27, 2007 2:28 am
Posts: 5
I have this problem too. On two items found in a blog of category display one link will take me to the article, the other errors with You are not authorised to view this resource. I have checked carefully and both items are public and identically attributed in the admin side.

My client is pinging me every few hours to see if I have solved it. Does anyone even have an idea on where to look?


Top
 Profile  
 
PostPosted: Fri Sep 19, 2008 4:40 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Sep 05, 2008 2:47 am
Posts: 31
Something to do with the configuration i was told. But my friends have not given me a definite answer yet so im still waiting.


Top
 Profile  
 
PostPosted: Wed Sep 24, 2008 8:48 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 24, 2008 8:27 pm
Posts: 7
Location: New Delhi, India
I am facing a similar issue at my joomla site.

I have four different users. One registered, One author, One editor, One publisher.

None of them is able to "Submit an article". When I am clicking at the link "Submit an article" link, there is the message I am getting:

"You are not authorised to view this resource."

Strange is, I have "Gmail authorization" plug-in enabled and when I am logging in using Gmail account, I am able use "Submit an article" form, if that user is changed to publisher. But after submitting the article, again I am getting the same error - "You are not authorised to view this resource."

I am using Joomla 1.5 and I have SEO friendly URL enabled, but I guess, it has nothing to do with this issue.

Here is what I have tried so far:

<JOOMLA>\libraries\joomla\user\authorization.php file has a list of entries for ACL, where you can see the entries for article permissions as below:

Code:
// actions
$this->addACL( 'com_content', 'add', 'users', 'author', 'content', 'all' );
$this->addACL( 'com_content', 'add', 'users', 'editor', 'content', 'all' );
$this->addACL( 'com_content', 'add', 'users', 'publisher', 'content', 'all' );
$this->addACL( 'com_content', 'edit', 'users', 'author', 'content', 'own' );
$this->addACL( 'com_content', 'edit', 'users', 'editor', 'content', 'all' );
$this->addACL( 'com_content', 'edit', 'users', 'publisher', 'content', 'all' );
$this->addACL( 'com_content', 'publish', 'users', 'publisher', 'content', 'all' );


To avoid such hierarchical complexities, I changed it to:

Code:
$this->addACL( 'com_content', 'add', 'users', 'registered', 'content', 'all' );
$this->addACL( 'com_content', 'edit', 'users', 'registered', 'content', 'own' );
$this->addACL( 'com_content', 'publish', 'users', 'registered', 'content', 'own' );


But this hack is failing as well.

Other modification i tried afterward is:

<JOOMLA>\plugins\system\legacy.php file has a similar entries for ACL as below:

Code:
$acl->addACL( 'action', 'add', 'users', 'author', 'content', 'all' );
$acl->addACL( 'action', 'add', 'users', 'editor', 'content', 'all' );
$acl->addACL( 'action', 'add', 'users', 'publisher', 'content', 'all' );
$acl->addACL( 'action', 'edit', 'users', 'author', 'content', 'own' );
$acl->addACL( 'action', 'edit', 'users', 'editor', 'content', 'all' );
$acl->addACL( 'action', 'edit', 'users', 'publisher', 'content', 'all' );
$acl->addACL( 'action', 'publish', 'users', 'publisher', 'content', 'all' );


which I changed to:

Code:
$acl->addACL( 'action', 'add', 'users', 'registered', 'content', 'all' );
$acl->addACL( 'action', 'edit', 'users', 'registered', 'content', 'own' );
$acl->addACL( 'action', 'publish', 'users', 'registered', 'content', 'own' );


and as expected, it didnt work.

Any help ?????

_________________
--
Darshak Parmar
darshak.parmar@gmail.com


Top
 Profile  
 
PostPosted: Wed Sep 24, 2008 9:40 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 24, 2008 8:27 pm
Posts: 7
Location: New Delhi, India
Okie.

Here is an update. My first issue was
Quote:
I have four different users. One registered, One author, One editor, One publisher.

None of them is able to "Submit an article". When I am clicking at the link "Submit an article" link, there is the message I am getting:

"You are not authorised to view this resource."


I just turned off the "GMail Authentication" plug-in and now Joomla is behaving as normal. I mean, Users are able to deal with content as per their access levels.

I am still struggling with the hack i mentioned above. Now, after disabling "GMail Authentication", i started experimenting with the hack once again and somehow I am able to make it work. I mean, I provided all the accesses to registered users using the hack [[ by modifying both, <JOOMLA>\libraries\joomla\user\authorization.php & <JOOMLA>\plugins\system\legacy.php ]]. After adding this patch, when I am logging in as a registered user, I am able to see the "Edit" icon before the posts I had posted earlier. But when I am clicking it and trying to edit the posts, I am getting the same "You are not authorised to view this resource".

Can anybody help me with this hack ?

_________________
--
Darshak Parmar
darshak.parmar@gmail.com


Top
 Profile  
 
PostPosted: Thu Sep 25, 2008 12:16 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 24, 2008 8:27 pm
Posts: 7
Location: New Delhi, India
Okie. Finally, here is the solution. It works for me. Let me try it for sometime and if I'll find any issues and more important, some better work around, I ll post here...

1) first, go to Admin Panel > Global Configuration > System and change the "New User Registration" Type to "Publisher"

2) Open the following file from your Joomla site:

<JOOMLA>\libraries\joomla\user\authorization.php

and look for the following line:

Code:
$this->addACL( 'com_content', 'edit', 'users', 'publisher', 'content', 'all' );


Change this line to:
Code:
$this->addACL( 'com_content', 'edit', 'users', 'publisher', 'content', 'own' );


This will help you to get rid of complex user hierarchy. All new users will be able to create, publish and edit their articles directly. This works for me on Joomla 1.5.xx

_________________
--
Darshak Parmar
darshak.parmar@gmail.com


Top
 Profile  
 
PostPosted: Thu Sep 25, 2008 6:25 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Sep 05, 2008 2:47 am
Posts: 31
<JOOMLA>\libraries\joomla\user\authorization.php

Couldnt find this. Im using Joomla! 1.0.15


Top
 Profile  
 
PostPosted: Thu Sep 25, 2008 3:23 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 24, 2008 8:27 pm
Posts: 7
Location: New Delhi, India
Why don't you give a try to this ?

Go to includes/gacl.class.php and add the following code inside gacl function:

Code:
$this->_mos_add_acl( 'action', 'add', 'users', 'registered', 'content', 'all' );
$this->_mos_add_acl( 'action', 'edit', 'users', 'registered', 'content', 'own' );
$this->_mos_add_acl( 'action', 'publish', 'users', 'registered', 'content', 'own' );


hopefully, that will work.

_________________
--
Darshak Parmar
darshak.parmar@gmail.com


Top
 Profile  
 
PostPosted: Fri Sep 26, 2008 1:09 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Sep 05, 2008 2:47 am
Posts: 31
Parse error: syntax error, unexpected T_VARIABLE in /home/wwwvita/public_html/includes/gacl.class.php on line 2

Cant login after i post those codes


Top
 Profile  
 
PostPosted: Fri Sep 26, 2008 1:40 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 24, 2008 8:27 pm
Posts: 7
Location: New Delhi, India
It looks like a minor error, resolvable.

Can you email me that file ? I will have a look at it and reply you back .

_________________
--
Darshak Parmar
darshak.parmar@gmail.com


Top
 Profile  
 
PostPosted: Fri Sep 26, 2008 9:46 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Sep 05, 2008 2:47 am
Posts: 31
sure give me a min


Top
 Profile  
 
PostPosted: Tue Jan 20, 2009 8:47 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Oct 06, 2008 3:23 am
Posts: 6
I'm using joomla 1.5.7 and i have some problem with their, error 403 - You are not authorised to view this resource. there are no solution for this ? please help me ...


Top
 Profile  
 
PostPosted: Fri Jan 23, 2009 1:32 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Oct 06, 2008 3:23 am
Posts: 6
I have a good news for you all about error "403 - You are not authorised to view this resource.", i have solution from my friend in Indonesia..

add script below into the file error.php

Code:
<?php
if ($this->error->code = '403') {
header('Location:http://yourhost/index.php?option=com_user&view=login'); die();
} ?>


If there is a visitor try to acces your private page, joomla will be redirect to the login page.
That's all
have a nice day.


Top
 Profile  
 
PostPosted: Thu Mar 26, 2009 11:52 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Mar 26, 2009 11:39 am
Posts: 1
HELLO ???

Why should I have to edit ANY scripts to correct this ?
I add a link into an existing article (that was working before), go back to the homepage and try to view the article and get a 403 error. And with anoth site I run, previously working links to articles are now suddenly displaying 403 errors - without having been edited.

Has anyone got an actual solution for this, rather than a workaround ?
All of my pages are set to Public. No access level are in place for these.

Regards


Top
 Profile  
 
PostPosted: Thu Apr 16, 2009 9:24 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 03, 2009 3:08 pm
Posts: 6
I am having the same problem. 403 - You are not authorised to view this resource. All my links are public, but only 6 of my menu links out of the 20 or so give this error. Why is it happening at random? Is there any real fix? I don't want to set these 6 links to registered, because they will be hidden to guests. Which I don't want, and was the point of setting it to public in the first place. Help Please? Thanks in advance.

JJP333


Top
 Profile  
 
PostPosted: Fri Apr 17, 2009 3:42 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 03, 2009 3:08 pm
Posts: 6
Hello Everyone, I think I found the answer to the 403 error "You are not authorised to view..." page that you are directed to even if the page is set to public. Go into your menu tab and content tab in the back end of Joomla and open the trash in each of these areas. permanently delete anything in there. The trash saves old permission settings and will over ride any new settings you put in Joomla. Chances are the menu where the problem was occurring was happening because old settings were being read instead of new settings like "making the page public as opposed to registered". This worked for me. If it doesn't work for you, click the link below, it has other possible solutions to the problem. Hopefully at least one of them will work for you. Later!

http://forum.joomla.org/viewtopic.php?t=19443


Top
 Profile  
 
PostPosted: Sat Aug 07, 2010 7:25 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jul 10, 2010 2:48 pm
Posts: 7
Does anybody know how to edit this 403 message? I want mine to be more specific. That is, I want it to say "You need to log in to see this stuff," or something along those lines. Thanks!


Top
 Profile  
 
PostPosted: Mon Sep 20, 2010 6:56 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Sep 02, 2010 5:31 am
Posts: 2
Hello I am extremely new to Joomla but i hope i can help you. I was getting the same 403 error and got rid of it by going to the control panel in the back end and making sure all the access level is set to public (as opposed to special) in the sections within the section manager


Top
 Profile  
 
PostPosted: Mon Sep 20, 2010 7:09 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Sep 02, 2010 5:31 am
Posts: 2
Furthermore, i noticed that i needed to create a menu item to access my sections, hope this helps


Top
 Profile  
 
PostPosted: Mon Sep 20, 2010 6:21 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Sep 20, 2010 6:09 pm
Posts: 4
Hi all, i just got a solution to this damn error 403, that is if it is still needed,
The solution is simple,
just check on the permissions you rewarded the categories and and sections where the articles you are trying to access in your menu are located.
specifically do this by clicking content -> section manager --> check on access levels of each
then back to content --> category manager ---> check on access levels of each
hope that helps
thanx all forum members for help out, i have really gained so much from these joomla forums:


Top
 Profile  
 
PostPosted: Tue Apr 05, 2011 12:32 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jun 19, 2009 8:14 am
Posts: 18
hey, i had this problem, it was because the landing page of where the person logs into (so the page that has the log area) was set to permission "special" and so wouldnt let it go through! all sorted now though! deliciously easy problem!


Top
 Profile  
 
PostPosted: Wed Apr 13, 2011 6:15 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Feb 01, 2009 11:56 am
Posts: 3
SOLUTION 403 Error

The problem occured when I switched some menu items with connected articles form Registerd to Public. The 403 error message seemed to apear randomly.

I permenently removed the trash items for both the articles and the menu items. But have little trust in this leading to the solution.

I then set the Section and Categories to Public and that actually did the trick. I never realized I had ever set these items to Registered.

Many thanks to the people posting on this item previously which helped me solve this nasty issue.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 39 posts ]  Go to page 1, 2  Next



Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group