We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG Add Sitename

Development and Programming

David Roberts's avatar
David Roberts
250 posts
16 years ago
David Roberts's avatar David Roberts

Just upgraded my LG Add Sitename to version 1.2.0 and now can’t get into the CP. I get this message

Notice: Undefined index: 1 in /site address/extensions/ext.lg_add_sitename.php on line 432

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Lg_add_sitename::insert_sitename' was given in /site address/core.extensions.php on line 262

I removed the extension and still does not let me into the CP, says that it is missing.

  • Removed site address

Thanks

       
Max Lazar's avatar
Max Lazar
337 posts
16 years ago
Max Lazar's avatar Max Lazar

now u need to delete from table exp_extensions all records with lg_add_sitename in class. If I understand right, Leevi used site_id for create array of settings in session for each site. But when you just upgrade it, it not change settings for new method.

       
David Roberts's avatar
David Roberts
250 posts
16 years ago
David Roberts's avatar David Roberts
need to delete from table exp_extensions

Where is this? I don’t see this file in the extensions folder?

       
Max Lazar's avatar
Max Lazar
337 posts
16 years ago
Max Lazar's avatar Max Lazar

Because it’s in mysql tables. U need used some mysql manager for this. For example - PhpMyAdmin. But u need understand that u delete all old setting of LG Add Sitename with this records.

       
Max Lazar's avatar
Max Lazar
337 posts
16 years ago
Max Lazar's avatar Max Lazar

May be will be better if you put old version of extension. It can help u to login into CP and disable extension. (u can try to entered in to LG Add Sitename setting page, upgrade file on server to new and than save data – it can help with upgrade)

       
Kelvin Ludbrook's avatar
Kelvin Ludbrook
8 posts
16 years ago
Kelvin Ludbrook's avatar Kelvin Ludbrook

I just encountered the same problem ‘upgrading’ to 1.2. Rather than editing mysql tables is there any other solution?

Is Leevi aware?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.