Post by sheiku » Sat Nov 09, 2024 6:36 am

Hello everyone
I'm pretty desperate and I'm asking for your help.
Today I've just finished redoing the company's most important store. I migrated it from cs-cart to opencart. 30.x.0 ( or 3.0.4.0)
I migrated products, set up everything, a lot of work in the team for 2 weeks and ...after installing, testing and deleting 2-3 modules in admin...I get error 500 after entering login data in admin panel.
A lot of work lost by me and other colleagues with products...:((
I've read the forum for hours and found nothing to help me.
last 3 modules activated were :
menueditor-for-oc-3-fixed.ocmod
whatsupp-aclient_OC3-PHP74-TO-PHP82-v3.0.3.ocmod
fix_oc3_installer.ocmod
I can't remember the order but I know they didn't work, I've also tried uninstalling them etc.

What I remember is also the whatsupp-aclient_OC3-PHP74-TO-PHP82-v3.0.3 module gave me an error that ioncube was not installed on the server., i tried to install it manualy on server . After that I found out that php support for ioncube is only up to 8.1. I switched from 8.3 to 8.1 , I activated the module, it worked, I don't know what else I did and I got error 500. I switched back to 8.3 but error still persist.
I searched the error log errors but I don't really know how to interpret them.
I entered on phpmyadmin to try to disable the modules but in the 3 tables with the title modules I didn't understand at all how it works with them. There is a lot of information there .
I have minimal/very little php and database knowledge.

If it is really complicated I am willing to pay a technical intervention of an open cart specialist a reasonable price to solve this problem.
And I promise that from now on tests with new modules I do only on a test server.
Thank you
Dan

PS, on admin folder i have last lines of error :
thrown in /home/depozituldeace/ocartdata13/storage/modification/system/engine/loader.php on line 89
[09-Nov-2024 01:37:37 Europe/Bucharest] PHP Fatal error: Uncaught Exception: Error: Could not load model extension/modification/extension_manager! in /home/depozituldeace/ocartdata13/storage/modification/system/engine/loader.php:89
Stack trace:
#0 /home/depozituldeace/ocartdata13/storage/modification/admin/controller/common/column_left.php(151): Loader->model()
#1 /home/depozituldeace/ocartdata13/storage/modification/system/engine/action.php(79): ControllerCommonColumnLeft->index()
#2 /home/depozituldeace/ocartdata13/storage/modification/system/engine/loader.php(48): Action->execute()
#3 /home/depozituldeace/public_html/admin/controller/common/dashboard.php(90): Loader->controller()
#4 /home/depozituldeace/ocartdata13/storage/modification/system/engine/action.php(79): ControllerCommonDashboard->index()
#5 /home/depozituldeace/public_html/admin/controller/startup/router.php(26): Action->execute()
#6 /home/depozituldeace/ocartdata13/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index()
#7 /home/depozituldeace/public_html/system/engine/router.php(67): Action->execute()
#8 /home/depozituldeace/public_html/system/engine/router.php(56): Router->execute()
#9 /home/depozituldeace/public_html/system/framework.php(179): Router->dispatch()
#10 /home/depozituldeace/public_html/system/startup.php(104): require_once('/home/depozitul...')
#11 /home/depozituldeace/public_html/admin/index.php(19): start()
#12 {main}
thrown in /home/depozituldeace/ocartdata13/storage/modification/system/engine/loader.php on line 89

Newbie

Posts

Joined
Wed Nov 22, 2023 3:11 am

Post by OSWorX » Sat Nov 09, 2024 4:36 pm

First of all: never use obfuscated extensions!
Your whatsup extension seems to one, because there is no other reason to use ioncube.

Why?
First, you will never know what that obfuscated extension can/will do in the background.
Second, obfuscating/encrypting extensions are not allowed on the OpenCart Marketplace (hope you got it from there).

Now to your "problem":
1. deactivate all OCMods
2. delete all OCMods
3. do a manual refresh
4. delete all files inside the folder storage/modification

Your shop should be running now again.

If you really need any OCMod, or VQMod or any other extension, test such before in a test environement!
Then install that in the live shop.

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


User avatar
Administrator

Posts

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

Post by grgr » Sat Nov 09, 2024 8:27 pm

Delete the modification files and you should be able to get back in and then disable the extension manager extension.

You will find the files in the /storage/modification/ folder. If you have NOT moved the storage folder then it is in ../system/storage/modification/
Otherwise it will be wherever you moved it to.

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by khnaz35 » Sun Nov 10, 2024 12:21 am

Have you move the storage folder ? Or have you tried clearing your modification via FTP?

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by JNeuhoff » Sun Nov 10, 2024 7:05 pm

It seems to me you have a number of dodgy extensions.

As said by others, you should never use obfuscated extensions! And there should be no need to use the fix_oc3_installer.ocmod extension. If some of your extension attempt to install files into non-allowed folders, then ask the extension authors to fix their software!

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


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by OSWorX » Mon Nov 11, 2024 1:15 am

JNeuhoff wrote:
Sun Nov 10, 2024 7:05 pm
And there should be no need to use the fix_oc3_installer.ocmod extension. If some of your extension attempt to install files into non-allowed folders, then ask the extension authors to fix their software!
As JNeuhoff wrote, whenever a message pop up, saying that this "Directory cannot be written" or "not allowed to write to", it's not the fault of the system!

It's the dump or lazy so called "developer" who is not able to publish his extension into those folder/directories the system allows.
There are several reasons why it is this way!

So, instead of using obscure extensions like this: https://www.opencart.com/index.php?rout ... n_id=34306
better contact the author of the extension and demand a fix.
If he is not willing to do so, contact the OpenCart Marketplace Support and ask to get back your money (if you bought it there ..).

In summary: there is absolutely no reason why this restriction (install extension files only within allowed folders) should be weakened!

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


User avatar
Administrator

Posts

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

Post by paulfeakins » Mon Nov 11, 2024 7:39 pm

sheiku wrote:
Sat Nov 09, 2024 6:36 am
If it is really complicated I am willing to pay a technical intervention of an open cart specialist a reasonable price to solve this problem.
You could pay a developer such as ourselves or post a job in the Commercial Support Forum.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by KaleStud » Wed Nov 20, 2024 1:31 am

I had the same thing, but made a backup before I installed a new extension.
However, when I put back the backup, I got a error 500 also. Byebye site. Never had thát!

After a long night I came up with this solution; to install a fresh opencart and then put back all the files and import all database tables EXCEPT the settings.
Although I could put in and store the exact same settings, I still got a 500 if I switched that table to the one backed up. Go figure...

Newbie

Posts

Joined
Thu Mar 09, 2017 11:17 pm

Post by khnaz35 » Wed Nov 20, 2024 1:32 pm

I belive checking serverlogs will be easier then setting up the entire new store

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by sim79 » Wed Nov 20, 2024 4:24 pm

I also have the same error as you, can't fix it. please help.

taxi đi tỉnh , taxi bàu bàng , taxi phú giáo , taxi grab


User avatar
Newbie

Posts

Joined
Wed Nov 20, 2024 4:07 pm

Post by JNeuhoff » Wed Nov 20, 2024 5:56 pm

sim79 wrote:
Wed Nov 20, 2024 4:24 pm
I also have the same error as you, can't fix it. please help.
You most likely don't have the same error. There are many possible reasons why the server would respond with a 500 error. Just check the server's error log for more details, and then come back here with the details, otherwise nobody will be able to help you here.

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


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by paulfeakins » Wed Nov 20, 2024 6:22 pm

The offer of paid support is still there such as ourselves or post a job in the Commercial Support Forum.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by khnaz35 » Thu Nov 21, 2024 12:12 am

Every 500 error is likely unique since these errors typically originate from the server side. To resolve them, you'll need to review the server logs or hire someone with the expertise to address the issue. Without taking these steps, the problem is unlikely to be fixed.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by by mona » Thu Nov 21, 2024 1:23 am

If you installed a module that caused an error 500 and you can no longer access ADMIN then it is incompatible and you need to uninstall it.

1. You need to get access back to admin.
This may require deleting the modification folder via ftp to give you access to admin.
Make sure it is the MODIFICATION FOLDER and if you are unsure make sure you have taken a back up (from CPanel not OC built in)

2. Extensions => Extensions => Modules UNINSTALL
This may cause another error 500 - repeat process 1

3. Extensions => Installer DELETE MODULE

4. Extension => Modification REFRESH

You should not be back without the module or the error

If not you will have to check your SERVER ERROR LOGS - Contact you host for assistance where that is - Reach out to a professional.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: lockiedownunder and 16 guests