setup.php

I read a post about auto running setup after updates. Just tried after updating to 1574 build. Copy over all root level files. Erased zp-core except for my zp-config.php and copied in new. Copied in new ZP themes and styles and then compared to mine (to see if anything added).

Opened browser to mydomain.com/zp-core/ to see what would load. It went to admin.php, not setup.php. How do I check what files either didn't get copied or what's wrong? Up until reading the post, I've always typed the full URL to run setup.

"My" files: slideshow.css, index.php, album.php (I matched), /styles/*.css and my watermark image.

Comments

  • You can run setup two different ways. First, the link mydomain.com/zp-core/setup.php will always run setup. Second, so long as the build number is different between the new uploaded zenphoto and the one you are running, typing the link mydomain.com will cause setup to run. (The build number changes each nightly build.)
  • It's not running for me. Only if I manually add setup.php to the path. However, there's possibility browser-of-choice is to fault in its cache of files (cleared) /history (never cleared). Even if cleared, it has a mind of its own. Just wanted to make sure if so long as I see a new version number, I can assume a complete update was done.
  • I've not heard of this issue from anyone else. The browser might cache an old index.php page, don't know. But if it requests the page from the server the zenphoto code will redirect to setup.php.

    So, next time you update do the following.

    Before installing the release check the zenphoto version and release from the bottom of the admin page. Copy down what it says.

    Then do your upgrade. Clear your browser cache. Enter the link to your site (NOT admin, just the site) in your browser address field and go to that URL.

    If setup.php does not run, run it manually. Look at the bottom of its form and compare the zenphoto version and release that is displayed there with the one from before you updated.
  • acrylian Administrator, Developer
    sbillard, as you know I update from svn and sometimes setup indeed does not run automatically. I can't reproduce it since it does most of the time, but well not always. I guess it's indeed a browser cache thing (it may be a Safari issue).
  • Okay, I'm satisfied nothing is compromised if run manually and I actually see the new version number. In the instances I've not, it's been because I missed the zp-core files and did all the rest, oops!
Sign In or Register to comment.