Post by jooy123 » Mon Mar 18, 2024 3:11 am

Opencart 4.0.2.3 Frontend not working anymore.
I installed two extension. To my knowledge the shop was working before but did not check. Has been up a few month. Then the shop did not work. Backend still working. At least something. I deactivated both extensions but shop not working. Was Ajax Quick Checkout Pro and Out of Order label.

I get this message:
--------------------
Internal Server Error!
There has been a problem loading the page you are looking for. We are working hard to resolve the issue and the page should return shortly.

If the problem persists please use the contact us form for help.
--------------------

Again, admin side still working. How I start debugging? Any help appreciated. PHP version 8.1.27, standard theme. I used 2.0.2.3 for many years for another project. There was never such an issue.

Preparing you Today for the World of Tomorrow – Protect your Freedom and your Assets!
https://expatcircle.com/cms/


New member

Posts

Joined
Sat Apr 15, 2017 12:42 am


Post by jooy123 » Mon Mar 18, 2024 3:33 am

I enabled display errors. I get this:

Cannot access offset of type string on string: in /home/public/shop/extension/outstckimg/catalog/model/module/outstckimg.php on line 90

I think it is the second extension that broke my shop. This one: https://www.opencart.com/index.php?rout ... n_id=23558

Preparing you Today for the World of Tomorrow – Protect your Freedom and your Assets!
https://expatcircle.com/cms/


New member

Posts

Joined
Sat Apr 15, 2017 12:42 am


Post by Cue4cheap » Mon Mar 18, 2024 5:24 am

jooy123 wrote:
Mon Mar 18, 2024 3:33 am
I enabled display errors. I get this:

Cannot access offset of type string on string: in /home/public/shop/extension/outstckimg/catalog/model/module/outstckimg.php on line 90

I think it is the second extension that broke my shop. This one: https://www.opencart.com/index.php?rout ... n_id=23558
Well here is the #1 problem... it is a paid extension so we can't look at it.
Beyond that can you uninstall it?
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by jooy123 » Mon Mar 18, 2024 6:18 am

It is deactivated. I can't remove it. It says something (whatever) has to be removed first.

Can I just delete the folder?

Preparing you Today for the World of Tomorrow – Protect your Freedom and your Assets!
https://expatcircle.com/cms/


New member

Posts

Joined
Sat Apr 15, 2017 12:42 am


Post by Cue4cheap » Mon Mar 18, 2024 6:40 am

jooy123 wrote:
Mon Mar 18, 2024 6:18 am
It is deactivated. I can't remove it. It says something (whatever) has to be removed first.

Can I just delete the folder?
The "whatever" is important detail.
Provide us more info please.
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by hpwebdesign » Thu Apr 25, 2024 12:30 pm

jooy123 wrote:
Mon Mar 18, 2024 3:11 am
Opencart 4.0.2.3 Frontend not working anymore.
I installed two extension. To my knowledge the shop was working before but did not check. Has been up a few month. Then the shop did not work. Backend still working. At least something. I deactivated both extensions but shop not working. Was Ajax Quick Checkout Pro and Out of Order label.

I get this message:
--------------------
Internal Server Error!
There has been a problem loading the page you are looking for. We are working hard to resolve the issue and the page should return shortly.

If the problem persists please use the contact us form for help.
--------------------

Again, admin side still working. How I start debugging? Any help appreciated. PHP version 8.1.27, standard theme. I used 2.0.2.3 for many years for another project. There was never such an issue.

On OC 4 it's a bit strict.

If you had issue with one section of your page: it will stopped working.

Check:

1. Every path on config.php is correct
2. Set display error to Yes
-- System: store: edit store. Server tab. Error display: Yes. Save.
3. Force error display:
Add the following code on index.php:

Code: Select all

// Error
ini_set('display_errors',1);
ini_set('error_reporting','E_ALL');
Analize and fix the issue accordingly

4. Disable each section and see how it works

Hope this help.

HP Web Design
Powering Digital Commerce | http://hpwebdesign.io | http://opencart.id
Opencart Professional Services | Create OpenCart Online Store | OpenCart Tutorials


User avatar
Active Member

Posts

Joined
Wed Aug 15, 2018 6:58 am
Location - Yogyakarta
Who is online

Users browsing this forum: No registered users and 1 guest