Robin - I am adding Waldorf75's post from another thread here so that this information is consolidated for you. I believe it is a fix IN ADDITION to the fix that Ljv and Walb collaborated on, above, in Reply #14. For v 1.0.11, these fixes should be considered.
Thanks to Walb, Ljv, and Waldorf75 for your bug fixes.
+++
I also got a note from Waldorf75 after he reviewed the FAQ (THANKS!). He reported back the same message as in this post, below, that content items linked to menu items using a "Link - Content Item" option had no ItemID value in the link -- and that the value is missing in the database, as well. (There is not an Itemid=NN in the link for that menu item.) This is what caused him the problem with the read more authorization issue, and he indicates how he resolved it, below.
waldorf75 wrote:
Hi folks,
I had a similar problem with one my Joomla sites as initially posted by eyezberg. But on my J the Itemid in the read more links was just missing for all content items that are linked in the menu with an "Link - Content Item". The ItemID of the read more links of other articles were fine.
I just changed a 0 to a 1 the file components/com_content/content.html.php on line 556 (if I didn't add/deleted lines while changing code) in function _Itemid():
Original:
Code:
$row->_Itemid = $mainframe->getItemid( $row->id, 0, 0 );
Changed to:
Code:
$row->_Itemid = $mainframe->getItemid( $row->id, 0, 1 );
It seems as if this triggers the ContentItemLink support in getItemid() of joomla.php
Hope this helps
waldorf
I followed Waldorf's instructions, as per the post above and his email, and tried and tried, but I was unable to reproduce this "authorization" error myself. I absolutely observed the same issues Waldorf is observing -- there is no ItemID value in the URL and there is not a value in the link stored in the database for that menu item, either.
The line of code (below) from my copy of content.html.php on line 556 is just as he indicated. I do not get an ItemID with the menu item (either in the database or the URL), but, I also do not get a not authorized error. If I change it to "1", I do get a ItemID value, but it works just the same either way for me (doesn't fail.)
Waldorf -- did you get an "authorization error" on the "read more" before you changed the "0" to a "1" -- and then no such error after the "1" was in place? (I just want to confirm that with you.)Code:
if ( $task != 'view' && $task != 'category' ) {
$row->_Itemid = $mainframe->getItemid( $row->id, 0, 0 );
} else {
// when viewing a content item, it is not necessary to calculate the Itemid
$row->_Itemid = $Itemid;
}
When this is all fixed, we need to see if the new FAQ item should be removed. It is possible that I do not have it written exactly right -- in particular for Waldorf's case. But, I am not exactly certain how to change it, yet.

These ItemID issues are always very complicated. My respect to Robin and Rey for your mastery of this over the years. Thanks for your continued support of us always, and, again, to the three of you, Walb, Ljv, and Waldorf75, for contributing code to help resolve this problem.
Amy