Getting this error trying to install the dev version of DC release 20th oct.
Please continue to the error page
An AJAX HTTP error occurred. HTTP Result
Code: 200 Debugging information follows.
Path: http://www.SITE.com/dc/
install.php?
profile=commons&locale=en&id=1&op=do
StatusText: OK ResponseText: Parse error:
syntax error, unexpected T_FUNCTION in /
home/SITE/public_html/dc/profiles/
commons/modules/contrib/aloha/filter_
true_wysiwyg/filter_true_wysiwyg.module
on line 231
edit: not sure if it matters but am on
Apache version
2.2.22
PHP version
5.2.17
MySQL version
5.5.23-55
Architecture
x86_64
Operating system
linux
and my downloaded DC 7.x-3.xdev was uploaded at 8:42
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | drupal_commons-enforce_php53_requirement-1819032-6.patch | 879 bytes | gnuget |
Comments
Comment #1
ezra-g commentedThis appears to be a duplicate essentially of #1792684: Enforce PHP 5.3 as a requirement.
Ideally we can only install Commons_WYSIWYG if the server is running PHP 5.3.
Comment #2
Mr. Nx commentedComment #3
ezra-g commentedLet's leave this open so that the installer can leave Commons_WYSIWYG disabled for folks not on PHP 5.3.
Comment #4
Mr. Nx commentedI was wondering, is WYSIWYG going to be the only module requiring php 5.3 in commons 3.x or some other features also requires php 5.3 in which case, upgrading from commons 2.x will be restricted to many sites hosted on shared hostings
Comment #5
ezra-g commentedI marked #1828934: Commons won't install: ajax error with wysiwyg as a duplicate of this.
Comment #6
gnugetI'm attaching a patch for enable Commons WYSIWYG only when the server has at least php 5.3.0 or newer
Comment #7
gnugetComment #8
ezra-g commentedThanks, gnuget! I'll take a look at this tomorrow during the distribution sprint at BADCamp (http://groups.drupal.org/node/263768)!
Comment #9
ezra-g commentedI added a warning message to notify folks with old PHP versions and committed: http://drupalcode.org/project/commons.git/commit/2d5c0c6.
Comment #10
ezra-g commentedThanks, Gnuget!
Comment #11.0
(not verified) commentedAdded installation environment