Prestashop 1.5.6.0 Call to undefined method AdminAwoCoupon::addCSS()


  • Default avatar
    cristiano    
     10 years ago
    0

    Hi, I just installed awocoupon for prestashop without problems, but when I go on Payment->AwoCoupon with ps debug enabled, I recive this error: "Fatal error: Call to undefined method AdminAwoCoupon::addCSS() in /path/to/ps/modules/awocoupon/lib/menu.php on line 27" on a blank page. So I tried to reinstall the module and recived: "Fatal error: Call to undefined function file_contents() in /path/to/ps/modules/awocoupon/awocoupon.php on line 189
    [PrestaShop] Fatal error in module awocoupon:
    Call to undefined function file_contents()".
    The permission of the entire ps dir are 777.
    In the user guide file I saw the paths of the ovverides to give a check if something in the installation went wrong and I noticed that in the module dir I only have the "ps14" folder and no "ps15" or "override15" as written in the user guide, may this be related somehow?
    Thank you.
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    It is a different problem. The installation tries to do it, but some servers do not allow deleting of files.

    So please log into your ftp account and go to
    www/modules/awocoupon/

    And delete this file:
    AdminAwoCoupon.php

    It should work after that.
  • Default avatar
    cristiano    
     10 years ago
    0

    Great! Thank you so much for the quick reply.