I've been talking with Dhrup about the issue with tags on elgg, but don't believe I made a post about it, so here it is.
Basicaly when I click on a tag in a members profile, group, pretty much anywhere, I am sent to a page with no content other than the header.
example link:
http://community.elgg.org/tag/php
that is from my profile, when clicking the 'php' tag in my interests field.
This happens on all tags sitewide... (same in 1.6 still broken)
Is there a fix available so we can actually do something with tags?
If so what is the location of the file fix?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- incoe@incoe
incoe - 0 likes
- Dagorath@Dagorath
Dagorath - 0 likes
- Dagorath@Dagorath
Dagorath - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- incoe@incoe
incoe - 0 likes
- incoe@incoe
incoe - 0 likes
- Dagorath@Dagorath
Dagorath - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- incoe@incoe
incoe - 0 likes
You must log in to post replies.i think i have the same thing, it shows something like this in the url
http://www.example.com/tag/photography but no results
Yeah, I've been getting that for a while on here and forgot to mention it. -.-
It's any tag for me.
Actually, after checking, I get it on my site also... I never click tags so I'd never noticed.
Hrm.
Looks like a rewrite rule issue.
I think.
If I change
RewriteRule ^tag/(.+)/?$ engine/handlers/pagehandler.php?handler=search&page=$1 [B]
to
RewriteRule ^tag/(.+)/?$ search/?tag=$1
it works on my site.
Those tagged words are supposed to trigger a search on the clicked word.
Htaccess rewites
RewriteRule ^tag/(.+)/?$ engine/handlers/pagehandler.php?handler=search&page=$1
search.index.php expects
// Get input
$tag = get_input('tag');
This might be a simple type thingy. Perhaps the rewrite should be
RewriteRule ^tag/(.+)/?$ engine/handlers/pagehandler.php?handler=search&tag=$1
??
Anyone care to check or test with code change on their elgg install ? ( I'm too lazy it's sunday;-)
yeah i think it worked just fine :-) but won't it affect anything else or its just a typo?
thanks for the fix by the way.
@Dhrup i tried your fix forgot to mention that :-)
>.>
Isn't that exactly what I just said, Dhrup? :P
I fixed it the non-lazy way after testing.
kewl that it must be just a typo... who wants to put this on the trac ? ;-) ( i'm still to lazy lol ;-)
"my fix" ? http://community.elgg.org/mod/groups/topicposts.php?topic=212428&group_guid=7 read the bottom lolz ;-)
Aw cwapss. I had page open while I was typing and so never saw your same htaccess solution ;-O apologies.
@Dagorath hehe yeah i guess its the same, i just saw the last solution, thanks for your help too :-)