Page 1 of 1

CGExtensions caues error on install, now will not uninstall

Posted: Thu Nov 07, 2013 5:18 pm
by stevegos
Hi, I have CMSMS 1.11.9 and trying to install CGExtensions 1.37.3.

Upon install I see the following errors at the top of the modules page:

Warning: file_get_contents(__DIR__/help.inc) [function.file-get-contents]: failed to open stream: No such file or directory in /var/sites/e/mydomain.co.uk/public_html/modules/CGExtensions/CGExtensions.module.php on line 235

But in the modules list says it is installed.

Try to uninstall and I next see a blank white screen with
ERROR: The CGExtensions module could not be found.

PHP is version 5.3 (also tried 5.4).

Any ideas? All help greatly appreciated.

Re: CGExtensions caues error on install, now will not uninst

Posted: Thu Nov 07, 2013 5:28 pm
by calguy1000
I doubt you actually successfully got PHP 5.3 or PHP 5.4 to work properly.
CMSMS system information would tell you.

Re: CGExtensions caues error on install, now will not uninst

Posted: Thu Nov 07, 2013 5:36 pm
by stevegos
You quite right I didn't. The hosting company did. They have a PHP switcher on the control panel.

System info says 5.3.10

Re: CGExtensions caues error on install, now will not uninst

Posted: Thu Nov 07, 2013 5:57 pm
by calguy1000
I just did a fresh CMSMS 1.11.9 install on a virgin VM running PHP 5.5.3. (Ubuntu 13.04 Server) I downloaded the .tar.gz file, didn't even use SVN. Then installed CGExtensions via ModuleManager. No issues.

the __DIR__ thing is a dead giveaway as to what the problem is.