Post by Sampletekk » Wed Jan 01, 2025 10:48 pm

When refreshing the modifications cache, I'm getting an "HTTP Error 500"
Any ideas?

Per
Sampletekk


New member

Posts

Joined
Mon Aug 19, 2013 4:25 am

Post by Cue4cheap » Thu Jan 02, 2025 4:30 am

Sampletekk wrote:
Wed Jan 01, 2025 10:48 pm
When refreshing the modifications cache, I'm getting an "HTTP Error 500"
Any ideas?
Yes... Look in your error logs and tell us what is in there. Best to do the refresh and show us the error at about that time.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by Sampletekk » Thu Jan 02, 2025 4:56 am

Cue4cheap wrote:
Thu Jan 02, 2025 4:30 am
Sampletekk wrote:
Wed Jan 01, 2025 10:48 pm
When refreshing the modifications cache, I'm getting an "HTTP Error 500"
Any ideas?
Yes... Look in your error logs and tell us what is in there. Best to do the refresh and show us the error at about that time.

Mike
The error log is empty, if you mean Maintenance/Error log. If I click on download, I get the warning: "Warning: Your error log file error.log is 0B!"

Per
Sampletekk


New member

Posts

Joined
Mon Aug 19, 2013 4:25 am

Post by Sampletekk » Thu Jan 02, 2025 5:26 am

Fatal error: Uncaught Error: Class "DOMDocument" not found in /home/sampletekk/public_html/admin/controller/marketplace/modification.php:141 Stack trace: #0 /home/sampletekk/public_html/system/engine/action.php(79): ControllerMarketplaceModification->refresh() #1 /home/sampletekk/public_html/admin/controller/startup/router.php(26): Action->execute() #2 /home/sampletekk/public_html/system/engine/action.php(79): ControllerStartupRouter->index() #3 /home/sampletekk/public_html/system/engine/router.php(67): Action->execute() #4 /home/sampletekk/public_html/system/engine/router.php(56): Router->execute() #5 /home/sampletekk/public_html/system/framework.php(169): Router->dispatch() #6 /home/sampletekk/public_html/system/startup.php(104): require_once('/home/sampletek...') #7 /home/sampletekk/public_html/admin/index.php(22): start() #8 {main} thrown in /home/sampletekk/public_html/admin/controller/marketplace/modification.php on line 141

Per
Sampletekk


New member

Posts

Joined
Mon Aug 19, 2013 4:25 am

Post by by mona » Thu Jan 02, 2025 9:32 am

No OC version and request lacks information.
Sampletekk wrote:
Wed Jan 01, 2025 10:48 pm
When refreshing the modifications cache, I'm getting an "HTTP Error 500"
As a general rule this would most likely be caused by a faulty modification.
Error 500 is a general server error - meaning the server found a fault.
This is like saying your car does start and calling a garage and asking any ideas - yes thousands. We will be here for weeks trying to help you at this point and still be no closer - or maybe a wild guess. A garage can guess you forgot to fill your car with petrol and it might be the right answer but it would just be luck.

This is about as much information as your question allows.
You make no mention of where you get an error 500 - all pages, admin, catalog.
You make no mention of any installed themes or extension.
You make no mention of OC version.
You make no mention of whether you used an official version or an unofficial "Softaculous" or github, or, or, or.
You make no mention of php version.
You make no mention of you just uploaded something new.
You make no mention if this is a new install, an upgrade, it has been running fine for x years.

Please explain your situation in full details and if you can not do that you will need to get a professional.

If you are feeling lucky -
You can disable every modification and maybe you will find one that causes the error.
You can return to default theme, maybe that.
You can check you have DOMDocument enabled on your server.
You can check your php version is compatible with your site.
You can check if you installed an official OC version (ie not use your servers "softilicious" or similar unofficial version of OC).
You can check your config files are pointing to the correct modification folder.

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

Post by Cue4cheap » Thu Jan 02, 2025 10:29 am

Mona provided a lot of info. We are shooting in the dark and my shooting is: DOMDocument is not enabled on your server.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by nonnedelectari » Thu Jan 02, 2025 5:37 pm

Sampletekk wrote:
Thu Jan 02, 2025 5:26 am
Fatal error: Uncaught Error: Class "DOMDocument" not found in /home/sampletekk/public_html/admin/controller/marketplace/modification.php:141 Stack trace: #0 /home/sampletekk/public_html/system/engine/action.php(79): ControllerMarketplaceModification->refresh() #1 /home/sampletekk/public_html/admin/controller/startup/router.php(26): Action->execute() #2 /home/sampletekk/public_html/system/engine/action.php(79): ControllerStartupRouter->index() #3 /home/sampletekk/public_html/system/engine/router.php(67): Action->execute() #4 /home/sampletekk/public_html/system/engine/router.php(56): Router->execute() #5 /home/sampletekk/public_html/system/framework.php(169): Router->dispatch() #6 /home/sampletekk/public_html/system/startup.php(104): require_once('/home/sampletek...') #7 /home/sampletekk/public_html/admin/index.php(22): start() #8 {main} thrown in /home/sampletekk/public_html/admin/controller/marketplace/modification.php on line 141
verify that your php setup (php.ini) has extension xml or dom activated, it should be by default.

Active Member

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by Sampletekk » Fri Jan 03, 2025 4:36 am

Cue4cheap wrote:
Thu Jan 02, 2025 10:29 am
Mona provided a lot of info. We are shooting in the dark and my shooting is: DOMDocument is not enabled on your server.

Mike
Hi Mike
That turned out to be correct! I had the server guys to enable DOMDocument, and then everything worked! Question is why they disabled it.....

Per
Sampletekk


New member

Posts

Joined
Mon Aug 19, 2013 4:25 am

Post by JNeuhoff » Fri Jan 03, 2025 7:37 pm

Good to hear it now works. Please add '[SOLVED]' to the beginning of this original form thread title so that others can benefit from this solution too if they come across the same issue.

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

Who is online

Users browsing this forum: Semrush [Bot] and 14 guests