Problem with Internationalization Views |
[eluser]Céd'[/eluser]
Hi, First of all, excuse me for my bad English... I'll try to do my best. I've got a problem while trying to use Internationalization Views found on the wiki [1]. After having modify route.php, config.php, moving url helper to url_i18n helper and finaly create controller i18n.php, i got this error : Code: Parse error: syntax error, unexpected '}' in /opt/lampp/htdocs/3108/system/helpers/url_helper.php on line 107 I'm pretty sure to have correctly paste the url customization and the line 107 correspond to the end (})of the function anchor_i18n();... Thanks. [1] http://codeigniter.com/wiki/Category:Int...iews_i18n/
[eluser]xwero[/eluser]
check if all previous functions have corresponding brackets. In the url_helper code in the method anchor_i18n i see Code: return '';
[eluser]Céd'[/eluser]
Thank you xwero, it was that. I removed the closing bracket on line 94 and it seems to be OK. Thanx again. |
Welcome Guest, Not a member yet? Register Sign In |