Monday, September 17, 2012

function split() is deprecated php and codeingiter , joomla , worpress , magento, php, smarty, cakephp

replace    $base_struc     = split('[/.-]', 'd/m/Y');  to     $base_struc     = explode('/', 'd/m/Y');

function split() is deprecated php and codeingiter , joomla , worpress , magento, php, smarty, cakephp

Sunday, September 16, 2012

The URI you submitted has disallowed characters. in codeigniter [solve]


[SOLVE]
first replace in config.php -$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';  to $config['permitted_uri_chars'] = 'a-z 0-9~%\.\:_\-';

second - replace from  D:\xampp\htdocs\hes\system\libraries\URI.php
if ( ! preg_match("|^[".preg_quote($this->config->item('permitted_uri_chars'))."]+$|i", $str))

to
if ( ! preg_match("|^[".($this->config->item('permitted_uri_chars'))."]+$|i", rawurlencode($str)))

i think you got my point and then working   good