setup.php stops after "MySQL show tables"

Hi folks,

I'm having a problem installing zenphoto (v.1.1.5) on a server running PHP (4.2.2) with safe mode enabled. Unfortunately, the server support won't turn off safe mode. They said they need safe mode for security reasons and if the script was coded correctly, it wouldn't make use of any functions restricted by safe mode.

* I successfully installed zenphoto on another test machine. I used the designated database, which worked fine. *

On the target machine setup.php seems to stop running after it writes
`MySQL show tables`.


I just don't get why the script stops running. As I pointed out above, safe mode may be the cause, but can't be turned off.

How do I get around this? (without having to change my server provider...) :-)

Link here: http://fire-ice-and-magic.de/zenphoto/zp-core/setup.php
PHPinfo: http://fire-ice-and-magic.de/phpinfo.php

Thanks in advance,
Matt

Comments

  • You might want to consider another ISP. Safe mode does little to make PHP programs safe. What it really does is prevent many useful PHP scripts (like Zenphoto) from running either well, or sometimes at all.

    The problem you are encountering may be an over zealous implementation of safe mode. Zenphoto is unable, apparently, to read the .htaccess file. But, rather than just not reading the file, apparently execution got stopped. The only thing you can do is try to run upgrade.php, which will bypass the system checks that zenphoto likes to do to insure that there is a fighting chance for it to work.

    Naturally, we can make no guarentees that zenphoto will work once it is installed.
Sign In or Register to comment.