Jump to content

Prestashop ver: 1.7.6.7 "500 Internal Server Error". [sOLVED].


olesen

Recommended Posts

Hello

Prestashop ver: 1.7.6.7

On the administration side I get a lot of errors 😞

Oops! An Error Occurred
The server returned a "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.

From log
<? php / *** 2012-2015 Patryk Marek PrestaDev.pl ** Patryk Marek PrestaDev.pl - PD Email Attachments Pro © All rights reserved.
ErrorHandler-> handleError (2, 'Declaration of Mail :: send ($ id_lang, $ template, $ subject, $ template_vars, $ to, $ to_name = NULL, $ from = NULL, $ from_name = NULL, $ file_attachment = NULL, $ mode_smtp = NULL, $ template_path = _PS_MAIL_DIR_, $ die = false, $ id_shop = NULL, $ bcc = NULL, $ reply_to = NULL) should be compatible with MailCore :: send ($ idLang, $ template, $ subject, $ templateVars , $ to, $ toName = NULL, $ from = NULL, $ fromName = NULL, $ fileAttachment = NULL, $ mode_smtp = NULL, $ templatePath = _PS_MAIL_DIR_, $ die = false, $ idShop = NULL, $ bcc = NULL, $ replyTo = NULL, $ replyToName = NULL) ',' /var/www/www.nordsmark.com/www/override/classes/Mail.php ', 0, array (' className '=>' Mail ',' classDir ' => '/var/www/www.nordsmark.com/www/'))
in classes / PrestaShopAutoload.php (line 152)
                if (isset ($ this-> index [$ className. 'Core'])) {require_once $ this-> root_dir. $ this-> index [$ className. 'Core'] ['path']; } if (isset ($ this-> index [$ className])) {require_once $ classDir. $ this-> index [$ className] ['path']; }}} elseif (isset ($ this-> index [$ className] ['path']) && $ this-> index [$ className] ['path']) {// Call directly ProductCore, ShopCore class require_once $ this -> root_dir. $ this-> index [$ className] ['path'];

 

Hope you have an idea of what I should / can search for 🙂

Edited by olesen (see edit history)
Link to comment
Share on other sites

Hello

Thanks for the reply.

Now I do not get any more errors in debug mode.
But in BO there are still many pages where I get an error 500, if I not are running in debug mode?

 

 I have try to rebuild the .htaccess file, and cleare the cache, but no change.

Disable non PrestaShop modules, no change.
Disable all overrides, no change.

 

Do you have an idea of what this may be due to?

 

Link to comment
Share on other sites

  • 2 months later...
  • 8 months later...
  • 1 year later...
On 8/26/2020 at 9:37 AM, olesen said:

I think the problem's the Prestashop cache.....

So I tried to delete two folders below and my site works normally now.

-"/app/cache/dev"

-"/app/cache/prod"

🙂

Where can I find this folders in the file manager?

Link to comment
Share on other sites

  • 10 months later...

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...