Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internationalized templates example (i18n in general) #21

Open
rihards opened this issue Apr 18, 2010 · 0 comments
Open

Internationalized templates example (i18n in general) #21

rihards opened this issue Apr 18, 2010 · 0 comments

Comments

@rihards
Copy link

rihards commented Apr 18, 2010

When I try to run the i18n example (/h2o/example/i18n/) I get a whole bunch of Strict Standards errors:

Strict Standards: Non-static method H2o_I18n::gettext() cannot be called statically in /h2o/h2o.php on line 227
Strict Standards: Only variables should be passed by reference in /h2o/ext/i18n.php on line 331
Strict Standards: Only variables should be passed by reference in /h2o/ext/i18n.php on line 331
Strict Standards: Only variables should be passed by reference in /h2o/ext/i18n.php on line 331
Strict Standards: Only variables should be passed by reference in /h2o/ext/i18n.php on line 331
Strict Standards: Only variables should be passed by reference in /h2o/ext/i18n.php on line 331
Strict Standards: Only variables should be passed by reference in /h2o/ext/i18n.php on line 331
Strict Standards: Only variables should be passed by reference in /h2o/ext/i18n.php on line 331
Strict Standards: Only variables should be passed by reference in /h2o/ext/i18n.php on line 331
Strict Standards: Non-static method H2o::getOptions() should not be called statically in /h2o/ext/i18n.php on line 361
Strict Standards: Non-static method H2o::getOptions() should not be called statically in /h2o/ext/i18n.php on line 361
Strict Standards: Non-static method H2o::getOptions() should not be called statically in /h2o/ext/i18n.php on line 361
Strict Standards: Non-static method H2o_I18n::gettext() cannot be called statically in /h2o/h2o/context.php on line 199
Strict Standards: Non-static method H2o_I18n::gettext() cannot be called statically in /h2o/h2o/context.php on line 199

And of course the example doesn't work.

*.mo files do get generated though.

PHP version: 5.2.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant