Post by tarun1993 » Thu Mar 12, 2020 5:25 pm

facing error in opencart frontend also at admin panel post login

Newbie

Posts

Joined
Thu Mar 12, 2020 3:43 pm

Post by JNeuhoff » Thu Mar 12, 2020 6:17 pm

Seriously, do you expect anybody to help you here without providing any further details? At the very least what is your Opencart version? And what extensions have you installed? And why would any regular extension need to modify the action.php (unless it modifies the OC core engine)

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by straightlight » Thu Mar 12, 2020 7:26 pm

So far, the issue seem to be caused by an installed extension. However, more information would be needed.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by tarun1993 » Thu Mar 12, 2020 7:51 pm

using opencart version is 3.0.2.0, even i tried with the fresh installation of OC , home page is loading but getting the same error in category or product pages.

Code: Select all

Warning: Invalid argument supplied for foreach() in /home/ffdsvkf9pbmr/public_html/system/storage/modification/system/engine/loader.php on line 83Notice: Undefined property: Proxy::getExtensions in /home/ffdsvkf9pbmr/public_html/system/storage/modification/system/engine/action.php on line 79
Last edited by straightlight on Thu Mar 12, 2020 8:06 pm, edited 1 time in total.
Reason: Added code tags.

Newbie

Posts

Joined
Thu Mar 12, 2020 3:43 pm

Post by tarun1993 » Thu Mar 12, 2020 7:54 pm

modification logs shows following errors :MOD: Modification Default

Code: Select all

FILE: system/engine/action.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 69

FILE: system/engine/loader.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 77
LINE: 151
LINE: 168

FILE: system/library/config.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 59

FILE: system/library/language.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 67
LINE: 73

FILE: system/library/template/template.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 18

FILE: system/library/template/twig.php
CODE: $loader = new \Twig_Loader_Filesystem(DIR_TEMPLATE);
LINE: 19
----------------------------------------------------------------
MOD: Reverse Shell

FILE: admin/controller/common/column_left.php
CODE: if ($maintenance) {
LINE: 618
----------------------------------------------------------------
MOD: Show Information Pages in Menu

FILE: catalog/controller/common/menu.php
CODE: return $this->load->view('common/menu', $data);
LINE: 82

FILE: admin/view/template/catalog/information_form.twig
CODE: <label class="col-sm-2 control-label" for="input-bottom"><span data-toggle="tooltip" title="{{ help_bottom }}">{{ entry_bottom }}</span></label>
LINE: 113

FILE: admin/model/catalog/information.php
CODE: $this->db->query("INSERT INTO " . DB_PREFIX . "information SET sort_order = '" . (int)$data['sort_order'] . "', bottom = '" . (isset($data['bottom']) ? (int)$data['bottom'] : 0) . "', status = '" . (int)$data['status'] . "'");
LINE: 3
CODE: $this->db->query("UPDATE " . DB_PREFIX . "information SET sort_order = '" . (int)$data['sort_order'] . "', bottom = '" . (isset($data['bottom']) ? (int)$data['bottom'] : 0) . "', status = '" . (int)$data['status'] . "' WHERE information_id = '" . (int)$information_id . "'");
LINE: 42

FILE: admin/controller/catalog/information.php
CODE: public function index() {
LINE: 10
CODE: if (isset($this->request->post['bottom'])) {
LINE: 373

FILE: admin/language/en-gb/catalog/information.php
CODE: $_['entry_bottom']           = 'Bottom';
LINE: 28
CODE: $_['help_bottom']            = 'Display in the bottom footer.';
LINE: 37
----------------------------------------------------------------
MOD: WebshopLogin 3.0.X

FILE: catalog/controller/account/register.php
CODE: $this->response->setOutput($this->load->view('account/register', $data));
LINE: 219

FILE: catalog/view/theme/default/template/account/register.twig
CODE: <form action=
LINE: 24

FILE: catalog/controller/account/login.php
CODE: $this->response->setOutput($this->load->view('account/login', $data));
LINE: 157

FILE: catalog/view/theme/OPC080189_9/template/account/login.twig
CODE: <form action=
LINE: 38

FILE: catalog/view/theme/default/template/account/login.twig
CODE: <form action=
LINE: 37

FILE: catalog/controller/checkout/login.php
CODE: $this->response->setOutput($this->load->view('checkout/login', $data));
LINE: 19

FILE: catalog/controller/checkout/cart.php
CODE: $this->response->setOutput($this->load->view('checkout/cart', $data));
LINE: 247

FILE: catalog/view/theme/OPC080189_9/template/checkout/cart.twig
CODE: </form>
LINE: 101

FILE: catalog/view/theme/default/template/checkout/cart.twig
CODE: </form>
LINE: 100

FILE: catalog/view/theme/OPC080189_9/template/checkout/login.twig
CODE: <p>{{ text_i_am_returning_customer }}</p>
LINE: 30
CODE: <p>{{ text_checkout }}</p>
LINE: 6

FILE: catalog/view/theme/default/template/checkout/login.twig
CODE: <p>{{ text_i_am_returning_customer }}</p>
LINE: 30
CODE: <p>{{ text_checkout }}</p>
LINE: 6

FILE: catalog/controller/common/footer.php
CODE: return $this->load->view('common/footer', $data);
LINE: 69

FILE: catalog/view/theme/OPC080189_9/template/common/footer.twig
CODE: </footer>
LINE: 71

FILE: catalog/view/theme/default/template/common/footer.twig
CODE: </footer>
LINE: 46

FILE: catalog/controller/account/account.php
CODE: $this->response->setOutput($this->load->view('account/account', $data));
LINE: 95

FILE: catalog/controller/account/address.php
CODE: $this->getList();
LINE: 20
CODE: $this->getForm();
LINE: 97

FILE: catalog/controller/checkout/checkout.php
CODE: $this->response->setOutput($this->load->view('checkout/checkout', $data));
LINE: 97

FILE: catalog/controller/account/edit.php
CODE: $this->load->model('account/customer');
LINE: 23
CODE: $this->response->setOutput($this->load->view('checkout/cart', $data));
LINE: 250
CODE: $this->response->setOutput($this->load->view('checkout/checkout', $data));
LINE: 100

FILE: catalog/controller/checkout/success.php
CODE: $this->response->setOutput($this->load->view('common/success', $data));
LINE: 64
----------------------------------------------------------------
MOD: [underr] Total Order Discount

FILE: admin/controller/extension/total/sub_total.php
CODE: sub_total_sort_order
LINE: 52
LINE: 53
LINE: 55

FILE: admin/view/template/extension/total/sub_total.twig
CODE: sub_total_sort_order
LINE: 44
----------------------------------------------------------------
2020-03-12 10:55:35 - MOD: Modification Default

FILE: system/engine/action.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 69

FILE: system/engine/loader.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 77
LINE: 151
LINE: 168

FILE: system/library/config.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 59

FILE: system/library/language.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 67
LINE: 73

FILE: system/library/template/template.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 18

FILE: system/library/template/twig.php
CODE: $loader = new \Twig_Loader_Filesystem(DIR_TEMPLATE);
LINE: 19
----------------------------------------------------------------
MOD: Reverse Shell

FILE: admin/controller/common/column_left.php
CODE: if ($maintenance) {
LINE: 618
----------------------------------------------------------------
MOD: Show Information Pages in Menu

FILE: catalog/controller/common/menu.php
CODE: return $this->load->view('common/menu', $data);
LINE: 82

FILE: admin/view/template/catalog/information_form.twig
CODE: <label class="col-sm-2 control-label" for="input-bottom"><span data-toggle="tooltip" title="{{ help_bottom }}">{{ entry_bottom }}</span></label>
LINE: 113

FILE: admin/model/catalog/information.php
CODE: $this->db->query("INSERT INTO " . DB_PREFIX . "information SET sort_order = '" . (int)$data['sort_order'] . "', bottom = '" . (isset($data['bottom']) ? (int)$data['bottom'] : 0) . "', status = '" . (int)$data['status'] . "'");
LINE: 3
CODE: $this->db->query("UPDATE " . DB_PREFIX . "information SET sort_order = '" . (int)$data['sort_order'] . "', bottom = '" . (isset($data['bottom']) ? (int)$data['bottom'] : 0) . "', status = '" . (int)$data['status'] . "' WHERE information_id = '" . (int)$information_id . "'");
LINE: 42

FILE: admin/controller/catalog/information.php
CODE: public function index() {
LINE: 10
CODE: if (isset($this->request->post['bottom'])) {
LINE: 373

FILE: admin/language/en-gb/catalog/information.php
CODE: $_['entry_bottom']           = 'Bottom';
LINE: 28
CODE: $_['help_bottom']            = 'Display in the bottom footer.';
LINE: 37
----------------------------------------------------------------
MOD: WebshopLogin 3.0.X

FILE: catalog/controller/account/register.php
CODE: $this->response->setOutput($this->load->view('account/register', $data));
LINE: 219

FILE: catalog/view/theme/default/template/account/register.twig
CODE: <form action=
LINE: 24

FILE: catalog/controller/account/login.php
CODE: $this->response->setOutput($this->load->view('account/login', $data));
LINE: 157

FILE: catalog/view/theme/OPC080189_9/template/account/login.twig
CODE: <form action=
LINE: 38

FILE: catalog/view/theme/default/template/account/login.twig
CODE: <form action=
LINE: 37

FILE: catalog/controller/checkout/login.php
CODE: $this->response->setOutput($this->load->view('checkout/login', $data));
LINE: 19

FILE: catalog/controller/checkout/cart.php
CODE: $this->response->setOutput($this->load->view('checkout/cart', $data));
LINE: 247

FILE: catalog/view/theme/OPC080189_9/template/checkout/cart.twig
CODE: </form>
LINE: 101

FILE: catalog/view/theme/default/template/checkout/cart.twig
CODE: </form>
LINE: 100

FILE: catalog/view/theme/OPC080189_9/template/checkout/login.twig
CODE: <p>{{ text_i_am_returning_customer }}</p>
LINE: 30
CODE: <p>{{ text_checkout }}</p>
LINE: 6

FILE: catalog/view/theme/default/template/checkout/login.twig
CODE: <p>{{ text_i_am_returning_customer }}</p>
LINE: 30
CODE: <p>{{ text_checkout }}</p>
LINE: 6

FILE: catalog/controller/common/footer.php
CODE: return $this->load->view('common/footer', $data);
LINE: 69

FILE: catalog/view/theme/OPC080189_9/template/common/footer.twig
CODE: </footer>
LINE: 71

FILE: catalog/view/theme/default/template/common/footer.twig
CODE: </footer>
LINE: 46

FILE: catalog/controller/account/account.php
CODE: $this->response->setOutput($this->load->view('account/account', $data));
LINE: 95

FILE: catalog/controller/account/address.php
CODE: $this->getList();
LINE: 20
CODE: $this->getForm();
LINE: 97

FILE: catalog/controller/checkout/checkout.php
CODE: $this->response->setOutput($this->load->view('checkout/checkout', $data));
LINE: 97

FILE: catalog/controller/account/edit.php
CODE: $this->load->model('account/customer');
LINE: 23
CODE: $this->response->setOutput($this->load->view('checkout/cart', $data));
LINE: 250
CODE: $this->response->setOutput($this->load->view('checkout/checkout', $data));
LINE: 100

FILE: catalog/controller/checkout/success.php
CODE: $this->response->setOutput($this->load->view('common/success', $data));
LINE: 64
----------------------------------------------------------------
MOD: [underr] Total Order Discount

FILE: admin/controller/extension/total/sub_total.php
CODE: sub_total_sort_order
LINE: 52
LINE: 53
LINE: 55

FILE: admin/view/template/extension/total/sub_total.twig
CODE: sub_total_sort_order

Please help
LINE: 44
Last edited by straightlight on Thu Mar 12, 2020 8:06 pm, edited 1 time in total.
Reason: Please add the code tags!

Newbie

Posts

Joined
Thu Mar 12, 2020 3:43 pm

Post by straightlight » Thu Mar 12, 2020 8:07 pm

Please post your OCMod log file as an attachment.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by OSWorX » Thu Mar 12, 2020 8:46 pm

tarun1993 wrote:
Thu Mar 12, 2020 7:51 pm
using opencart version is 3.0.2.0, even i tried with the fresh installation of OC ..

Code: Select all

Warning: Invalid argument supplied for foreach() in /home/ffdsvkf9pbmr/public_html/system/storage/modification/system/engine/loader.php on line 83Notice: Undefined property: Proxy::getExtensions in /home/ffdsvkf9pbmr/public_html/system/storage/modification/system/engine/action.php on line 79
Your're a funny guy.
Log shows clearly that you are using NOT a "fresh" and untouched Installation of OpenCart.
Suggest you disable first ALL extra extension you have enabled currently, and then - only after then - enable one after one and check between each if everything is working.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by tarun1993 » Thu Mar 12, 2020 8:47 pm

attached

Attachments


Newbie

Posts

Joined
Thu Mar 12, 2020 3:43 pm

Post by straightlight » Thu Mar 12, 2020 9:09 pm

A good start would be to try to uninstall the underr extension since it seem to be the last one you've installed according to the logs you provided. Then, to follow this FAQ: viewtopic.php?f=134&t=215776#p718325 . However, if you're unable to login in the OC admin, then to clear your storage/modification's sub-folders and see if you're then able to login. If not, then the issue might be located from the database where you'd need to look it up or to create a new service request in the Commercial Support section of the forum or contact me directly to get this fixed as a custom job.

Alternatively, you could also contact the underr extension developer to resolved this issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by JNeuhoff » Fri Mar 13, 2020 6:24 pm

As straightlight suggested, try to uninstall your extensions like underr to see whether the error disappears. It's a simple process of elimination. One of the extensions is the guilty one!

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by straightlight » Fri Mar 13, 2020 10:40 pm

JNeuhoff wrote:
Fri Mar 13, 2020 6:24 pm
As straightlight suggested, try to uninstall your extensions like underr to see whether the error disappears. It's a simple process of elimination. One of the extensions is the guilty one!
Redundancy.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by OSWorX » Sun Mar 15, 2020 7:48 pm

straightlight wrote:
Fri Mar 13, 2020 10:40 pm
JNeuhoff wrote:
Fri Mar 13, 2020 6:24 pm
As straightlight suggested, try to uninstall your extensions like underr to see whether the error disappears. It's a simple process of elimination. One of the extensions is the guilty one!
Redundancy.
Double redundancy!

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by its_varsha » Sat Nov 19, 2022 6:27 pm

When you open the admin, this error is showing, the admin panel isn't opening please help
Notice: Undefined property: Proxy::getExtensions in /home2/decorlpc/public_html/books4ushop.com/system/storage/modification/system/engine/action.php on line 79.

VERSION - 3.0.2.0
Last edited by its_varsha on Sat Nov 19, 2022 6:32 pm, edited 1 time in total.

Newbie

Posts

Joined
Sat Nov 19, 2022 4:24 pm

Post by straightlight » Sun Nov 20, 2022 1:02 am

its_varsha wrote:
Sat Nov 19, 2022 6:27 pm
When you open the admin, this error is showing, the admin panel isn't opening please help
Notice: Undefined property: Proxy::getExtensions in /home2/decorlpc/public_html/books4ushop.com/system/storage/modification/system/engine/action.php on line 79.

VERSION - 3.0.2.0
Where in the admin? I think I tracked a model route that was invalid before while working on the opencart-3 repository.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by JNeuhoff » Sun Nov 20, 2022 6:33 pm

@its_varsha: You are hijacking a 2 year old forum thread with a different issue. If you are serious about wanting some help start a new forum thread and provide some details, especially about your extension, OC version, website URL etc.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 381 guests