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

Comments

ezra-g’s picture

Title: wysiwyg error while installing 7.x-3.xdev 20 oct » Enforce PHP 5.3 requirement for Commons_WYSIWYG
Priority: Normal » Major

This 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.

Mr. Nx’s picture

Status: Active » Closed (fixed)
ezra-g’s picture

Status: Closed (fixed) » Active

Let's leave this open so that the installer can leave Commons_WYSIWYG disabled for folks not on PHP 5.3.

Mr. Nx’s picture

I 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

ezra-g’s picture

gnuget’s picture

I'm attaching a patch for enable Commons WYSIWYG only when the server has at least php 5.3.0 or newer

gnuget’s picture

Status: Active » Needs review
ezra-g’s picture

Thanks, gnuget! I'll take a look at this tomorrow during the distribution sprint at BADCamp (http://groups.drupal.org/node/263768)!

ezra-g’s picture

Status: Needs review » Fixed

I added a warning message to notify folks with old PHP versions and committed: http://drupalcode.org/project/commons.git/commit/2d5c0c6.

ezra-g’s picture

Thanks, Gnuget!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Added installation environment