Welcome Guest, Not a member yet? Register   Sign In
Problem with Internationalization Views


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 :

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();...


[1] http://codeigniter.com/wiki/Category:Int...iews_i18n/

check if all previous functions have corresponding brackets. In the url_helper code in the method anchor_i18n i see
return '';
But i can't see a start bracket for this.

Thank you xwero, it was that.

I removed the closing bracket on line 94 and it seems to be OK.

Thanx again.

Theme © iAndrew 2016 - Forum software by © MyBB