Mod_Rewrite URL's with wierd prefix!

Postby dkiesow on Wed May 24, 2006 8:45 pm

jondaley wrote:My guess is that you modified the locale file and added a space at the beginning or end of the file. Notice that this issue is not restricted to just rss, but all pages on your site.



I am looking at my locale file - though I have not changed anything in there in several weeks. Any thought how turning mod-rewrite on/off would cause this extra space to appear/disappear as it seems to be doing?
dkiesow
 
Posts: 27
Joined: Fri May 05, 2006 6:04 pm

Mod_Rewrite URL's with wierd prefix!

Postby dkiesow on Wed May 24, 2006 8:49 pm

Ok - I had not changed the locale file but had update class/net/modrewriterequest.php and THAT had an extra space ahead of the <?PHP declaration.

Never would have guessed at that - thanks.

Damon
dkiesow
 
Posts: 27
Joined: Fri May 05, 2006 6:04 pm

Postby jondaley on Thu May 25, 2006 6:59 am

what did you change in the modrewriterequest file?
jondaley
Lifetype Expert
 
Posts: 5971
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Postby dkiesow on Thu May 25, 2006 7:25 am

jondaley wrote:what did you change in the modrewriterequest file?


All of the code listed above in this thread. It all worked perfectly except I left in an extra space in front.
dkiesow
 
Posts: 27
Joined: Fri May 05, 2006 6:04 pm

Postby jondaley on Thu May 25, 2006 12:16 pm

Ah, I see. I didn't go back to the beginning of the thread.
jondaley
Lifetype Expert
 
Posts: 5971
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

modrewriterequestgenerator.class.php

Postby dkiesow on Thu Jan 04, 2007 9:41 pm

Has anyone re-written this hack to work with version 1.1.x

The modrewriterequestgenerator.class.php looks fairly different than 1.0.x and I am not clear what the original hack to it was that eliminated the "1_" in the URLs.

thanks
dkiesow
 
Posts: 27
Joined: Fri May 05, 2006 6:04 pm

Postby jondaley on Fri Jan 05, 2007 9:16 am

Can you compare the sourceforge version of the file to what the author modified? I imagine he only modified a little bit of it? Then I think it should be straightforward enough to modify it for 1.1.
jondaley
Lifetype Expert
 
Posts: 5971
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Postby koji on Thu May 31, 2007 3:41 am

I found this had'nt been fixed yet in 1.2.
I've made the changes again but I'm still having problems with som characters when people creates new blogs.
I've to do some more change anywhere??

koji wrote:Ok, now it works ...

We have to make the same changes we made in class/data/stringutils.class.php to class/data/textfilter.class.php

I've changed the search and replace strings for:

$search = array(' ', '�', '�', '�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�','�');
$replace = array('_','ae','oe','ue','e','i','e','e','a','c','a','e','i','o','u','a','e','i','o','u','a','e','i','o','u','a','e','i','o','u','c','n');


And then we'll have to update the name from our problematic blogs, to make the field mangled_blog from the database be updated
koji
 
Posts: 128
Joined: Wed Jul 06, 2005 10:20 am
Location: Tarragona - Catalonia

Postby jondaley on Fri Jun 01, 2007 11:38 am

Things are unlikely to get fixed if there isn't a bug report for them. As for me, I can't read your post, so I don't know what you are changing.
jondaley
Lifetype Expert
 
Posts: 5971
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Previous

Return to Configuration and Installation