translate/languages/de/view
Parse error: parse error, unexpected '&', expecting T_VARIABLE or '$' in /sites/all/modules/l10n_server/l10n_community/translate.inc on line 320
Parse error: parse error, unexpected '&', expecting T_VARIABLE or '$' in /sites/all/modules/l10n_server/l10n_community/translate.inc on line 521
Parse error: parse error, unexpected '&', expecting T_VARIABLE or '$' in /sites/all/modules/l10n_server/l10n_community/translate.inc on line 540
| Comment | File | Size | Author |
|---|---|---|---|
| l10n_server_D5_unexpected_and_bug.patch | 1.56 KB | hass |
Comments
Comment #1
gábor hojtsyWhat is your PHP version?
Comment #2
hass commentedPHP 4.3.10
Comment #3
gábor hojtsyWell, the construct we use is a PHP 5 construct: http://hu.php.net/foreach It should be checked whether we actually make use of the fact that it is by reference (ie. do we modify the value). If we do, then that code would need to be updated as well. Settings needs work for this.
Ps. PHP 4 is end of lifed, so you should really update to a later version. There are hordes of bugs and security issues in that 4.3 line which are fixed in later versions.
Comment #4
hass commentedI know... :-( My new server needs to be configured...
Comment #5
hass commentedComment #6
gábor hojtsyJust noting that these &s are significant, needed so that drupal_render() actually marks the handled form elements rendered and at the end of the form theme only the remaining forms are included, instead of the whole form rendered again.
Comment #7
hass commentedWhat makes a hotfix for me more required... :-(
Comment #8
gábor hojtsyOk, added PHP 5 requirement to .info file.
Comment #9
hass commented:-(
Comment #10
meba commentedHass: PHP 4 is really End of Life. You should really move to PHP5 (contact me if you need help with server configuration).
Comment #11
hass commentedI don't need "help"... I need "time" to do it. So I need to downgrade to an older backup and run a version with security issues for now.
Comment #12
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.