• I’ve installed following the instructions and the gallery doesn’t work.
    Creating a Gallery creates a folder but not showing in the list.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rattus

    (@pasyuk)

    I’m sorry to hear it. Perhaps, the problem was in the conflict with some other plugin or theme.

    Thread Starter torracolloms

    (@torracolloms)

    Nope! There is no other plugin or theme installed
    The following will help you to reproduce it.

    cd ~
    sudo rm -rf /var/www/wp
    sudo mkdir -p /var/www/wp
    sudo chmod 0777 /var/www/wp
    cd /var/www/wp
    mysql -u### -p### -e "DROP DATABASE IF EXISTS my_dbname;
    CREATE DATABASE my_dbname CHARACTER SET utf8;
    GRANT ALL PRIVILEGES ON my_dbname.* TO 'my_dbuser'@'localhost' IDENTIFIED BY 'secret';
    GRANT ALL PRIVILEGES ON my_dbname.* TO 'my_dbuser'@'%' IDENTIFIED BY 'secret';
    FLUSH PRIVILEGES;
    SHOW DATABASES;
    QUIT"
    wp core download --version=5.4.1
    wp db drop --yes
    wp db create
    wp config create \
        --dbname=my_dbname \
        --dbuser=my_dbuser \
        --dbpass=secret \
        --dbhost=localhost
    wp core install \
        --url=http://wp \
        --title=my_title \
        --admin_user=admin \
        --admin_password=admin \
        --admin_email=admin@domain.com \
        --skip-email
    sudo find /var/www/wp -exec chown www-data:www-data {} \;
    sudo find /var/www/wp -exec chmod 777 {} \; # this is of course overkill
    wp plugin install flash-album-gallery --activate


    http://wp/wp-admin/admin.php?page=flag-manage-gallery
    New Gallery=abc
    Add Gallery

    No Gallery appears in the Gallery Overview

    • This reply was modified 1 year, 1 month ago by torracolloms.
    Thread Starter torracolloms

    (@torracolloms)

    The reason seems to be that the plugin installation from the command line doesn’t creates the tables on the database (wp_flag_album, wp_flag_comments, wp_flag_gallery, wp_flag_pictures) and this must be done manually on the Dashboard deactivating and activating the plugin.

    Could you please standardize the way the plugin is installed?

    • This reply was modified 1 year, 1 month ago by torracolloms.
    Plugin Author Rattus

    (@pasyuk)

    Try the latest update of the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Gallery doesn’t work’ is closed to new replies.