Invalid usage of a reserved method name unlink() Sugar7

This was also mentioned as ... and i have resolved all by using SugarAutoLoader but unable to resolve this problem. Please help

Invalid usage of a function file_exists()
Invalid usage of a function file_exists()
Invalid usage of a function mkdir()
Invalid usage of a function pathinfo()
Invalid usage of a function file_exists()
Invalid usage of a function unlink()
Invalid usage of a function move_uploaded_file()
Invalid usage of a function $base_module_create()
Invalid usage of a function preg_replace_callback()

These All are done

Parents Reply
  • It seems you are trying to install the package on OnDemand instance.

    All instances hosted on OnDemand have package scanner enabled by default.

    And many of PHP functions are disabled on OnDemand instances.

    You need to find the alternatinve function for that.

    Or you can do following steps to install your same package,

    1. Find a package that disable package scanner first.

    2. Install your package

    3. Revert step 1.

Children