ERROR: The CGExtensions module could not be found.

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Maglok
New Member
New Member
Posts: 6
Joined: Tue Jul 14, 2009 7:42 am

ERROR: The CGExtensions module could not be found.

Post by Maglok »

I have done a quick search and found a few threads mentioning this error: ERROR: The CGExtensions module could not be found.

The problem is, non of them actually have a fix.

What did I do? We had a CMS made simple site on our test environment. It was then moved to production server. I have done this before, but this time there were some addons, among wich CGExtensions.

Now I keep getting the above error on the main page and on the admin panel twice. I can login to admin panel, but I don't see anything past the menu, it's blank. I have moved sites like this before, so the config.php paths should be fine. CGExtensions is also in the modules directory.

What am I missing here?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: ERROR: The CGExtensions module could not be found.

Post by Rolf »

Maglok wrote: CGExtensions is also in the modules directory.
But is it installed?
Check Site Admin >> Modules.

Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Maglok
New Member
New Member
Posts: 6
Joined: Tue Jul 14, 2009 7:42 am

Re: ERROR: The CGExtensions module could not be found.

Post by Maglok »

That is the problem, I cannot see that, it is blank. Anything under the menu is blank.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: ERROR: The CGExtensions module could not be found.

Post by Rolf »

Maglok wrote: That is the problem, I cannot see that, it is blank. Anything under the menu is blank.
Urr, sorry... Read over that part ;)

Some things to work on  ;)

First of all, clear the cache.
Delete the content of the folders tmp/cache and tmp/templates_c

Check the server settings, memory_limit, max_execution_time,...
PHP version 5.2.4+

You could try to let cmsms create a new config.php.
(Make a backup of files and database)
Copy the install folder to the server and
do: some-website.com/install
Let the installer do its job, but
in step 5 don't let it create tables and demo content!!!
Unckeck these options.
Otherwise your database will be overwritten.

The installer will recreate all server paths in the config.php now...

The index.php in the root is still called index.php, and you didn't rename it?

Got a link to the site?

Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Maglok
New Member
New Member
Posts: 6
Joined: Tue Jul 14, 2009 7:42 am

Re: ERROR: The CGExtensions module could not be found.

Post by Maglok »

Thanks for this info.

I have the database on backup anyway so I am not afraid to destroy it.

I have cleared the cache and templates_c, I usually do cause I've had that before.

Server settings are all ok.

I have copied a install dir to the server and tried installing, but even @ the installer I get:

"ERROR: The CGExtensions module could not be found.
ERROR: The CGExtensions module could not be found.
string(123) "Smarty error: [in installheader.tpl line 31]: syntax error: unrecognized tag 'assign' (Smarty_Compiler.class.php, line 590)" "

I then quit the install, cause it looked a bit messy to me, images didnt load either for example.

The URL is www.ehealthlab.nl
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: ERROR: The CGExtensions module could not be found.

Post by jmcgin51 »

Try renaming your /modules directory (to /modules1, for example).  Then run the install.  Then rename /modules1 back to /modules.

I don't know why this helps, but it has worked for me a couple of times in the past.
Maglok
New Member
New Member
Posts: 6
Joined: Tue Jul 14, 2009 7:42 am

Re: ERROR: The CGExtensions module could not be found.

Post by Maglok »

If i do that (and empty the cache/templates etc inbetween) I still get a smart error on top:

"string(123) "Smarty error: [in installheader.tpl line 31]: syntax error: unrecognized tag 'assign' (Smarty_Compiler.class.php, line 590)" "
Maglok
New Member
New Member
Posts: 6
Joined: Tue Jul 14, 2009 7:42 am

Re: ERROR: The CGExtensions module could not be found.

Post by Maglok »

Took a gamble, installed even though there were smart errors. It seems to have worked when I rename the modules dir back to the original.

So thanks for the suggestions, very odd situation this.
tbunt
Forum Members
Forum Members
Posts: 21
Joined: Tue Aug 24, 2010 9:13 am

Re: ERROR: The CGExtensions module could not be found.

Post by tbunt »

I just had the same issue as Maglok.

I solved the problem by putting the right root path in my config.php file.

I had:
$config['root_path'] = '/public_html';

but I should have had:
$config['root_path'] = '/home/SITEUSER/public_html';

You will need to make this change in a few spots throughout the config.php file.
luminous
Forum Members
Forum Members
Posts: 168
Joined: Fri May 14, 2010 6:49 pm

Re: ERROR: The CGExtensions module could not be found.

Post by luminous »

I too have had the same issue.  I keep local copies of any sites that I am making, while also a copy on the server.  I have two folders each with the relevant .htcaccess and config files inside that I just have to move when I transfer between serverlocal.

I got the CGExtensions error even with a correct config file.

Solution for me was to go:
1) Go to the my preferences menu - this may not be visible, but go to where it should be and it will pop up.
2) User preferences
3) default theme
4) Now all your menu items should be running, go to the module extensions area and re-install the CGExtensions module.  Logout, log back in and the issue should be gone.
5) Change back to whatever theme you like using.

I realise the above is not a fix, but its a useful workaround to let you get stuff done for now.

EDIT: Also had to reinstall the Script Deploy module after doing this to make things work
Last edited by luminous on Thu Oct 14, 2010 1:47 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: ERROR: The CGExtensions module could not be found.

Post by Dr.CSS »

If you are moving a site and have trouble with a module such as CGExtension or are trying to do a reinstall on a new server, etc. etc., just rename the CGExtention folder till the site is installed then name it back to original and then install it...

@Maglok

This error wont stop the system from installing, it just has to do with the step images at the top, just keep going and all will be fine...

"string(123) "Smarty error: [in installheader.tpl line 31]: syntax error: unrecognized tag 'assign' (Smarty_Compiler.class.php, line 590)"
mjname
Forum Members
Forum Members
Posts: 10
Joined: Wed Jan 16, 2008 11:57 am

Re: ERROR: The CGExtensions module could not be found.

Post by mjname »

double make sure that if you are moving from a windows server to a unix that when you reedit the conig file that your paths are explcit and that upper and lower case is observed. Also if you change it from "/home/public_HTML/yoursite/ to "/home/public_html/yoursite.com you ad the dot com.

When I do ad on domains under the new host it creates the folders with a .com at the end. And I just fixed the caps issue and forgot the .com...  >:( >:( >:( >:(

Now I am  :) :) :) :)
Post Reply

Return to “Modules/Add-Ons”