I am getting the captured error log as below
Warning: simplexml_load_string(): ><useccv>0</useccv><min_order_total/><max_order_total/><sort_order/><min_order_t in D:\wamp\www\premo_core\lib\Varien\Simplexml\Config.php on line 384
I am not sure which of my changes produced this error because I am getting this error since last one month? So I am unable to find which config file has error.
Edit:
I am trying to debug it by myself and below is my observation.
- I am just cleaning the cache folder and refresh the home page on my browser. At this time I have no parse error in system.log
- Without clearing the cache folder again I am refreshing the page. At this time above said error is being captured.
From the above observation I understood that there is a problem while loading the configuration from cache.
In \lib\Varien\Simplexml\config.xml
configuration file under loadCache()
method I made changes as below
public function loadCache()
{
if (!$this->validateCacheChecksum()) {
return false;
}
/*$xmlString = $this->_loadCache($this->getCacheId());
$xml = simplexml_load_string($xmlString, $this->_elementClass);
echo '<pre>'; print_r($xml);die;
if ($xml) {
$this->_xml = $xml;
$this->setCacheSaved(true);
return true;
}*/
return false;
}
Means, I just restricted to load from cache
just reading the config file every time. Now I am not getting the error. But loading time increased since every time it read all file.
Also, I referred Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>] and tried trouble shoot.
I got below error
/core/Mage/Sales/etc/wsdl.xml:2: namespace error : xmlns:typens: 'urn:{{var wsdl.name}}' is not a valid URI
Can someone suggest now?