• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 17.09.20, 12:21
  • Opened by: giulio ronconi
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #19171 - Error 500 after applying Alysum

Hello.

I have prestashop 1.7.6.7, Alysum 5.6.0 and Theme Setting 2.0.2
Prestashop was working fine, I uploaded the zip file and when switching to Alysum I get the 500 error. Only mobile version was not giving that error.
Now I’m in debug mode, but being a new user I dont know where should I look for the problem causing the error..

I’ll wait for an answer,
Thanks :))

Comments

Fred 17 Sep 2020, 21:48

Hi, giulio.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office and FTP

giulio ronconi 18 Sep 2020, 16:51

All fields filled out now, sorry

Fred 18 Sep 2020, 23:44

Hi, giulio ronconi.
As I can see Alysum theme is enabled and from office works fine for me. How to see the issue?

giulio ronconi 19 Sep 2020, 20:34

That’s because im in debug mode, I can see the site while debug mode is on, but when you turn it off the error 500 appears

Fred 20 Sep 2020, 14:44

Ok, I see.
I need to see error logs to understand where is the issue.

giulio ronconi 20 Sep 2020, 21:07

The server error log?

Fred 21 Sep 2020, 10:32

Yes, it is

giulio ronconi 21 Sep 2020, 13:32

here’s the file

Attachments:

noblesseobligesrl.com-20-09-2... (64.5 KiB)
Fred 21 Sep 2020, 13:33

prestashop recommends to disable ModSecurity apache module

giulio ronconi 21 Sep 2020, 16:22

I have OVH as web host and they utilize ModSecurity as a base firewall, but in my panel is disabled..
I also tried activating and deactivating but the 500 error was not resolved..
[EDIT]
I was not specific, now without DEBUG mode, the site seems visible(its in maintenance mode),
but I get 505 error when entering the back office.

Fred 22 Sep 2020, 20:35

We really need to find what causes the error. Maybe your hosting support can advice where to find error logs?

Fred 22 Sep 2020, 20:38

I suppose I have found possible solution, please check out similar post here https://www.prestashop.com/forums/topic/1016964-admin-panel-500-internal-server-error/

giulio ronconi 23 Sep 2020, 17:33

I got today’s errors from OVH logs, and there were only those 3
[Wed Sep 23 02:57:57 2020] [error] [client 34.90.94.85] [host noblesseobligesrl.com] AH01630: client denied by server configuration: /homez.188/noblesseus/www/modules/ps_facetedsearch/vendor/phpunit
[Wed Sep 23 15:33:30 2020] [error] [client 34.90.94.85] [host noblesseobligesrl.com] AH01630: client denied by server configuration: /homez.188/noblesseus/www/img/co/xsam-xadoo-bot.php
[Wed Sep 23 16:07:47 2020] [error] [client 34.90.94.85] [host noblesseobligesrl.com] AH01630: client denied by server configuration: /homez.188/noblesseus/www/modules/ps_facetedsearch/vendor/phpunit

then i checked the logs in Advanced parameters > logs in prestashop and I get this error: An exception was caught while loading the form psmegamenu. Warning: Use of undefined constant MCRYPT_MODE_CBC - assumed \’MCRYPT_MODE_CBC\’ (this will throw an Error in a future version of PHP).

Nonetheless I emptied the cache like the post was saying but I still got the problem

Fred 23 Sep 2020, 17:35

but there is no any mention of our modules or the theme

giulio ronconi 23 Sep 2020, 17:38

Ok, so the problem is not given by the theme.. but there is still some kind of conflict with it

Fred 23 Sep 2020, 17:45

as I can see the errors caused by ps_facetedsearch module
Have you tried the solution given in the thread? https://www.prestashop.com/forums/topic/1016964-admin-panel-500-internal-server-error/

giulio ronconi 23 Sep 2020, 18:24

THAT WORKED. I went in FTP searched for folder var/cache/dev and var/cache/prod, deleted the content of both folders and now everything works without debug mode.

Thank you very very much for the patience, have a nice day :)))

Fred 23 Sep 2020, 18:36

Great! Glad to help!