Page 1 of 1

CGExtensions crashes site

Posted: Fri Oct 24, 2014 1:40 pm
by artisanwebsites
Have tried a few times to install CGExtensions module only to be presented with totally blank screen in the admin and on the website. I then have to manually delete by FTP. I've tried using the module install and also by uploading the XML - both cause the problem.

After enabling debugging this is the error message:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/sites/[websitename]/public_html/modules/CGExtensions/method.install.php on line 67

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/sites/[websitename]/public_html/modules/CGExtensions/method.install.php on line 67

Parse error: syntax error, unexpected T_STRING in /home/sites/[websitename]/public_html/modules/CGExtensions/method.install.php on line 67

Any ideas of what the problem is and how to solve it? I need to use CGCalendar which is why this is being installed but get the same error when trying to install CGCalendar. Other modules can be installed successfully.

CMSMS version 1.11.9

Re: CGExtensions crashes site

Posted: Fri Oct 24, 2014 1:48 pm
by Jo Morg
What is your PHP version? CG modules require 5.3 or higher.

Re: CGExtensions crashes site [SOLVED]

Posted: Fri Oct 24, 2014 2:34 pm
by artisanwebsites
That was it. I was using version 5, changed it to 5.4 and it worked. Thank you :)

Re: CGExtensions crashes site

Posted: Fri Oct 24, 2014 3:10 pm
by staartmees
it's an error typical if you're not using PHP 5.3 or higher

Re: CGExtensions crashes site

Posted: Fri Oct 24, 2014 3:46 pm
by staartmees
Please add [SOLVED] to the titel