can't re-run the setup script

New install here (v1.4.0.2) and am having some problems with mod-rewrite.

As soon as the setup script creates the .htaccess file all of the pages become inaccessible (error 403). If I delete the .htaccess file and turn off mod-rewrite then the pages are accessible.

I tried re-running the setup script (after re-uploading the setup files) and got these error messages:

`
Zenphoto core files [Some files are missing or seem wrong]
Warning!

Perhaps there was a problem with the upload. You should check the following files:
zp-core/setup.php
zp-core/setup_set-mod_rewrite.php
zp-core/setup/setup-functions.php
zp-core/setup/setup-option-defaults.php
zp-core/setup/setup-primitive.php
zp-core/setup/setup-sqlform.php
zp-core/setup/setup.css
zp-core/setup/setup_permissions_changer.php
zp-core/setup/setup_themeOptions.php
`
All of these files are present and have appropriate permissions, so I'm not sure what this error is all about. I was hoping that re-running the script would create a new .htaccess file but that option is not available.

Any thoughts?

Comments

  • The message says that the files do not appear to be from the same release as the rest of the install. Since you re-uploaded them, these messages would be expected.

    Given your statement I would guess that mod_rewrite does not work on your server. If you will set mod_rewrite, remove the .htaccess file and then run setup again having it create the .htaccess file you should get an entry in the setup log with respect to htaccess. My guess is it will tell you that it does not work on your server.
  • Thanks for the post. Do you mean that mod_rewrite may not work on my server PERIOD or it just won't work with zenphoto? I'm obviously a little new at this.

    :)

    OS running the show is Novel SUSE Enterprise Linux Server 11.
  • If mod_rewrite works at all it will work for Zenphoto. It is a configurable thing (mod_rewrite) but sorry, I am no expert at SUSE. Maybe only an Apache thing.
Sign In or Register to comment.