Jump to content

An Error Occurred The server returned to "500 Internal Server Error


Recommended Posts

Good Morning. I have been looking at different forums and help pages but I do not clarify much with the solutions I see online and I wanted to ask for your help.

I have installed Prestashop 1.7.6.0 on a test server and when I want to import the data from a template that I have bought, I get the following error on the screen, just when I click on the "Import Data" button of the prestashop admin:

Oops! An Error Occurred The server returned to "500 Internal Server Error". Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

Anyone know the solution to this problem and could you guide me?

Thank you very much in advance!

Link to comment
Share on other sites

  • 9 months later...
On 7/31/2019 at 10:43 AM, mrthrust said:

Try enabling the Debug mode...

edit the file: /config/defines.inc.php


/* Debug only */
define('_PS_MODE_DEV_', true); // set this to true

this may provide more details on the 500 error message.

hi, i have this problem

DEBUG14:25:17doctrineSELECT name FROM ps_module WHERE active = 1

INFO14:25:17requestMatched route "admin_themes_enable".

DEBUG14:25:17securityRead existing security token from the session.

DEBUG14:25:17securityUser was reloaded from a user provider.

INFO14:25:17phpUser Deprecated: prestashop.adapter.legacy_db service is deprecated and will be removed in 1.8.

DEBUG14:25:17phpWarning: unlink(/home/mobiaksb/domains/mobiaks.biz.ua/public_html/config/themes/warehouse/shop1.json): No such file or directory

INFO14:25:17phpUser Deprecated: Implementing "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface" without the "reset()" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class "Csa\Bundle\GuzzleBundle\DataCollector\GuzzleCollector".

CRITICAL14:25:17phpUncaught Exception: [ThemeRepository] Theme configuration file not found for theme at `/home/mobiaksb/domains/mobiaks.biz.ua/public_html/themes/warehouse/config/theme.yml`.

CRITICAL14:25:17requestUncaught PHP Exception PrestaShopException: "[ThemeRepository] Theme configuration file not found for theme at `/home/mobiaksb/domains/mobiaks.biz.ua/public_html/themes/warehouse/config/theme.yml`." at /home/mobiaksb/domains/mobiaks.biz.ua/public_html/src/Core/Addon/Theme/ThemeRepository.php line 145

Link to comment
Share on other sites

On 5/30/2020 at 8:31 PM, Aleksey19881988 said:

Theme configuration file not found for theme at `/home/mobiaksb/domains/mobiaks.biz.ua/public_html/themes/warehouse/config/theme.yml`.

Check if this file is exsiting on your server and has correct access rights - if it is missing try to copy it from your theme zip again and check that all other files are complete

Link to comment
Share on other sites

  • 1 month later...

This just happened to me 

For me, It's because I couldn't upload the theme zip from back office so I uploaded the theme via FTP but with a different main folder name, so I change it looking the correct name in config file inside de theme folder and It worked :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...