Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Fatal error: Class 'AController' not found  (Read 228 times)

Offline shahiran12395

  • Newbie
  • *
  • Posts: 43
  • Karma: +1/-0
    • View Profile
Fatal error: Class 'AController' not found
« on: June 10, 2019, 02:48:52 AM »
Hi, Im trying to create new controller for my extension to redirect success payment to this controller before getting checkout/success page.

i got this error after i make a payment.

Fatal error: Class 'AController' not found in {path}\extensions\payment_gateway\storefront\controller\responses\extension\rsi_payment_callback.php

how to fix it this issue?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1781
  • Karma: +247/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Fatal error: Class 'AController' not found
« Reply #1 on: June 10, 2019, 03:22:56 AM »
Hi. You doing something wrong.
Check file public_html/core/init.php
You should find     require_once(DIR_CORE.'engine/controller.php'); there.

check if this file loaded
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline shahiran12395

  • Newbie
  • *
  • Posts: 43
  • Karma: +1/-0
    • View Profile
Re: Fatal error: Class 'AController' not found
« Reply #2 on: June 10, 2019, 03:35:44 AM »
i already look at the file you ask for but there is no "require_once(DIR_CORE.'engine/controller.php');" loaded in there

Offline shahiran12395

  • Newbie
  • *
  • Posts: 43
  • Karma: +1/-0
    • View Profile
Re: Fatal error: Class 'AController' not found
« Reply #3 on: June 10, 2019, 03:36:41 AM »
i already look at the file you ask for but there is no "require_once(DIR_CORE.'engine/controller.php');" loaded in there

is there anything i need to add in the init.php file?

Offline shahiran12395

  • Newbie
  • *
  • Posts: 43
  • Karma: +1/-0
    • View Profile
Re: Fatal error: Class 'AController' not found
« Reply #4 on: June 10, 2019, 03:49:33 AM »
i already look at the file you ask for but there is no "require_once(DIR_CORE.'engine/controller.php');" loaded in there

is there anything i need to add in the init.php file?

my bad. my editor not search right result. the file loaded once. then what is the next step?

 

Powered by SMFPacks Social Login Mod