Fatal error: Class 'AController' not found

Started by shahiran12395, June 10, 2019, 02:48:52 AM

Previous topic - Next topic

shahiran12395

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?

abolabo

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

shahiran12395

i already look at the file you ask for but there is no "require_once(DIR_CORE.'engine/controller.php');" loaded in there

shahiran12395

Quote from: shahiran12395 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

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

shahiran12395

Quote from: shahiran12395 on June 10, 2019, 03:36:41 AM
Quote from: shahiran12395 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

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?

Forum Rules Code of conduct
AbanteCart.com 2010 -