Errors with 1.4.3 (dev) installation?

Hello,

As I was about to update a gallery which is still in development, I decided to install 1.4.3 to get the feel of new features. So I upload everything on the distant webserver which runs on Apache 2.2.1 / PHP 5.2.17. I then decide to run setup and see the following bugs

1. Doesn't work if I do `mydomain.com/zenphoto`.
I have to type `mydomain.com/zenphoto/zp-code/setup.php`

2. In the rectangle where one setup the database type, location and credentials, there is a new field for the path, which defaults to /zenphoto/zp-data. Whether I leave it as is or leave it blank, it doesn't change what happens next.

Once I have entered my credentials and click on Save, I get the following error message :
Forbidden. You don't have permission to access /zenphoto/zp-core/setup.php on this server. No data has been saved in the configuration file.

The only way to get back access to setup.php is to re-load the entire zp-core folder and index.php file.

P.S. After that, I installed the trunk version (1.4.2.2) and everything worked like a charm.

Regards,

Comments

  • I do not know about the forbidden error, I did not get that. But installing fresh does indeed not work. It will be fixed tonight. The new field "path" you saw goes with the SQLite database, so I presume that was selected. It did not get selected by default for me, though.
  • That was a "semi-fresh" install.
    In a nutshell, I already had a 1.4.2 installation (theme under development) with a few photos and a database. I had replaced the zp-core AND zp-data folders because I wanted to see how things got installed and re-check translations.

    Regarding the "Forbidden" status, I don't find it anywhere in the log. However, looking at the detailed web host log following both the failed 1.4.3 and the good 1.4.2 installs, I notice the following:
    – There are many GET commands for locales that look like :
    `/zenphoto//zp-core/locale/es_ES/flag.png`
    (note the double slash) –> error code 404

    Regards,
  • I am not seeing the double shash. Try again with tonight's build. Maybe something fixed as a side-effect.
  • Hello,

    Took me time to try it. I created a brand new setup (new upload, new gallery, new database) on the same server as above. Installation worked like a charm.

    Interestingly enough, even though I had yet to say anything, the setup routine happened in French (the preferred language of my browser and of my system).

    Version 1.4.3-DEV [9437] (Official version)

    One question I have: once the setup was completed, I was invited to create a new user (administrator). Then I was told
    The Zenphoto_Authority object supports a higher version of user rights than currently selected. You may wish to migrate the user rights to gain the new functionality this version provides.
    To which I said "yes". What difference does it make?

    Regards,
  • There is a new right that can allow/prevent a user from changing his credentials. You have to migrate the rights version for it to be available.
  • I see. Thanks.
Sign In or Register to comment.