View Single Post
Old June 11th, 2005, 11:16   #1
cpzhao
 
cpzhao's Avatar
 
Join Date: May 2005
Posts: 71
cpzhao is on a distinguished road
Default 404SEF & mamblog problem solved

I just installed 404SEF package. I love it. It does SEF in a very good way. Why pay for SEF Advance? when there is something free.

I did run into a minor problem with mamblog, but it was very easy to fix. So, I thought I would share it here in case other people run into the same problem.

1. If you get an error "Call-time pass-by-reference...", simple edit the /mambo/components/com_mamblog/sef_ext.php file and remove the "&" in front of the parameter where it is generating the error.

2. The user blog links may not work. If you mouse over the link and see the link with "Warning" in it, again open the file /mambo/components/com_mamblog/sef_ext.php

and comment out line 50, as blow:

function _cleanupString( $string ) {
global $lowercase, $longurl, $url_replace;
$string = strtr( $string, " ", _SEF_SPACE );
//$string = strtr( $string, $url_replace ); <-- this line.
if ( $lowercase > 0 ) $string = strtolower( $string );
return $string;
}

Everything works for me now. 404SEF is so cool. Keep up the good work, guys.
cpzhao is offline   Reply With Quote