php safe mode off

Hi, my php is set on safe mode off but still, zenphoto setup panel returns a restriction due to a safe mode ON.

The gallery doesn't work, I can't even watch it.

Is it because I have installed a copy of my first zenphoto folder on 2 different hosts with different domain names?

The one hosted in the US works, but not the new one in France, even after having changed the database setup.

Also, I kept the same user name and password for the 2 galleries. Where is my mistake?

Thank you!

Comments

  • If Setup is reporting that Safe Mode is on then your PHP is reporting that it is on. Setup is just telling you what it says. Safe Mode being on by it self would not be causing your problems, though.

    There should be no relationship between the two installations. However, we do presume that you also have two databases. It is possible but not likely that one would be accessable to both insatllations

    Since the US installation works concentrate on the difference between the two servers. What is setup telling you?
  • PHP core on the Apache server in France says safe mode is OFF.
    I have 2 different databases on the 2 servers.
    Zenphoto setup says: PHP Safe Mode [is set]
    English is not available on the French server but it's not a possible cause for this:
    when I am on the Zenphoto admin panel, then I click on view "my gallery", instead of having the gallery displayed, I get a panel asking me if I want to open index.php with Text Wrangler!

    Should I switch to another host?

    Thank you
  • when I am on the Zenphoto admin panel, then I click on view "my gallery", instead of having the gallery displayed, I get a panel asking me if I want to open index.php with Text Wrangler!
    This would indicate that the server is not configured to consider "index.php" a "home page". Right off hand I do not remember hot to configure this.

    Setup uses the `ini_get('safe_mode')` function to determin if safe mode is set. It is returning a 'true' value. I am sure I do not know why that would be if safe mode is really off, but it is certainly not Zenphoto who is confused. It is just reporting what was reoported to it.

    I suggest you print out a phpinfo() for your site and see what it says.
  • I'm having the same problem.
    My server's safe mode is off. I've checked with phpinfo() as well. This is what I got.

    safe_mode Off Off
    safe_mode_exec_dir no value no value
    safe_mode_gid Off Off
    safe_mode_include_dir no value no value

    I'm wondering why ZenPhoto is treating it as if safe mode was on..
  • As said above, Zenphoto treats it as your server reports it. Beyond that, I'm not really sure what the problem could be. You could always try to ask your host.
Sign In or Register to comment.