-
AuthorPosts
-
March 30, 2009 at 4:59 pm #299094
I just turned SEF off and they work now!
It makes no sense at all… :((
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
March 30, 2009 at 5:13 pm #299097Just did that Scotty – thanks a lot!
I may be out later (“researching” beer, obviously) so please don’t think I am ungrateful if I am not available online…
🙂
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
March 30, 2009 at 11:02 pm #299157Fixed.
The problem was the link to your forum that was in the article. It was entered as…
<a href="index.php?option=com_joobb&view=forum&forum=5&Itemid=85" target="_blank">forum </a>
and I changed it to…<a href="forum.html" target="_blank">forum</a>
So this means if you ever disable SEF urls you will have to change it back to the PHP link. Joomla SEF does not handle 3rd party URLs well but you could probably write a rewrite rule into your .htaccess that would handle this one. Check the jooBB forum. Surely your not the first with this problem.
1 user says Thank You to scotty for this useful post
March 31, 2009 at 10:09 am #299228Oh that is fantastic scotty – thanks a million!
😀
That really was a tricky little problem… well spotted sir!
March 31, 2009 at 10:12 am #299229I must say I am amazed that this caused such a problem… you would have thought that the page would display okay but the link to the forum would be broken. Crazy. :confused:
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
March 31, 2009 at 10:15 am #299230Saw that link too, but it did not ring any bells to me. Thanks Scotty, thats a good learning for me too.
If i understand it clearly, joomla doesn’t throw these errors if the link is external, because i prefer Joomla sef and all have external links in the articles, the problem arises if we use default joomla internal links.
correct me if the concept is wrong.
regards
arvind
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
March 31, 2009 at 10:17 am #299231aashwin;121732I must say I am amazed that this caused such a problem… you would have thought that the page would display okay but the link to the forum would be broken. Crazy. :confused:
The way PHP works it has to work out everything first and then display. If it can’t work it out then it just stops.
You will also have Display Errors: Off in your php.ini. This means when php hits a problem the user on the frontend gets a blank page. If errors were on you would see the whole text of the error.
….and your welcome.
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
March 31, 2009 at 10:20 am #299234drarvindc;121733 the problem arises if we use default joomla internal links.
…. that aren’t covered by the .htaccess rewite rules.
The SEF plugin doesn’t guess what the link should be. It has to follow the rewrite rules from the htaccess file. If there is no rule there (as in this case) then Joomla (or rather PHP) throws an error. Because Display Errors is Off, we jsut see a balnk page.
-
AuthorPosts
This topic contains 24 replies, has 3 voices, and was last updated by scotty 15 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum