Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 2:17 pm (All times are UTC )

 




Post new topic Reply to topic  [ 18 posts ] 
Author Message
Posted: Wed Aug 30, 2006 3:10 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Aug 18, 2005 6:38 pm
Posts: 11
Location: Pelham, NH USA
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

_________________
Pixoul Photography


Last edited by Robin on Fri Sep 08, 2006 10:35 am, edited 1 time in total.

Top
   
 
Posted: Thu Aug 31, 2006 8:26 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Thu Aug 31, 2006 8:17 am
Posts: 1
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


Last edited by Alexyjones on Thu Aug 31, 2006 8:29 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Thu Aug 31, 2006 10:28 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
[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

_________________
Regards Robin


Top
   
 
Posted: Thu Aug 31, 2006 10:41 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
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

_________________
Regards Robin


Top
   
 
Posted: Thu Aug 31, 2006 2:36 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Aug 18, 2005 6:38 pm
Posts: 11
Location: Pelham, NH USA
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!

_________________
Pixoul Photography


Top
   
 
Posted: Thu Aug 31, 2006 6:41 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Wed Aug 17, 2005 10:12 pm
Posts: 1686
Location: Germany-Bad Abbach
Fixed in SVN by facedancer

_________________
The "Humor, Fun and Games" forum has  more than 2500 Posts, so why not build a "Humor, Fun and Games Working" Group?
.....
Malicious tongues say we have this WG right from the start, they call it core team :D


Top
   
 
Posted: Thu Aug 31, 2006 8:22 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Hi,

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

Regards Robin

_________________
Regards Robin


Top
   
 
Posted: Tue Sep 05, 2006 2:21 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Aug 22, 2006 3:21 pm
Posts: 57
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!

_________________
http://squirrelchess.com: A beginner's journey into the complex world of chess.


Top
  E-mail  
 
Posted: Tue Sep 05, 2006 2:37 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
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.

_________________
Regards Robin


Top
   
 
Posted: Tue Sep 05, 2006 2:46 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Aug 22, 2006 3:21 pm
Posts: 57
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.

_________________
http://squirrelchess.com: A beginner's journey into the complex world of chess.


Top
  E-mail  
 
Posted: Fri Sep 08, 2006 10:35 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
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.

_________________
Regards Robin


Top
   
 
Posted: Wed Nov 15, 2006 12:19 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Sep 25, 2005 11:35 am
Posts: 19
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


Top
  E-mail  
 
Posted: Wed Nov 15, 2006 9:12 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
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


You do not have the required permissions to view the files attached to this post.

_________________
Regards Robin


Top
   
 
Posted: Wed Nov 15, 2006 9:53 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Sep 25, 2005 11:35 am
Posts: 19
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


Top
  E-mail  
 
Posted: Thu Jan 11, 2007 7:53 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Oct 14, 2005 5:26 am
Posts: 91
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?


Top
  E-mail  
 
Posted: Thu Jan 18, 2007 3:18 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Dec 04, 2006 12:39 pm
Posts: 3
Experiencing this issue as well after upgrade to 1.0.12 from 1.0.11 (non-static content previewing is broken)


Top
   
 
Posted: Wed Apr 25, 2007 4:07 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Apr 25, 2007 4:01 pm
Posts: 6
Location: Sydney, Australia
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."

_________________
Thinkweb Consulting, Sydney Australia
www.thinkweb.com.au
Web Design, CMS, SEO, SEM, e-commerce, web application development, web analytics.


Top
  E-mail  
 
Posted: Sun Apr 29, 2007 3:23 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Apr 25, 2007 4:01 pm
Posts: 6
Location: Sydney, Australia
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!

_________________
Thinkweb Consulting, Sydney Australia
www.thinkweb.com.au
Web Design, CMS, SEO, SEM, e-commerce, web application development, web analytics.


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 1 guest


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 © 2000, 2002, 2005, 2007 phpBB Group