zenphoto forums » Installation Support

installation problem *(safe mode restrictions?)

(4 posts)
  1. tomas

    Apprentice
    Joined: Feb '12
    Posts: 2

    hi,

    first off, thanks for the nice and simple gallery engine, it had worked for me for almost two years without a hitch.

    now after my zenphoto install had been hacked, i went on to upgrade to 1.4.2.1 as suggested.

    after several failed attempts, and driving an IT friend into despair, i would appreciate if you could have a look at these error messages...

    after hitting go on the setup page i get:

    Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /www/wwwservis/.../zp-core/setup.php on line 2180

    About to create tables...
    Migrating lib-auth data version ==> version 3

    Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 345060 is not allowed to access /tmp owned by uid 0 in /www/wwwservis/.../zp-core/zp-extensions/class-video/getid3/getid3.php on line 22

    Done with table create!

    >>Delete setup files<<

    i hit the button to delete setup files and next up was this message:

    Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 345060 is not allowed to access /tmp owned by uid 0 in /www/wwwservis/maximdesign.sk/zenphoto1.4.2.1/zp-core/zp-extensions/class-video/getid3/getid3.php on line 22

    Warning: Cannot modify header information - headers already sent by (output started at /www/wwwservis/maximdesign.sk/zenphoto1.4.2.1/zp-core/zp-extensions/class-video/getid3/getid3.php:22) in /www/wwwservis/maximdesign.sk/zenphoto1.4.2.1/zp-core/functions-basic.php on line 1538

    when i tried to reload the page, the message alternates between

    Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 345060 is not allowed to access /tmp owned by uid 0 in /www/wwwservis/maximdesign.sk/zenphoto1.4.2.1/zp-core/zp-extensions/class-video/getid3/getid3.php on line 22

    Warning: Cannot modify header information - headers already sent by (output started at /www/wwwservis/maximdesign.sk/zenphoto1.4.2.1/zp-core/zp-extensions/class-video/getid3/getid3.php:22) in /www/wwwservis/maximdesign.sk/zenphoto1.4.2.1/zp-core/admin-functions.php on line 110

    Warning: Cannot modify header information - headers already sent by (output started at /www/wwwservis/maximdesign.sk/zenphoto1.4.2.1/zp-core/zp-extensions/class-video/getid3/getid3.php:22) in /www/wwwservis/maximdesign.sk/zenphoto1.4.2.1/zp-core/admin-functions.php on line 111

    AND

    Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 345060 is not allowed to access /tmp owned by uid 0 in /www/wwwservis/maximdesign.sk/zenphoto1.4.2.1/zp-core/zp-extensions/class-video/getid3/getid3.php on line 22
    Zenphoto needs to run setup but the setup scripts are not present. Please reinstall the setup scripts.

    any help would be appreciated.

    thanks

    tomas

    Posted 2 years ago #
  2. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 15,035

    You should disable safe mode. While Zenphoto should generally work with it is actually bad practice and can cause problems. Ask your host if you don't know how or if that is possible.

    Regarding setup scripts missing. You need to re-upload them as they are and should be deleted for security after installing.

    Don't forget to read the Forum rules and usage resources
    Posted 2 years ago #
  3. tomas

    Apprentice
    Joined: Feb '12
    Posts: 2

    hi acrylian,

    thanks for getting back to me.

    i did try to ask the host to disable safe mode before, but was literally told this:

    "we cannot switch off safe mode, but since scripts are running under your user, they are entitled to everything they should be entitled to."

    if this is as far as the host will go, is this the end of the road for me in trying the latest zenphoto install?

    Posted 2 years ago #
  4. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 15,035

    Generally Zenphoto should work but there are restrictions. Please also see: http://www.zenphoto.org/news/does-zenphoto-work-with-php-safe-mode-

    Considering safe mode is already marked deprecated with the current PHP version 5.3 we surely won't work on fixing anything in that regard....
    http://php.net/manual/de/features.safe-mode.php

    There are lots of proper hosts out there...

    Don't forget to read the Forum rules and usage resources
    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.