ini_set() has been disabled for security reasons

hi ive got a problem with the Gallery
i have installes everything and after installation this error messages showed on top of the page up:

Warning: ini_set() has been disabled for security reasons in /usr/export/www/hosting/site/zenphoto-1.2.3/zenphoto/zp-core/functions-basic.php on line 25

Warning: debug_backtrace() has been disabled for security reasons in /usr/export/www/vhosts/funnetwork/hosting/site/zenphoto/zp-core/functions-filter.php on line 44

Warning: array_shift() [function.array-shift]: The argument should be an array in /usr/export/www/vhosts/funnetwork/hosting/site/zenphoto/zp-core/functions-filter.php on line 45

i tried to install this script on funpic.de and on ohost.de
and by every hoster there were these error messages

plz help me
Dari

Comments

  • Place an `@` in front to the `ini_set()` statement. That will supress the warning. The one in functions=filter.php is more of a problem. It is required for the filtering to work correctly.

    Unfortunately some providers think that they are being helpful by making these "security" restrictions. Not much you can do about that but speak with your service providers an point out that the uses made by Zenphoto are perfectly legitimate.

    Either that or find a provider who is not so draconian.

    Edit: you can disable the plugins whose names begin with `filter` and maybe not get the `debug_backtrace()` warning. Of course, then the features they provide will not be available.
  • k thx for help
    if i disable some filters there is no warning anymore

    just how do i place this @ in front of this ini_set() statement?
    its shown directly on top of my page i cant edit sth there =)

    big thx Dari
  • You have to edit the script.
  • wow ty it works =)
    nice support :P
  • If you will try the nightly build I believe it will resolve both these issues for you. (And maintain the plugin functionality.)
Sign In or Register to comment.