Okay
  Public Ticket #1815138
Error 500 choosing "Manage Megamenu"
Closed

Comments

  • Adam started the conversation

    Theme name: mina-pet-shop-responsive

    Prestashop Version: 1.7.4.4

    PHP Version: 7.2

    After installing the theme when I try to choose "Manage Megamenu" from "FieldThemes Config" I get Error 500 (the same when I choose "Manage Static Footer" or "Manage Staticblocks").
    I attached Apache error.log from the 500 error. Trying to get it working I checked by removing a Prestashop with my customized plugin and installing theme on a fresh instance of Prestashop, I even tried to remove the standard Prestashop theme - nothing works. Please help me to get it working.

  •  1,588
    Criss replied

    Hi Adam ,

    Thank you very much for your feedback!

    Please provide me FTP credentials and Back Office access of your site.

    We will check it and help you asap!

    Best Regards,
    Criss - FieldThemes

  •   Adam replied privately
  •  1,588
    Criss replied

    Hi Adam ,

    Please you check again,

    We fixed problem for you.

    Best Regards,
    Criss - FieldThemes

  •   Adam replied privately
  •  1,588
    Criss replied

    Hi Adam,

    The problem is only because the PHP version errors with the admin file when the arguments are missing so we added them.

    Usually we will use the following:

    public function setMedia() {}

    but from php 7.2 and above they have to be fixed:

    public function setMedia ($isNewTheme = false){}

    Best Regards,
    Criss - FieldThemes

  • Adam replied

    Hi Edna,

    Than You very much, really, you helped with over-light speed. Thank You.

  •  1,588
    Criss replied

    Hi Adam,

    Yes, No problem.

    Have a nice day!

    Best Regards,
    Criss - FieldThemes

  • De Brouwer replied

    Hello, I have the same problem, can jou help me?

    Fieldtheme configure:

    1. Manage statieblocks.

    2.Manage static Footer.

    3. Manage Mega Menu.

    all the 3 = oops! an error occurred the server returned a " 500 internal server error"

  •  1,588
    Criss replied

    Hi De Brouwer,

    Sorry,

    This is a problem with PHP 7.2,
    Please access the following file:
    root / modules / name_module / controllers / admin / admin + name_module + controller.php
    find: setMedia() >> edit == setMedia($isNewTheme = false)

    Best Regards,
    Criss - FieldThemes

  • De Brouwer replied

    thanx, it works.

     1. Manage statieblocks.= fieldstaticblocks enz.

  • De Brouwer replied

    hey,

    Only now I see not the  brands. 

    if I want to configure those brands. then he shows a page on which the AdminFieldBrandSlider controller is missing or is not present. I have tried to adjust the code set media, only that is not in the php script

    I only see the configuration page in modules.
    it is not good on the website.
    can you help me with this?

    .




  •  1,588
    Criss replied

    Hi De Brouwer,

    Try resetting modules fieldbrands or removing them and reinstalling.

    Best Regards,
    Criss - FieldThemes

  • De Brouwer replied

    Okay, I removed the module brands from the server. I then uploaded depencies / modules / fieldbrandslider.zip from the zip file onto the server. unfortunately the problem is not solved.

  •  1,588
    Criss replied

    Hi De Brouwer,

    Thank you very much for your feedback!

    Please provide me FTP credentials and Back Office access of your site.

    We will check it and help you asap!

    Best Regards,
    Criss - FieldThemes