Page 1 of 1

CGExtension Error Throwing after Update

Posted: Sat Nov 13, 2010 4:07 pm
by ivistru
HI!

Situation:
Yesterday I tryed to Update one Module. I guess it was CGExtension. During the Update a Problem occured and I think the System lost the Connection to the Database.
Instead oft the Login Area or the Page it self i get following errors

Fatal error: Call to undefined function cmsms() in /is/htdocs/wp10474212_KSB0B6F2UB/www/modules/CGExtensions/CGExtensions.module.php on line 132
Fatal error: Call to undefined function cmsms() in /is/htdocs/wp10474212_KSB0B6F2UB/www/modules/CGExtensions/CGExtensions.module.php on line 71


Question:
Can I do the Update it somehow manuel? If how?


Errors:
Line 71 is following
    $smarty = cmsms()->GetSmarty();
    $smarty->register_function('cge_yesno_options',
      array('cge_smarty_plugins','smarty_function_cge_yesno_options'));
    $smarty->register_function('cge_have_module',
      array('cge_smarty_plugins','smarty_function_have_module'));

line 132 is Following
$smarty = cmsms()->GetSmarty();
    $smarty->register_block('cgerror',
    array('cge_smarty_plugins','blockDisplayError'));
    $smarty->register_function('cgimage',
      array('cge_smarty_plugins','smarty_function_cgimage'));
    $smarty->register_function('cge_state_options',
      array('cge_smarty_plugins','smarty_function_cge_state_options'));
    $smarty->register_function('cge_country_options',
      array('cge_smarty_plugins','smarty_function_cge_country_options'));
    $smarty->register_function('get_current_url',
      array('cge_smarty_plugins','smarty_function_get_current_url'));
    $smarty->register_modifier('rfc_date',
      array('cge_smarty_plugins','smarty_modifier_rfc_date'));
    $smarty->register_modifier('cge_entity_decode',
      array('cge_smarty_plugins','smarty_modifier_cge_entity_decode'));
  }

If anybody could give me tip how to handle ist best.

I don't have a backup thou, not smart I know  :)

Re: CGExtension Error Throwing after Update

Posted: Thu Mar 03, 2011 6:47 am
by fabiano
Hi,
I had the same problem, how did you fix it?

thanks
Fabiano

Re: CGExtension Error Throwing after Update

Posted: Thu Mar 31, 2011 11:23 am
by ridelikeaturtle
(It's a bit late, but...) Try clearing your cache, and if that doesn't immediately fix the problem, try upgrading CGExtensions. Clearing cache seems to fix most of my CMSMS upgrade issues.