The Joomla! Forum ™





Post new topic Reply to topic  [ 27 posts ] 
Author Message
PostPosted: Wed Mar 01, 2006 11:42 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 18, 2005 10:13 pm
Posts: 52
Hello

I upgraded to joomla 1.0.8. and erverything was fine, so i thouhght. Now i recognized, that the blog-content categoriy archive menu point doesen't work anymore. I got only the message, you're not authorized to see this content (i'm not sure if this is the right text in english - because my joomla runs in german frontend ;-) ). Ok, i logg in as admin and nothing changes - so who is allowed to see it, if not the admin? ;-)

but what can i do????

_________________
Admin auf joomla.at


Last edited by stingrey on Wed Mar 08, 2006 11:55 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed Mar 01, 2006 2:49 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Nov 04, 2005 8:19 pm
Posts: 42
Location: Norway
I got the same problem with the same message and I can't figure it out how to solve the problem. I tried to create a new link, but with the same result.

I also missed the link to the gallery (gallery2) in the main menu, it stopped working, but that was easy to repair - I just created a new link to the main menu and deleted the old one.


Top
 Profile  
 
PostPosted: Wed Mar 01, 2006 3:41 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 18, 2005 10:13 pm
Posts: 52
Hy

I've found a quick and very dirty  ;) solution:
I just cpoied the files of the 1.0.7. in the component/content/ directory and the archive works again - so i think this is really a core problem and not an installation problem from my side....

_________________
Admin auf joomla.at


Top
 Profile  
 
PostPosted: Fri Mar 03, 2006 8:10 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Sep 02, 2005 3:41 am
Posts: 176
Hi, we've not looked too much into where this bug appeared from, but a quick fix for this in 1.0.8 that has worked on our site is:

edit /components/com_content/content.php

add the following code at line 727 after:

Code:
   $check = ( $id ? $id : 0 );


add this:

Code:
   $myCheck = $check;


change line 799 from:

Code:
      $secCheck->load( $check );


to:

Code:
      $secCheck->load( $myCheck );


after line 844:

Code:
   $check = ( $id ? $id : 0 );


add this:

Code:
   $myCheck = $check;


and change line 913 from:

Code:
      $catCheck->load( $check );


to:

Code:
      $catCheck->load( $myCheck );


alternatively just replace the file with the one attached to this post. [edit - deleted useless attachment, find patched file a bit further down :)]

:)

_________________
"A lie can travel halfway around the world while the truth is putting on its shoes”, said Mark Twain. Modern communications help the lie travel even further, although Velcro having replaced lace-ups, the truth is not all that slow anymore in getting ready – mainly thanks to the internet.
Dr S Bleher


Last edited by basic612 on Sat Mar 04, 2006 2:32 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri Mar 03, 2006 1:35 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Dec 30, 2005 1:52 am
Posts: 37
I have the same problem, I have edited my file, and now I can get to the page... But when I choose another 'page' at the bottom because of Pagination, I get...

There are currently no Archived Entries for this Category, please come back later.

I know there are entries, because I wrote them all, and I have around 50 articles total.

This only happens when SEF is enabled though.


Top
 Profile  
 
PostPosted: Fri Mar 03, 2006 8:30 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Nov 04, 2005 8:19 pm
Posts: 42
Location: Norway
I change my content.php as you said and it works perfect.  :) . Thanks,  but I think your attached file is an "old" one without any changes.


Top
 Profile  
 
PostPosted: Sat Mar 04, 2006 2:30 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Sep 02, 2005 3:41 am
Posts: 176
Zharvek wrote:
I have the same problem, I have edited my file, and now I can get to the page... But when I choose another 'page' at the bottom because of Pagination, I get...

There are currently no Archived Entries for this Category, please come back later.

I know there are entries, because I wrote them all, and I have around 50 articles total.

This only happens when SEF is enabled though.


to fix the SEF / pagination problem, around line 1186 you will find this:

Code:
            } else {
               $link = 'index.php?option=com_content&task='. $task .'&id='. $id .'&Itemid='. $Itemid;
            }


change to this:

Code:
            } else {
               $link = 'index.php?option=com_content&task='. $task .'&id='. $id .'&Itemid='. $Itemid;
            }
            $link = sefRelToAbs ($link);


Now your pagination and SEF will work.

Alternatively - just use the attached file .. and yes, I'm making sure I attach a modified one this time! ;)


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

_________________
"A lie can travel halfway around the world while the truth is putting on its shoes”, said Mark Twain. Modern communications help the lie travel even further, although Velcro having replaced lace-ups, the truth is not all that slow anymore in getting ready – mainly thanks to the internet.
Dr S Bleher


Last edited by basic612 on Sat Mar 04, 2006 2:33 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sat Mar 04, 2006 10:35 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Nov 29, 2005 12:31 pm
Posts: 72
Location: Salamanca
Thank you very much basic612, I've been reading the forum during 2 days and no solution was found, now my web works perfectly with your help :D, thanks!

Silvia.

_________________
Escribiremos nuevas reglas, esta es la primera de ellas: Está prohibido prohibir.


Top
 Profile  
 
PostPosted: Sat Mar 04, 2006 4:12 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Dec 30, 2005 1:52 am
Posts: 37
Sorry guys, still no fix. I have applied the code patch, and even put your file over mine, no changes. Still get the same error, I now get more variables in the address bar...

http://www.archaicbinary.net/content/ar ... mitstart=3

instead of

http://www.archaicbinary.net/content/ar ... 2/2006/02/

But same error, I will play some more with the code...

Example:  http://www.archaicbinary.net/content/archivecategory/1/2/    choose February 2006 from the List and then choose antoher page at the bottom of the content that loads.


Top
 Profile  
 
PostPosted: Wed Mar 08, 2006 11:55 am 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Mon Aug 15, 2005 4:36 pm
Posts: 2756
Location: Marikina, Metro Manila, Philippines
Fixed in SVN

_________________
Rey Gigataras - Joomlatools Team Member
http://www.joomlatools.eu <-- Joomla extensions that just work
http://path.to/rey.gigataras <-- About Me :)
Online Community Manager, Support Engineer, Web Developer, Event Manager, Sports Coach :D


Top
 Profile  
 
PostPosted: Tue Mar 14, 2006 3:57 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Sep 21, 2005 2:29 pm
Posts: 82
Location: Venezuela
Masters

Can yopu please show us where and how solve the issue to this problem

Please show us the ligth

Best Regards

_________________
No hay preguntas tontas solo tontos que no preguntan
There is no foolish questions there are only foolish that do not ask questions


Top
 Profile  
 
PostPosted: Tue Mar 21, 2006 3:01 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Aug 26, 2005 6:14 pm
Posts: 153
Location: United Kingdom
Thanks :) The patched content.php worked wonders!
However the actual 'leading articles' etc. aren't displaying for me at present despite the settings being as should be.

_________________
Joomla site in development...
Meanwhile Zetahelp.net continues...

(Unavailable end of Sept/start of Oct)


Last edited by mosey on Tue Mar 21, 2006 3:09 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Tue Mar 21, 2006 3:57 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Sep 21, 2005 2:29 pm
Posts: 82
Location: Venezuela
Hi MOSEY

Can you please tell me how you achieve what you say here

Please

_________________
No hay preguntas tontas solo tontos que no preguntan
There is no foolish questions there are only foolish that do not ask questions


Top
 Profile  
 
PostPosted: Tue Mar 21, 2006 6:27 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Aug 26, 2005 6:14 pm
Posts: 153
Location: United Kingdom
Hi Kachete,
I downloaded the content.php from the latest thread and uploaded it to the folder. I also tried using the CVS copy/SVN on JoomlaForge. HOpe this helps. :)
Mosey

_________________
Joomla site in development...
Meanwhile Zetahelp.net continues...

(Unavailable end of Sept/start of Oct)


Top
 Profile  
 
PostPosted: Tue Mar 21, 2006 7:12 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Sep 21, 2005 2:29 pm
Posts: 82
Location: Venezuela
I downloaded the file

Rename the one in my site

And dont work any i receive a RESTRICCTED ACCESS warning

Also see that it have 4 files in the SVN and in the original instaled file i only got 2

Please

_________________
No hay preguntas tontas solo tontos que no preguntan
There is no foolish questions there are only foolish that do not ask questions


Top
 Profile  
 
PostPosted: Tue Mar 21, 2006 9:10 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Aug 26, 2005 6:14 pm
Posts: 153
Location: United Kingdom
I'm under the assumption that the one in the SVN (content.php - the latest revision) and the attachment is the post with

basic612 wrote:
Zharvek wrote:
I have the same problem, I have edited my file, and now I can get to the page... But when I choose another 'page' at the bottom because of Pagination, I get...

There are currently no Archived Entries for this Category, please come back later.

I know there are entries, because I wrote them all, and I have around 50 articles total.

This only happens when SEF is enabled though.


to fix the SEF / pagination problem, around line 1186 you will find this:

Code:
            } else {
               $link = 'index.php?option=com_content&task='. $task .'&id='. $id .'&Itemid='. $Itemid;
            }


change to this:

Code:
            } else {
               $link = 'index.php?option=com_content&task='. $task .'&id='. $id .'&Itemid='. $Itemid;
            }
            $link = sefRelToAbs ($link);


Now your pagination and SEF will work.

Alternatively - just use the attached file .. and yes, I'm making sure I attach a modified one this time! ;)


I'm sorry to hear it's not working for you. This is the way I've done it and it may or may not apply to other people. Good luck!

_________________
Joomla site in development...
Meanwhile Zetahelp.net continues...

(Unavailable end of Sept/start of Oct)


Top
 Profile  
 
PostPosted: Tue Mar 28, 2006 2:26 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Jan 18, 2006 7:35 am
Posts: 10
thanks for sharing the solution of the archive
the archive can work now
however, I have the same problem as Zharvek's
under sef, it didn't work for pagination
either use the second solution or not

after use the second solution
even the content that are not archive, the pagination can't work
could anyone help me? thanks a lot!


Last edited by yankashing36335 on Tue Mar 28, 2006 2:28 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sun May 28, 2006 3:11 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun May 28, 2006 3:03 am
Posts: 1
Hi
I tried changing the code as suggested by basic612, but that didn't seem to solve the problem for me.

I did what khan2002  suggested though and it worked.  I copied over the current content.php file with the content.php file from 1.0.7. into the component/content/  folder.  All is now wonderful so thanks khan2002.

I just thought I would share in case it helps someone else.


Top
 Profile  
 
PostPosted: Fri Jun 23, 2006 5:44 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Fri Jun 23, 2006 5:38 pm
Posts: 1
Hi, I tried both the ways still its not working. The public pages are not displayed to the public  :(

sterlingpace wrote:
Hi
I tried changing the code as suggested by basic612, but that didn't seem to solve the problem for me.

I did what khan2002  suggested though and it worked.  I copied over the current content.php file with the content.php file from 1.0.7. into the component/content/  folder.  All is now wonderful so thanks khan2002.

I just thought I would share in case it helps someone else.



Top
 Profile  
 
PostPosted: Tue Jul 04, 2006 12:05 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Jul 04, 2006 12:03 pm
Posts: 1
libin wrote:
Hi, I tried both the ways still its not working. The public pages are not displayed to the public  :(


check the system time of your server... if the time and date are behind the publishing date, this message will occur...

rgds


Top
 Profile  
 
PostPosted: Thu Aug 10, 2006 2:36 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 10, 2006 2:27 pm
Posts: 55
Location: Portugal
Hello! I'm new on this forum! I just want to say that i did everything you recomment to do, editing the content.php file [didn't work], implementing your patch file [didn't work]. SO i just want to know what can i do more to solve my problem. When I press [2] page on archives, in every month just shows a page containing nothing than "You are not authorized to view this resource.".
You can check it out at http://www.unsilent-art.com [left menu below] on archives!
Can you anyone please try and see what can i do more to solve it!? Thanx!  :-[


Last edited by unsilentartradio on Thu Aug 10, 2006 2:42 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Aug 14, 2006 10:45 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri May 26, 2006 9:26 am
Posts: 14
Location: England, UK
Hi,

The patch didn't work for me either.

Khan2002 mentioned that replacing the content.php with the one from version 1.0.7 worked, but where would I find that file to try it?

JJ


Top
 Profile  
 
PostPosted: Tue Aug 15, 2006 10:59 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri May 26, 2006 9:26 am
Posts: 14
Location: England, UK
ok, its the next day and now it's working. Strange but excellent!!!

Thanks for making the patch available as I'm sure thats what did the trick.

I'm always amazed by the level of coding knowledge people like you have, thanks for sharing it  ;D

JJ


Top
 Profile  
 
PostPosted: Wed Aug 16, 2006 3:58 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 10, 2006 2:27 pm
Posts: 55
Location: Portugal
JJ2090 wrote:
ok, its the next day and now it's working. Strange but excellent!!!

Thanks for making the patch available as I'm sure thats what did the trick.

I'm always amazed by the level of coding knowledge people like you have, thanks for sharing it  ;D

JJ


Well guys my problem is still unsolved! Can anyone help me on this case! Pleaseeeeeee........... :P

I did everything that is previous posted and nothing worked!


Top
 Profile  
 
PostPosted: Mon Aug 21, 2006 2:08 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 10, 2006 2:27 pm
Posts: 55
Location: Portugal
:'( Omg! I need help on this... 'cause is driving me nuts! I thought that this forums could help me on this issue... but... no, no one can solve or even reply my posts...  :( too bad for me! So let me post this last one and let's see if anyone could help me on this!


Top
 Profile  
 
PostPosted: Fri Nov 24, 2006 11:12 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 10, 2006 2:27 pm
Posts: 55
Location: Portugal
It's not fixed for me...
I have to choose not to show the archive module instead until i have this proble solved
So can someone help me on this too?


Top
 Profile  
 
PostPosted: Sun Oct 21, 2007 9:30 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Mar 29, 2007 12:44 am
Posts: 93
I am having this problem in 1.1.0
any advice?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 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