Page 1 of 1

Remove module CGExtensions

Posted: Tue Sep 15, 2009 1:10 am
by seh87
I attempted to install CGExtensions 1.17.2 and completely broke my admin panel. I have done some reading on the issue and believe my problem may have come from the version of PHP that is installed.  My installation is on a university server and I believe they are running some version of PHP pre-5.  That isn't so much what my concern is currently.  I just want to get rid of CGExtensions.  However, when I go to the Modules page, all I see is this error:

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /export/htdocs/Dept/Org/Student/SGA/cms/modules/CGExtensions/CGExtensions.module.php on line 47

Most of the other admin pages display some information, but look as though the CSS was stripped away.

I have also tried to delete the directory via FTP, but it fails from not having the correct permissions. When I try to CHMOD that fails as well. I saw elsewhere that I may need to delete other modules that depend on CGExtensions, I deleted a couple of things, but none of that seems to have made a difference and I'm not sure if there is anything else that is dependent on it - I don't want to delete the wrong things.

Where to now?

Thanks.

Re: Remove module CGExtensions

Posted: Tue Sep 15, 2009 12:37 pm
by Deak
seh87 wrote:Where to now?
Last night's backup?  :P

Failing that, get someone to log in as root and CHOWN the CGExtensions directory to your user. Then try to remove it.

Re: Remove module CGExtensions

Posted: Tue Sep 15, 2009 8:48 pm
by seh87
Thanks.
I just reinstalled CMS in a different sub-directory, minus overwriting the tables. Pretty much solved things other than I had to fix some links. I'll do clean up later, I just needed things back up and running pretty quickly.
And I'll be sure to read prereqs next time!  :-\