CGExtension Error Throwing after Update

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
ivistru
New Member
New Member
Posts: 2
Joined: Sat Nov 13, 2010 3:34 pm

CGExtension Error Throwing after Update

Post 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  :)
fabiano
Forum Members
Forum Members
Posts: 16
Joined: Tue May 29, 2007 12:03 pm

Re: CGExtension Error Throwing after Update

Post by fabiano »

Hi,
I had the same problem, how did you fix it?

thanks
Fabiano
ridelikeaturtle
Forum Members
Forum Members
Posts: 103
Joined: Thu May 06, 2010 9:22 pm

Re: CGExtension Error Throwing after Update

Post 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.
Post Reply

Return to “Modules/Add-Ons”