1.6rc

Zenphoto 1.6rc testing :

I did a fresh installation without problem on a subdirectory of my online website : no problem; restoring database with the Zenphoto tool did work.
I'm already using zenphoto 1.6a - Good to know 1.6rc will work !

I could not install it on my localhost machine. Database info was rejected.
I will completely uninstall files from my computer, reinstall xampp with php 8.1 and retry zenphoto 1.6rc.

Comments

  • ctdlg Member
    edited November 16

    New Xampp install with php 8.1
    My localhost (zenphoto1.6a) copy does work.

    Still unable to install 1.6rc from scratch : sql error.
    on page
    http://localhost/16rc/zp-core/setup/index.php

    I do not use a sql password on my localhost machine.

    user is root
    password is empty ( I do empty it - see screenshot below showing a password that I remove...)

    Could this be the problem with 1.6rc ?
    screenshot

    1.6a on same localhost machine :
    I use
    user root
    password empty
    Again it does work !
    http://localhost/16a/zp-core/setup/index.php
    shows
    screenshot

  • ctdlg Member
    edited November 16

    localhost problem solved.

    mysqli NEEDS a password with zenphoto 1.6rc

    msqli do not need any password with zenphoto 1.6a or less !

    help to change the sql password :
    https://kinsta.com/knowledgebase/xampp-mysql-password/

    Conclusion : install ok for me, both online or on localhost.

    I will now upgrade my existing 1.6a localhost ... (my online backup)
    If ok, I will upgrade my online website.

  • acrylian Administrator, Developer
    edited November 16

    Yes, you have to provide a password. Mysql itself does no work without a password. Zenphoto never set a "default" for this but older PHP may have used some server default like root (which is the user and pw on my local server). You cannot leave it empty as especially on PHP 8/8.1 both handlers would fail with kind of fatal error if one of these core info is missing.

    But thanks for testing!

  • Xampp installs mysql without any password, and did work without any password.
    1.6a and previous versions did not request a password.

    As mentioned, I have added a password using phpmyadmin, 1.6rc does work with it.

    I have upgraded my localhost website to 1.6rc.
    I'm currently testing it (php 8.1).

    If everything is OK, I will upgrade my online website from 1.6a to 1.6rc.
    And move from php 7 to 8 ...

    Thank you for your help.

  • acrylian Administrator, Developer

    Yes, of course, I was just explaining it in case others stumble upon it.

  • I upgraded my online website from php 7.4 to php 8.1

    I've upgraded my online website from 1.6a to 1.6rc.

    I could not succeed reinstalling, and had to ignore - problem was my database
    I changed it's "interclassement" (from latin1 to utf8mb4)
    then I succeeded reinstalling it.
    The zenphoto database restore tool does work !

    I have checked my online website : nothing loosed.
    Everything seems Ok.

    I will report if I find something weird.

    Thanks again.

  • acrylian Administrator, Developer

    I could not succeed reinstalling, and had to ignore - problem was my database

    I changed it's "interclassement" (from latin1 to utf8mb4)

    That encoding change is not really a requirement, more a recommendation (as it always already was). A plain conversion from non-utf8 to any utf8 may have side effect which is why we don't do that.

    But glad that all else so far worked as expected!

Sign In or Register to comment.