Post by Travelaar » Fri Feb 22, 2019 12:28 am

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!

Newbie

Posts

Joined
Thu Jan 03, 2019 2:20 am

Post by IP_CAM » Fri Feb 22, 2019 3:46 am

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

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Travelaar » Fri Feb 22, 2019 6:19 pm

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

Newbie

Posts

Joined
Thu Jan 03, 2019 2:20 am

Post by paulfeakins » 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?

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


User avatar
Guru Member
Online

Posts

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

Post by straightlight » 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.

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 Travelaar » Sun Feb 24, 2019 6:50 pm

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

Newbie

Posts

Joined
Thu Jan 03, 2019 2:20 am

Post by straightlight » 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?

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 Travelaar » Mon Feb 25, 2019 6:32 pm

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.

Newbie

Posts

Joined
Thu Jan 03, 2019 2:20 am

Post by straightlight » Mon Feb 25, 2019 10:12 pm

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.

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 Travelaar » Mon Feb 25, 2019 11:28 pm

Ok.. I'll see if I can fix it in the short term, otherwise I'll have to figure out something else..

Thanks again!

Newbie

Posts

Joined
Thu Jan 03, 2019 2:20 am

Post by IP_CAM » Tue Feb 26, 2019 2:25 am

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

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Travelaar » Tue Feb 26, 2019 5:20 pm

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

Newbie

Posts

Joined
Thu Jan 03, 2019 2:20 am

Post by Travelaar » Wed Feb 27, 2019 5:36 pm

One more question.. Is there a way to manually 'refresh' since I'm not able to go into the modifications menu ?

Thanks

Newbie

Posts

Joined
Thu Jan 03, 2019 2:20 am
Who is online

Users browsing this forum: jagall, moreduff and 264 guests