Author Topic: Getting error regarding External_widgets  (Read 3760 times)

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 270
  • Karma: +42/-1
    • View Profile
Getting error regarding External_widgets
« 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?
« Last Edit: January 03, 2017, 01:30:17 PM by Sam_78 »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Getting error regarding External_widgets
« Reply #1 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
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 270
  • Karma: +42/-1
    • View Profile
Re: Getting error regarding External_widgets
« Reply #2 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


Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 270
  • Karma: +42/-1
    • View Profile
Re: Getting error regarding External_widgets
« Reply #3 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?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Getting error regarding External_widgets
« Reply #4 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
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod