Error in Installation

Ganesh Kandu
Forums
Hi, I am Trying to install Opigno 1.24.0 but Getting Error Massage An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: install.php?profile=opigno_lms&locale=en&opigno_requirements_finished=1&id=1&op=do StatusText: OK ResponseText: Parse error: syntax error, unexpected '[' in profiles/opigno_lms/modules/contrib/homebox/homebox.module on line 37 You Have Mentioned php version greater than 5.2.4 in install.php line no 19 // Exit early if running an incompatible PHP version to avoid fatal errors. if (version_compare(PHP_VERSION, '5.2.4') &lt; 0) { print 'Your PHP installation is too old. Drupal requires at least PHP 5.2.4. See the <a href="http://drupal.org/requirements">system requirements</a> page for more information.'; exit; } https://wiki.php.net/rfc/shortsyntaxforarrays</a" title="https://wiki.php.net/rfc/shortsyntaxforarrays">https://wiki.php.net/rfc/shortsyntaxforarrays where as Short syntax for arrays Implemented in 5.4 I am Installing on php 5.3 mysql 5.5 Apache 2.2.31(Unix)
Profile picture for user James Aparicio
James Aparicio

Hi Ganesh Kandu,

Hi Ganesh Kandu,

Latest updated version of one of the contrib modules introduced a line of code with short array syntax that requires version 5.4.

Please apply this patch:

https://www.drupal.org/node/2782675

BR

Ganesh Kandu

Adding Patch to Opigno

Hi James Aparicio, i think this issue may face by other users when they install opigno on lower php version so you should add this patch to opigno it self or change requirement version of opigno to php v5.4
Profile picture for user James Aparicio
James Aparicio

Yes,

Yes,

We will add this patch to the next release ofc.

BR

Ganesh Kandu

Thanks to add

Thanks to Add in Patch in next release
Profile picture for user greeneel
greeneel

Opigno installation

If all else fails you could just install it using MAMP, XAMP etc. Alot less hassle if you're not going to be moving around things in the near future.