You are not authorized to view this resource...

17 years 5 months ago #795 by Bob123
I'm stuck.  I'm getting the same "You are not authorized to view this resource!  You need to login first." error message that a previous user had. 

I've looked at your FAQ and emptied my caches and trash and searched for duplicates but still have a problem.

www.millionaire-mind-forum.com/articles/...missing-20070406634/

The last part of the debug text is;


    [PHPSESSID] => 0b636d7a160e96ff54281e04edf9e7ac
    [webfxtab_content-pane] => 0
    [__utmb] => 115496218
    [option] => com_content
    [task] => view
    [id] => 634
    [Itemid] =>
)
/index.php?option=com_content&task=view&id=634&Itemid=

When SEF URLs is turned off, here is the equivalent URL;

www.millionaire-mind-forum.com/articles/...&id=634&Itemid=10060

I'm excluding com_alphacontent as I know that is an incompatible component.

I have sent you other private information directly.

Thank you in advance,
Bob

Please Log in or Create an account to join the conversation.

17 years 5 months ago #798 by Saka
I can't test anything since you put your site offline.
But it's clear that you have Itemid problems. Make sure that section (articles) has been added to menu and it's public.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

17 years 5 months ago #799 by Bob123
Hi Emir,
I'm not sure what you mean by "Make sure that section (articles) has been added to menu". 

The site is online now. 

I'm sorry, I had sent you in a separate email a login and password as I'd thought you'd need these anyway.

I'd appreciate any help you can give me to understand this problem.

Bob

Please Log in or Create an account to join the conversation.

17 years 5 months ago - 17 years 5 months ago #805 by Bob123


I think I have fixed my problem.  Let me see if I understand the reason why my fix works though.

I simply added a "list content section" menu item under a "special" menu for the section I was having problems with  (as you kind of mentioned in your FAQ).  In my case I added the "articles" section.

Does this work now because there is now a link in the directory table which didn't exist before that your program can find when traversing the directory table?

All of my article content were and still are referenced thru com_alphacontent which we know is a problem.  Presumably the content id could not be found previously because there weren't u&able links to&from the content to the menu data table.  Which I gather is where all of your traversals to find ids start.

Perhaps in that case it would always be advantageous to do what I mentioned with all sections or equivalently just make the added "link content section" menu items unpublished.

Thanks Emir.  Bob

Please Log in or Create an account to join the conversation.

17 years 5 months ago #808 by Saka
Right, in order for SEF Advance to find an Itemid, the item has to be added to main menu, either as listing, blog or article. Now if you don't want the link shown in the menu it can be hidden as you noticed, but must be there.

I think com_alphacontent has some strange way of creating its own Itemids which are in no way connected to Joomla's menu table. But if you get troubles with no Itemids it can be worked around by adding items to menu as you did.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch