I have a small problem with my site. I am using the Paul01 template (although I do not believe this to be significant). And method 1 of category access(?) - passing the category as a GET variable.
When trying to access categories that contain an ampersand (&), ie: Health & Fitness, all news items are displayed. If no ampersand is contained within the category name, only the posts from the requested category appear.
The ampersand in the URL is clearly being interpreted as the mark for a second variable (as it should). The result of which being that a non existent category is being searched for.
http://www.domain.com/index.php?category=Food&Drink
Category "Food" is searched for. No results are displaying all posts.
I imagine this could be fixed by converting any ampersands into another character or removing them completely, like whitespace, from the database and subsequent queries.
Any thoughts / ideas / quick fix / patches?
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| |
| ||||
|
Have a link to your site? As far as I am aware, the category links use the category safe name which gets rid of all the special characters.
__________________ I accept donations for my time helping users like you on the forum and IRC. |
| |||
|
Beev, you must be a machine :P Its a dev version at the moment located here: www.ongoss.com The same situation seems to occur in Post Title's also: http://www.ongoss.com/story.php?titl...ons-on-Website Although this results in a blank page (as I imagine post "Advice-" is not being found). Im running Pligg Beta 9.1 on apache. Last edited by Biomech; 03-06-2007 at 09:58 AM.. |
| ||||
|
I think Ash fixed this last week http://pligg.svn.sourceforge.net/vie...v&revision=813
__________________ I accept donations for my time helping users like you on the forum and IRC. |
| |||
| Thx
Sweet, I'll check it out and see what happens |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Control of meta description - categories | Divisive Cotton | Suggestions | 64 | 11-23-2008 07:37 PM |
| [Fixed] Category Deleted | Templora | Bug Report | 6 | 04-30-2007 08:39 PM |
| [Fixed] Category problem | moocow | Bug Report | 2 | 03-25-2007 03:13 PM |
| [Fixed] Click "read more" the category links screw up | mlbier | General Help | 12 | 02-15-2007 01:32 PM |
| [Fixed] Changing category url | hooperman | Bug Report | 7 | 02-14-2007 08:19 PM |




Linear Mode

