Page 1 of 1

HTTP error 500 when going to Modifications menu

Posted: Fri Feb 22, 2019 12:28 am
by Travelaar
Hi,

When I try to go to the modifications menu, I get a http 500 error. I've tried to find a solution in the forums, but since I'm a Wordpress guy and pretty new to Opencart I can't figure out how to narrow down the problem.

Some things to note:
I've installed So Ladaz theme and Pavo Celo theme, but now I chose to use the standard theme since it's more stable.
I have a feeling these themes are causing a problem, but I'm not certain. Does anyone know how to completely remove the themes? Right now I still have all kinds of menu's and modules in my admin area even though I 'uninstalled' them.

The best thing would be to do a fresh installation (with my products and settings still intact ofcourse) but I can't find anything on that.

My webhosts' error log tells me the following:

FastCGI: server "/var/run/php72-cgi/php-cgi" stderr: #7 /subdomains/shop/system/startup.php(104): require_once('..., referer: https://shop.travelaar.nl/admin/index.p ... FkzQe2ItcK

FastCGI: server "/var/run/php72-cgi/php-cgi" stderr: #6 /subdomains/shop/system/framework.php(168): Router->dispatch(Object(Action), Object(Action)), referer: https://shop.travelaar.nl/admin/index.p ... FkzQe2ItcK

FastCGI: server "/var/run/php72-cgi/php-cgi" stderr: #5 /subdomains/storage/modification/system/engine/router.php(61): Router->execute(Object(Action)), referer: https://shop.travelaar.nl/admin/index.p ... FkzQe2ItcK

FastCGI: server "/var/run/php72-cgi/php-cgi" stderr: #4 /subdomains/storage/modification/system/engine/router.php(72): Action->execute(Object(Registry)), referer: https://shop.travelaar.nl/admin/index.p ... FkzQe2ItcK

FastCGI: server "/var/run/php72-cgi/php-cgi" stderr: #3 /subdomains/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index(), referer: https://shop.travelaar.nl/admin/index.p ... FkzQe2ItcK

FastCGI: server "/var/run/php72-cgi/php-cgi" stderr: #2 /subdomains/shop/admin/controller/startup/router.php(26): Action->execute(Object(Registry), Array), referer: https://shop.travelaar.nl/admin/index.p ... FkzQe2ItcK

FastCGI: server "/var/run/php72-cgi/php-cgi" stderr: #1 /subdomains/storage/modification/system/engine/action.php(79): ControllerMarketplaceModification->index(), referer: https://shop.travelaar.nl/admin/index.p ... FkzQe2ItcK

FastCGI: server "/var/run/php72-cgi/php-cgi" stderr: #0 /subdomains/storage/modification/admin/controller/marketplace/modification.php(21): ControllerMarketplaceModification->getList(), referer: https://shop.travelaar.nl/admin/index.p ... FkzQe2ItcK

FastCGI: server "/var/run/php72-cgi/php-cgi" stderr: Stack trace:, referer: https://shop.travelaar.nl/admin/index.p ... FkzQe2ItcK

FastCGI: server "/var/run/php72-cgi/php-cgi" stderr: PHP message: PHP Fatal error: Uncaught Error: Call to undefined method ControllerMarketplaceModification::getListUrlParams() in /subdomains/storage/modification/admin/controller/marketplace/modification.php:743, referer: https://shop.travelaar.nl/admin/index.p ... FkzQe2ItcK

Thanks!

Re: HTTP error 500 when going to Modifications menu

Posted: Fri Feb 22, 2019 3:46 am
by IP_CAM
Does anyone know how to completely remove the themes?
Well, take a look at the 'Content' of the Theme-Downloads, and remove every file,
installed by one of those Themes, out of your Server Installation again. Then,
clear out the OcMod / VqMod Cache (if exist), and they should be gone.

But if one of the Theme Extension possible 'replaced' an 'OC default Code' File, you
have to replace that File by a default OC Installation File again first. Just to have
this mentioned too, who knows ? ...

Ernie

Re: HTTP error 500 when going to Modifications menu

Posted: Fri Feb 22, 2019 6:19 pm
by Travelaar
Well, take a look at the 'Content' of the Theme-Downloads, and remove every file,
installed by one of those Themes, out of your Server Installation again. Then,
clear out the OcMod / VqMod Cache (if exist), and they should be gone.

But if one of the Theme Extension possible 'replaced' an 'OC default Code' File, you
have to replace that File by a default OC Installation File again first. Just to have
this mentioned too, who knows ? ...

Ernie
Thanks Ernie..
Do you mean in the admin area or on ftp? Either way, I can't find "Theme-Downloads" anywhere.

Thanks again

Re: HTTP error 500 when going to Modifications menu

Posted: Fri Feb 22, 2019 7:40 pm
by paulfeakins
Travelaar wrote:
Fri Feb 22, 2019 12:28 am
I get a http 500 error
Anything in the error log?

Re: HTTP error 500 when going to Modifications menu

Posted: Fri Feb 22, 2019 10:28 pm
by straightlight
What is the actual route for: … from:
FastCGI: server "/var/run/php72-cgi/php-cgi" stderr: #7 /subdomains/shop/system/startup.php(104): require_once(',
?

In addition, OC version? It may look like your system/storage folder might require CHMOD permission settings to be edited recursively.

Re: HTTP error 500 when going to Modifications menu

Posted: Sun Feb 24, 2019 6:50 pm
by Travelaar
paulfeakins wrote:
Fri Feb 22, 2019 7:40 pm
Travelaar wrote:
Fri Feb 22, 2019 12:28 am
I get a http 500 error
Anything in the error log?
Nope, nothing in the Opencart admin error log.
straightlight wrote:
Fri Feb 22, 2019 10:28 pm
What is the actual route for: … from:
FastCGI: server "/var/run/php72-cgi/php-cgi" stderr: #7 /subdomains/shop/system/startup.php(104): require_once(',
?

In addition, OC version? It may look like your system/storage folder might require CHMOD permission settings to be edited recursively.
Line 104 in startup.php:
function start($application_config) {
require_once(DIR_SYSTEM . 'framework.php');
}

OC version: 3.0.2.0

Re: HTTP error 500 when going to Modifications menu

Posted: Sun Feb 24, 2019 9:59 pm
by straightlight
After doing some research on Google, it seem this issue might be related to timeout sessions / permission issues from FastCGI. Since you are using a subdomain, can you confirm if you are using other platforms in the same environment where Opencart has been installed?

Re: HTTP error 500 when going to Modifications menu

Posted: Mon Feb 25, 2019 6:32 pm
by Travelaar
straightlight wrote:
Sun Feb 24, 2019 9:59 pm
After doing some research on Google, it seem this issue might be related to timeout sessions / permission issues from FastCGI. Since you are using a subdomain, can you confirm if you are using other platforms in the same environment where Opencart has been installed?
Thanks!

The strange this is that is was working before, so that's why I figured it must have someting to do with a theme or plugin I installed.
Yes, my website is running on Wordpress (travelaar.nl) and the shop is OC (shop.travelaar.nl). I was under the impression a subdomain is a completely separate environment from the main server.

Re: HTTP error 500 when going to Modifications menu

Posted: Mon Feb 25, 2019 10:12 pm
by straightlight
While others may address that this should not be an issue to run OC on a sub-folder among another platform running on the root domain, it is not the case. It can become quite problematic at times by doing that.

Re: HTTP error 500 when going to Modifications menu

Posted: Mon Feb 25, 2019 11:28 pm
by Travelaar
Ok.. I'll see if I can fix it in the short term, otherwise I'll have to figure out something else..

Thanks again!

Re: HTTP error 500 when going to Modifications menu

Posted: Tue Feb 26, 2019 2:25 am
by IP_CAM
Do you mean in the admin area or on ftp? Either way, I can't find "Theme-Downloads" anywhere.
1. You must have an original Theme Copy on your PC, otherwise, you could
not have uploaded a Custom Theme. Therefore, compare the Custom Theme
Paths and Files with that Original, to find and see, where the Files have been
placed on the Server, to then remove 'em again.
2. I am talking about an FTP Client, since you cannot remove Files by
use of 'regular' OC Admin tools.
Good Luck!
Ernie

Re: HTTP error 500 when going to Modifications menu

Posted: Tue Feb 26, 2019 5:20 pm
by Travelaar
Right, that makes sense... Thanks for all your response. The reason I want this error fixed was because it was preventing me from repairing another problem which has been fixed another way.
So I can use the store without using the modifications menu. The OC store will be a temp solution as I'm building a complete Wordpress theme which will have a Woocommerce store in it. So for the time being it will work.

Thanks again O0

Re: HTTP error 500 when going to Modifications menu

Posted: Wed Feb 27, 2019 5:36 pm
by Travelaar
One more question.. Is there a way to manually 'refresh' since I'm not able to go into the modifications menu ?

Thanks