Joomla!
http://forum.joomla.org/

[MEDIUM:FIXED:1.0.11] Static Content Preview: "You are not authorized.."
http://forum.joomla.org/viewtopic.php?f=376&t=90484
Page 1 of 1

Author:  Sean [ Wed Aug 30, 2006 3:10 pm ]
Post subject:  [MEDIUM:FIXED:1.0.11] Static Content Preview: "You are not authorized.."

I upgraded all my Joomla sites from 1.0.10 to 1.0.11 and I'm now getting "You are not authorized to view this resource" errors when clicking Preview while editing Static Content items. Clicking Preview on non-Static Content items works; I only receive the error when clicking Preview for Static Content items. Verified on multiple Joomla 1.0.11 sites (http://www.trunkmonkey.com, http://www.trunkmonkeyracing.com, http://www.clutchdrop.com).

No errors are getting generated in access_log or error_log and I have not yet modified .htaccess to include the new rewrite rules to block out some common exploits.

Any ideas?

vhost.conf file for my Plesk vhost (was working before upgrade)

Code:
[root@colo1 httpdocs]# cat ~trunkmonkeyracin/conf/vhost.conf
<Directory /var/www/vhosts/trunkmonkeyracing.com/httpdocs>
    php_admin_value open_basedir "/var/www/vhosts/trunkmonkeyracing.com/httpdocs:/var/www/vhosts/trunkmonkeyracing.com/var/tmp:/tmp:/var/tmp"
    php_admin_value session.save_path "/var/www/vhosts/trunkmonkeyracing.com/var/tmp"
    php_admin_value upload_tmp_dir "/var/www/vhosts/trunkmonkeyracing.com/var/tmp"
</Directory>


.htaccess file for http://www.trunkmonkeyracing.com (was working before upgrade)

Code:
# Web Configuration

RewriteEngine on
Options FollowSymLinks

RewriteCond %{HTTP_HOST} !^www.trunkmonkeyracing.com$ [NC]
RewriteRule (.*) http://www.trunkmonkeyracing.com/$1 [R=permanent,L]

RewriteRule ^component/option,com_akostaff http://www.trunkmonkeyracing.com/content/view/129/83/ [R=permanent,L]
RewriteRule ^content/blogcategory/21/60/ http://www.trunkmonkeyracing.com/content/blogcategory/21/79/ [R=permanent,L]

# Joomla Configuration
#
# http://forum.joomla.org/index.php/topic,31813.msg179443.html

RewriteRule ^(content/|component/) index.php


Image

Author:  Alexyjones [ Thu Aug 31, 2006 8:26 am ]
Post subject:  Re: Preview: "You are not authorized to view this resource" after 1.0.11 upgrade

Unfortunately I'm having the same issues.
When clicking Preview in the static content section I get "You are not authorized to view this resource."
The link format of the preview button is: "http://www.xxx.com/administrator/index2.php?option=com_typedcontent&task=edit&hidemainmenu=1&id={Number}#"

For other content, where it works, I get the following links:
"http://www.xxx.com/administrator/index2.php?option=com_content§ionid=0&task=edit&hidemainmenu=1&id={Number}#"

I don't exactly know what would help to fix it, just ask me.
Thanks

Author:  Robin [ Thu Aug 31, 2006 10:28 am ]
Post subject:  Re: Preview: "You are not authorized to view this resource" after 1.0.11 upgrade

[TAGGED: Q&T] Tagged for personal review.

@ Sean and Alex,

I'll do some basic testing, see if I can confirm this issue. If so, I'll move this to the Q&T forum so we can follow up on it.

Regards Robin

Author:  Robin [ Thu Aug 31, 2006 10:41 am ]
Post subject:  Re: Preview: "You are not authorized to view this resource" after 1.0.11 upgrade

Hi,

Tested and confirmed. I have created a bug report: http://forge.joomla.org/sf/go/artf5779?nav=1

Will move this topic to the Q&T forum for follow up.

Regards Robin

Author:  Sean [ Thu Aug 31, 2006 2:36 pm ]
Post subject:  Re: Preview: "You are not authorized to view this resource" after 1.0.11 upgrade

RobInk wrote:
Tested and confirmed. I have created a bug report: http://forge.joomla.org/sf/go/artf5779?nav=1

Will move this topic to the Q&T forum for follow up.


Awesome, thanks!

Author:  Predator [ Thu Aug 31, 2006 6:41 pm ]
Post subject:  Re: [ADDED TRACKER] Static Content Preview: "You are not authorized.." after upg

Fixed in SVN by facedancer

Author:  Robin [ Thu Aug 31, 2006 8:22 pm ]
Post subject:  Re: [ADDED TRACKER] Static Content Preview: "You are not authorized.." after upg

Hi,

I will be updating all Q&T topics tomorrow. I will add fixes to the known issue list as well.

Regards Robin

Author:  Chipmunk [ Tue Sep 05, 2006 2:21 pm ]
Post subject:  Re: [ADDED TRACKER] Static Content Preview: "You are not authorized.." after upg

Hi there!

I have the same issue using Joomla! 1.0.11 and a possibly related one:  the preview of non-static content item works but the wrong template is applied.  When I preview non-static content items, the first template in the list of templates is used and not the default one.

If there is a fix available like hinted previously by Robin, where can I find it?

Have fun!

Author:  Robin [ Tue Sep 05, 2006 2:37 pm ]
Post subject:  Re: [ADDED TRACKER] Static Content Preview: "You are not authorized.." after upg

Hi,

The fix should be available in SVN. I think it's the first file here: http://forge.joomla.org/integration/vie ... m=exsy1002

You can click that link, there will be a download link as well. My advice would be to wait for an official patch/release though. These fixes have not been tested yet.

Author:  Chipmunk [ Tue Sep 05, 2006 2:46 pm ]
Post subject:  Re: [ADDED TRACKER] Static Content Preview: "You are not authorized.." after upg

Robin:
thanks for the fast reply!  I guess I will go with your advice to wait for an official patch, though.  After all, the preview is not terribly important.

Author:  Robin [ Fri Sep 08, 2006 10:35 am ]
Post subject:  Re: [MEDIUM:ADDED TRACKER:1.0.11] Static Content Preview: "You are not authorize

Quote:
Fixed in SVN by facedancer


Fix tested by Q&T, approved and working. Articact was already closed, also closing forum topic and moving to Resolved.

Author:  skiordie [ Wed Nov 15, 2006 12:19 pm ]
Post subject:  Re: [MEDIUM:FIXED:1.0.11] Static Content Preview: "You are not authorized.."

Hi,

how can I get this patch? Registration did not work on souce forge so I have no access to the patch! Can anyone help?

Thank you!
Tom

Author:  Robin [ Wed Nov 15, 2006 9:12 pm ]
Post subject:  Re: [MEDIUM:FIXED:1.0.11] Static Content Preview: "You are not authorized.."

Hi Tom,

See if the attached file solves your problem, I downloaded the latest contentwindow.php and zipped it for you.
You should unzip and upload to /administrator/popups/

Regards Robin

Author:  skiordie [ Wed Nov 15, 2006 9:53 pm ]
Post subject:  Re: [MEDIUM:FIXED:1.0.11] Static Content Preview: "You are not authorized.."

Hi!

Thank you for your help. I finally got the files from Sourceforge...seems their Registration Mail is very slow. So I finally got it.

Maybe your file will help other users for a quicker solution to this issue.

Till then,
Tom

Author:  trevor4370 [ Thu Jan 11, 2007 7:53 am ]
Post subject:  Re: [MEDIUM:FIXED:1.0.11] Static Content Preview: "You are not authorized.."

Running Joomla 1.0.12 update from 1.0.11, and I have this problem "You are not authorised to view this resource" when I try and preview the Item. It is not a static page ........ any ideas?

Maybe because it is an updated 1.0.11?????? - Should I overwrite all the files with a full version 1.0.12?

Author:  evanr76 [ Thu Jan 18, 2007 3:18 am ]
Post subject:  Re: [MEDIUM:FIXED:1.0.11] Static Content Preview: "You are not authorized.."

Experiencing this issue as well after upgrade to 1.0.12 from 1.0.11 (non-static content previewing is broken)

Author:  thinkweb [ Wed Apr 25, 2007 4:07 pm ]
Post subject:  Re: [MEDIUM:FIXED:1.0.11] Static Content Preview: "You are not authorized.."

Joomla forge is down so I can't try and access the fix mentioned above.

This is a "me too" message. Joomla v 1.12. User can view preview pop-up window while editing content but after a random number of previews they get the message "You are not authorised to view this resource."

Author:  thinkweb [ Sun Apr 29, 2007 3:23 pm ]
Post subject:  Re: [MEDIUM:FIXED:1.0.11] Static Content Preview: "You are not authorized.."

Quick update. I didn't notice the file attachement in RobInk's post. Damned small icon and text!

Uploaded fix and based on a quick test it seems to resolve the problem. Thanks!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/