The Joomla! Forum ™






Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sat Mar 24, 2007 5:59 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jan 05, 2006 7:58 am
Posts: 32
Description:
Turning off the Print/Email/PDF icons in Content / Global Configuration results in any attempt to turn them ON for a specific content item failing with the error "You are not authorized to view this resource."  Originally reported/discussed in this thread: http://forum.joomla.org/index.php?topic=102236

Reported on:
Originally discovered in 1.0.11 upgrade (did not exist in 1.0.10).  Also confirmed in 1.0.12 clean install.

Classification:
High

Affected functions:
Print/PDF/email links do not function at all if the icons are turned off by default in Content / Global Configuration.  When the user clicks one of those links (turned on for only a specific content item), they get a popup window with only the text "You are not authorized to view this resource."

Related files:
Unknown.

Steps to replicate:
1. In 1.0.12 (or 1.0.11) Administrator, open Site > Global Configuration, click on Content tab.

2. Select Radio Button "Hide" for PDF Icon, Print Icon, and/or Email Icon (it does not appear the settings interact), Save settings.
[For http://www.advancedparagliding.com, all 3 are set to "Hide"]

3. Go to any published Content item and Edit it.

4. Select Parameters tab and change "Email icon" to "Show" (instead of "Use Global").
[This was done for http://www.advancedparagliding.com/content/view/15/56/]

5. In web browser, navigate to your website and open the Content item in question.
[Can be seen for Julie Spiegler Bio: http://www.advancedparagliding.com/content/view/15/56/]

6. Click the Email icon.  Instead of getting a popup window with an email form, you get a popup window with the message "You are not authorized to view this resource."

Analysis:
[Q&T] Confirmed/Unable to confirm/Rejected
Any other comments

Proposed fix(es):
Since sites built prior to 1.0.11 were configured for this to work correctly (supporting setting the Global Configuration to Hide those icons, then only turning them on for individual content items), the only real "fix" is to make it work the same way again.  The workaround appears to set the icons to "Show" in the Global Configuration and then edit _every single content item_ in your entire site to manually override and set to "Hide".

Topic / Artifact ID:
http://forum.joomla.org/index.php?topic=102236
This appears to be the same problem (minimally described): http://forum.joomla.org/index.php/topic,153233.0.html

System info:
My installations exhibiting the problem are:
on Dreamhost servers (Linux 2.4.29, i686, GNU/Linux; Apache/1.3.37)
Joomla 1.0.11 (upgraded from 1.0.3 and 1.0.8)
Other users have confirmed seeing the same behavior on 1.0.12 (clean install)


Last edited by juliecracker on Sat Mar 24, 2007 6:02 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Mar 26, 2007 4:45 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 26, 2005 1:44 pm
Posts: 35
I experienced the same issue ... which is how/why I found this thread.

I resolved the problem, temporarily, but setting the Global Configuration to SHOW the Email link by default.
I have a large site and database; I really don't want to have to manually change every content item.

I hadn't noticed this problem until Joomla 1.0.12.
The feature was working properly prior to this update.


Top
 Profile  
 
PostPosted: Tue May 08, 2007 7:55 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Mar 08, 2007 11:05 am
Posts: 6
I have the same problem, but it’s only with the email icon, the pdf and print icons work fine. But the email one gives me the message "You are not authorized to view this resource".
And what we did (which was suggested) was enabling the global setting of the email icon in the global site configuration. Bu this puts it on every page. I only want it to work on the pages I have specifically enabled it on.

Does anyone have a proper solution??


Top
 Profile  
 
PostPosted: Mon May 14, 2007 9:34 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Mon Dec 05, 2005 10:17 am
Posts: 1367
Location: New Orleans, LA, USA
Fixed in SVN.  Thanks for reporting.

_________________
Rob Schley - Open Source Matters
Webimagery - http://www.webimagery.net/ - Professional Consulting Services
JXtended - http://www.jxtended.com/ - Free and Commercial Joomla! Extensions


Top
 Profile  
 
PostPosted: Tue May 15, 2007 2:57 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jan 05, 2006 7:58 am
Posts: 32
RobS wrote:
Fixed in SVN.  Thanks for reporting.


What was fixed?

Can you share the fix so that we can apply a patch/workaround in the meantime?

Thanks,
j


Top
 Profile  
 
PostPosted: Tue Jul 17, 2007 10:01 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Apr 16, 2007 10:49 am
Posts: 21
Location: Utrecht
RobS wrote:
Fixed in SVN.  Thanks for reporting.


I would also like to know...

_________________
http://www.bamweb.nl/ // custom OpenBSD solutions


Top
 Profile  
 
PostPosted: Fri Jul 20, 2007 10:16 pm 
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Jul 24, 2006 2:06 am
Posts: 657
I'd like to know too..


Top
 Profile  
 
PostPosted: Fri Aug 24, 2007 12:15 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Sep 22, 2006 11:32 pm
Posts: 5
This bug is still evident somewhat in the 1.0.13 version, if you disable globaly then enable email icon in a menu item but don't enable in the actual content item (Tested with dynamic content) then the same error occours, if you set menu to global and content to show then it also wont work (in fact it wont even show the icon. so basicly both have to be enabled if global is set to hide.


Top
 Profile  
 
PostPosted: Sat Jan 12, 2008 8:28 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jan 05, 2006 7:58 am
Posts: 32
In what way was this "SOLVED"?  It is still an issue in 1.0.13.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 



Who is online

Users browsing this forum: No registered users and 0 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