Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-29-2007, 11:04 AM
Casual Pligger
 
Join Date: Mar 2007
Posts: 48
Thanks: 0
Thanked 13 Times in 6 Posts
URL Method 2 problem with strange character

I've done the update to utils.php to handle other characters to avoid this problem, but....

If you look at www.acttup.com there is a story titled "Red McCombs, One of Gov. Perry’s Top Donors Pushes Double Tax Tolls".

Trying to click on the read more or discuss links gets a 404. If you look at the url, the apostrophe is some weird association of characters. It shows up fine in html and even pasted here ok, but gets stored in the db strangely.

Looking at the logs, this story was submitted by a Mac user using Firefox:

Code:
"Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.11) Gecko/2007
0312 Firefox/1.5.0.11"
How do I determine what this character is so that I can get it replaced in the makeUrlFriendly function in utils.php?
Reply With Quote
  #2 (permalink)  
Old 03-29-2007, 11:41 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,579
Thanks: 255
Thanked 651 Times in 515 Posts
The fix you did only takes effect for new stories. Old ones that are broken will not be fixed.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #3 (permalink)  
Old 03-29-2007, 12:07 PM
Casual Pligger
 
Join Date: Mar 2007
Posts: 48
Thanks: 0
Thanked 13 Times in 6 Posts
Understood, but I haven't executed a fix for the makeUrlFriendly function to handle this character and if some one enters it again, it won't work.

Any idea what this character is and how I can add it to be removed in the makeUrlFriendly function?
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Has anyone got Friendly Urls (Url Method 2) working? revolver General Help 11 05-07-2008 11:32 PM
Strange Problem NEC General Help 6 03-02-2007 04:56 AM
Strange RSS Feeds Problem. SoapTaco General Help 3 02-21-2007 04:03 PM
Strange Problem pfgannon Pligg Templates 4 11-26-2006 10:43 AM
Problem form doesn't work! nabil Bug Report 1 04-01-2006 07:53 PM


Search Engine Friendly URLs by vBSEO 3.2.0