[FIXED] content archive breaks after upgrading on 1.0.8
- khan2002
- Joomla! Intern
- Posts: 52
- Joined: Thu Aug 18, 2005 10:13 pm
[FIXED] content archive breaks after upgrading on 1.0.8
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????
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????
Last edited by stingrey on Wed Mar 08, 2006 11:55 am, edited 1 time in total.
Admin auf joomla.at
- lavo
- Joomla! Apprentice
- Posts: 44
- Joined: Fri Nov 04, 2005 8:19 pm
- Location: Norway
- Contact:
Re: content archive breaks after upgrading on 1.0.8
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.
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.
- khan2002
- Joomla! Intern
- Posts: 52
- Joined: Thu Aug 18, 2005 10:13 pm
Re: content archive breaks after upgrading on 1.0.8
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....
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
- basic612
- Joomla! Enthusiast
- Posts: 176
- Joined: Fri Sep 02, 2005 3:41 am
Re: content archive breaks after upgrading on 1.0.8
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:
add this:
change line 799 from:
to:
after line 844:
add this:
and change line 913 from:
to:
alternatively just replace the file with the one attached to this post. [edit - deleted useless attachment, find patched file a bit further down ]
edit /components/com_content/content.php
add the following code at line 727 after:
Code: Select all
$check = ( $id ? $id : 0 );
Code: Select all
$myCheck = $check;
Code: Select all
$secCheck->load( $check );
Code: Select all
$secCheck->load( $myCheck );
Code: Select all
$check = ( $id ? $id : 0 );
Code: Select all
$myCheck = $check;
Code: Select all
$catCheck->load( $check );
Code: Select all
$catCheck->load( $myCheck );
Last edited by basic612 on Sat Mar 04, 2006 2:32 am, edited 1 time in total.
"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
Dr S Bleher
-
- Joomla! Apprentice
- Posts: 37
- Joined: Fri Dec 30, 2005 1:52 am
Re: content archive breaks after upgrading on 1.0.8
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.
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.
- lavo
- Joomla! Apprentice
- Posts: 44
- Joined: Fri Nov 04, 2005 8:19 pm
- Location: Norway
- Contact:
Re: content archive breaks after upgrading on 1.0.8
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.
- basic612
- Joomla! Enthusiast
- Posts: 176
- Joined: Fri Sep 02, 2005 3:41 am
Re: content archive breaks after upgrading on 1.0.8
to fix the SEF / pagination problem, around line 1186 you will find this: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.
Code: Select all
} else {
$link = 'index.php?option=com_content&task='. $task .'&id='. $id .'&Itemid='. $Itemid;
}
Code: Select all
} else {
$link = 'index.php?option=com_content&task='. $task .'&id='. $id .'&Itemid='. $Itemid;
}
$link = sefRelToAbs ($link);
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.
Last edited by basic612 on Sat Mar 04, 2006 2:33 am, edited 1 time in total.
"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
Dr S Bleher
- silvianieto
- Joomla! Intern
- Posts: 72
- Joined: Tue Nov 29, 2005 12:31 pm
- Location: Salamanca
Re: content archive breaks after upgrading on 1.0.8
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 , thanks!
Silvia.
Silvia.
Escribiremos nuevas reglas, esta es la primera de ellas: Está prohibido prohibir.
-
- Joomla! Apprentice
- Posts: 37
- Joined: Fri Dec 30, 2005 1:52 am
Re: content archive breaks after upgrading on 1.0.8
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/ar ... egory/1/2/ choose February 2006 from the List and then choose antoher page at the bottom of the content that loads.
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/ar ... egory/1/2/ choose February 2006 from the List and then choose antoher page at the bottom of the content that loads.
- stingrey
- Joomla! Hero
- Posts: 2756
- Joined: Mon Aug 15, 2005 4:36 pm
- Location: Marikina, Metro Manila, Philippines
- Contact:
Re: content archive breaks after upgrading on 1.0.8
Fixed in SVN
Rey Gigataras
http://www.wizmediateam.com <-- great team of talented Web Designers and Programmers!
http://about.me/reygigataras <-- About Me
Partner, Business Development & Project Manager, Event Manager, Sports Coach
http://www.wizmediateam.com <-- great team of talented Web Designers and Programmers!
http://about.me/reygigataras <-- About Me
Partner, Business Development & Project Manager, Event Manager, Sports Coach
- kachete
- Joomla! Intern
- Posts: 82
- Joined: Wed Sep 21, 2005 2:29 pm
- Location: Venezuela
- Contact:
Re: [FIXED] content archive breaks after upgrading on 1.0.8
Masters
Can yopu please show us where and how solve the issue to this problem
Please show us the ligth
Best Regards
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
There is no foolish questions there are only foolish that do not ask questions
-
- Joomla! Enthusiast
- Posts: 153
- Joined: Fri Aug 26, 2005 6:14 pm
- Location: United Kingdom
- Contact:
Re: [FIXED] content archive breaks after upgrading on 1.0.8
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.
However the actual 'leading articles' etc. aren't displaying for me at present despite the settings being as should be.
Last edited by mosey on Tue Mar 21, 2006 3:09 pm, edited 1 time in total.
Joomla site in development...
Meanwhile Zetahelp.net continues...
(Unavailable end of Sept/start of Oct)
Meanwhile Zetahelp.net continues...
(Unavailable end of Sept/start of Oct)
- kachete
- Joomla! Intern
- Posts: 82
- Joined: Wed Sep 21, 2005 2:29 pm
- Location: Venezuela
- Contact:
Re: [FIXED] content archive breaks after upgrading on 1.0.8
Hi MOSEY
Can you please tell me how you achieve what you say here
Please
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
There is no foolish questions there are only foolish that do not ask questions
-
- Joomla! Enthusiast
- Posts: 153
- Joined: Fri Aug 26, 2005 6:14 pm
- Location: United Kingdom
- Contact:
Re: [FIXED] content archive breaks after upgrading on 1.0.8
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
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)
Meanwhile Zetahelp.net continues...
(Unavailable end of Sept/start of Oct)
- kachete
- Joomla! Intern
- Posts: 82
- Joined: Wed Sep 21, 2005 2:29 pm
- Location: Venezuela
- Contact:
Re: [FIXED] content archive breaks after upgrading on 1.0.8
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
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
There is no foolish questions there are only foolish that do not ask questions
-
- Joomla! Enthusiast
- Posts: 153
- Joined: Fri Aug 26, 2005 6:14 pm
- Location: United Kingdom
- Contact:
Re: [FIXED] content archive breaks after upgrading on 1.0.8
I'm under the assumption that the one in the SVN (content.php - the latest revision) and the attachment is the post with
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!basic612 wrote:to fix the SEF / pagination problem, around line 1186 you will find this: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.
change to this:Code: Select all
} else { $link = 'index.php?option=com_content&task='. $task .'&id='. $id .'&Itemid='. $Itemid; }
Now your pagination and SEF will work.Code: Select all
} else { $link = 'index.php?option=com_content&task='. $task .'&id='. $id .'&Itemid='. $Itemid; } $link = sefRelToAbs ($link);
Alternatively - just use the attached file .. and yes, I'm making sure I attach a modified one this time!
Joomla site in development...
Meanwhile Zetahelp.net continues...
(Unavailable end of Sept/start of Oct)
Meanwhile Zetahelp.net continues...
(Unavailable end of Sept/start of Oct)
-
- Joomla! Apprentice
- Posts: 10
- Joined: Wed Jan 18, 2006 7:35 am
Re: [FIXED] content archive breaks after upgrading on 1.0.8
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!
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.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun May 28, 2006 3:03 am
Re: [FIXED] content archive breaks after upgrading on 1.0.8
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.
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.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Jun 23, 2006 5:38 pm
Re: [FIXED] content archive breaks after upgrading on 1.0.8
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.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Jul 04, 2006 12:03 pm
Re: [FIXED] content archive breaks after upgrading on 1.0.8
check the system time of your server... if the time and date are behind the publishing date, this message will occur...libin wrote: Hi, I tried both the ways still its not working. The public pages are not displayed to the public
rgds
-
- Joomla! Intern
- Posts: 55
- Joined: Thu Aug 10, 2006 2:27 pm
- Location: Portugal
- Contact:
Re: [FIXED] content archive breaks after upgrading on 1.0.8
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!
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.
-
- Joomla! Apprentice
- Posts: 14
- Joined: Fri May 26, 2006 9:26 am
- Location: England, UK
Re: [FIXED] content archive breaks after upgrading on 1.0.8
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
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
-
- Joomla! Apprentice
- Posts: 14
- Joined: Fri May 26, 2006 9:26 am
- Location: England, UK
Re: [FIXED] content archive breaks after upgrading on 1.0.8
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
JJ
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
JJ
-
- Joomla! Intern
- Posts: 55
- Joined: Thu Aug 10, 2006 2:27 pm
- Location: Portugal
- Contact:
Re: [FIXED] content archive breaks after upgrading on 1.0.8
Well guys my problem is still unsolved! Can anyone help me on this case! Pleaseeeeeee........... :PJJ2090 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
JJ
I did everything that is previous posted and nothing worked!
-
- Joomla! Intern
- Posts: 55
- Joined: Thu Aug 10, 2006 2:27 pm
- Location: Portugal
- Contact:
Re: [FIXED] content archive breaks after upgrading on 1.0.8
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!
-
- Joomla! Intern
- Posts: 55
- Joined: Thu Aug 10, 2006 2:27 pm
- Location: Portugal
- Contact:
Re: [FIXED] content archive breaks after upgrading on 1.0.8
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?
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?
-
- Joomla! Intern
- Posts: 93
- Joined: Thu Mar 29, 2007 12:44 am
- Contact:
Re: [FIXED] content archive breaks after upgrading on 1.0.8
I am having this problem in 1.1.0
any advice?
any advice?