Thread:Project:Support desk/File Upload Work Around

Since I got the error messages
 * cannot acquire lock
 * mwstore: ....

I tried the suggested workaround by using a null lock manager. But using this code at https://www.mediawiki.org/wiki/Manual:Disabling_file_lock_manager I get blank pages and a "PHP Parse error: syntax error, unexpected T_STRING, expecting ')' in /var/www/html/wiki/LocalSettings.php on line 294" error in /var/log/httpd/error_log

what should I do to get file upload workin?