AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: Sam_78 on January 03, 2017, 01:17:57 PM

Title: Getting error regarding External_widgets
Post by: Sam_78 on January 03, 2017, 01:17:57 PM
Hi All,
I am getting an error on my admin panel everytime I log-in which is "external_widgets directory is missing in /public_html/folder_name/core/engine/extensions.php on line 287"
I know it says $warning = new AWarning($ext . ' directory is missing'); but I have tried almost all the extensions but I still get warnings

I am trying to install authorize.net extension and in admin panel it shows that it is installed but I don't see any thing in front end
For Example <?php echo $cc_number; ?> is not printed and in language defination I don't see cc_number

Any solution?
Title: Re: Getting error regarding External_widgets
Post by: abolabo on January 04, 2017, 08:32:39 AM
Try to find key external_widgets inside database table "extensions"
If it there - remove row.
Also check is some settings with key external_widgets presents in the table "settings". You should to remove it too.

It's a manual removing of extension. ;-)

do not forget clean cache after db changes
Title: Re: Getting error regarding External_widgets
Post by: Sam_78 on January 04, 2017, 10:35:13 AM
Thanks abolabo

I am still facing problem with authorize.net It is installed but doesn't work and can't see the words in language definition nor in front-end

ccowner I have printed it that works..
When I inspect it I see the fields and everything is given but the language is not showed

Title: Re: Getting error regarding External_widgets
Post by: Sam_78 on January 04, 2017, 10:56:21 AM
Found the solution:

As I was trying to modify the layout and brought authorize.net on home page but I think the xml file runs only if we use the extension as defined for the first time..
So installed the extension and used it on checkout step 2 the xml file was activated and it works fine there now have to make it work on the home page...

Guys correct me if I am wrong: XML files executes only after the extension is used once right?
Title: Re: Getting error regarding External_widgets
Post by: abolabo on January 05, 2017, 07:23:17 AM
xml file used as pattern for language definitions set. It loaded into database at first call. Then you can change definitions in your database via admin
to reset data inside db just remove all definitions of "block", for ex default_authorizenet_default_authorizenet and refresh storefront  page