Can Any Body Explain How To Solve The Error

Can any body help with this error that i am getting??

CException

CUrlManager.UrlFormat must be either "path" or "get".

/home4/cork/public_html/corkads.ie/yii/YiiBase.php(220)

208 {

209 unset($args[0]);

210 $class=new ReflectionClass($type);

211 // Note: ReflectionClass::newInstanceArgs() is available for PHP 5.1.3+

212 // $object=$class->newInstanceArgs($args);

213 $object=call_user_func_array(array($class,‘newInstance’),$args);

214 }

215 }

216 else

217 $object=new $type;

218

219 foreach($config as $key=>$value)

220 $object->$key=$value;

221

222 return $object;

223 }

224

225 /**

226 * Imports a class or a directory.

227 *

228 * Importing a class is like including the corresponding class file.

229 * The main difference is that importing a class is much lighter because it only

230 * includes the class file when the class is referenced the first time.

231 *

232 * Importing a directory is equivalent to adding a directory into the PHP include path.

Stack Trace

#0

/home4/cork/public_html/corkads.ie/yii/base/CComponent.php(152): CUrlManager->setUrlFormat("path")

#1

/home4/cork/public_html/corkads.ie/yii/YiiBase.php(220): CComponent->__set("urlFormat", "path")

#2

/home4/cork/public_html/corkads.ie/yii/base/CModule.php(386): YiiBase::createComponent(array("class" => "CUrlManager", "urlFormat" => "path", "showScriptName" => false, "rules" => array("freeads" => array(0 => "classified/list", "urlSuffix" => ".html"), "freeads/<id:\d+>" => array(0 => "classified/show", "urlSuffix" => ".html"), "freeads/<id:\d+>/<parent>/<category>/<title>" => array(0 => "classified/show", "urlSuffix" => ".html"), "category/<id:\d+>" => array(0 => "classified/list/filterBy/category", "urlSuffix" => ".html"), …)))

#3

/home4/cork/public_html/corkads.ie/yii/base/CApplication.php(510): CModule->getComponent("urlManager")

#4

/home4/cork/public_html/corkads.ie/yii/web/CWebApplication.php(140): CApplication->getUrlManager()

#5

/home4/cork/public_html/corkads.ie/yii/base/CApplication.php(169): CWebApplication->processRequest()

#6

/home4/cork/public_html/corkads.ie/index.php(12): CApplication->run()

07 // remove the following line when in production mode

08 defined(‘YII_DEBUG’) or define(‘YII_DEBUG’,true);

09

10 require_once($yii);

11

12 Yii::createWebApplication($config)->run();

13 Yii::import(‘system.logging.CLogger’, true);

14

15 ?>

This is due to a configuration error. See the example here and check what your value for [font="Courier New"]urlFormat[/font] is. As the error says, it should be either [font="Courier New"]path[/font] or [font="Courier New"]get[/font]. Nothing else. See also the relevant phpdoc concerning CUrlManager.

Thanks for your help but i cant seem to spot the error in the code. Would you be able to do it for me. i can give you teamviewer access or ftp access. Its only something small. I can give you 10 euro for your troubles.