• Resolved davidallen23

    (@davidallen23)


    I have an album called ‘Gallery 1’ which contains several photos. Each photo has a Photoname & Description.
    I have added the wppa+ Search photos widget in a secondary sidebar. I have a page called ‘Photo search results’ which includes [wppa type=”landing”][/wppa]

    In the widget’s configuration I have the landing page set as ‘Photo search results’ & in ‘Album’ I have selected Gallery 1.

    wppa+ settings Table ix E1 is set to ‘Photo search results’
    Table ix E6 is ticked
    Table ix E12 is set to ‘Albums and thumbnails’

    When I perform a search the result is: ‘No albums or photos found…’
    What have I missed?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter davidallen23

    (@davidallen23)

    I have compared wppa+ settings on this site with those on a working site.
    The only difference I notice is that this site shows the following:
    Table viii A 8.1, 8.2 & 8.3 are all locked whereas on the working site they are not.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    This means that the search index table is not yet fully created.

    The background process to make the search index takes some time. After every pagerequest, a cron job runs for a few seconds to work on creating the index.
    This may take a while when there is hardly any traffic on the site.

    You can ‘help’ the process by having the settings page open on a browser tab. It will send an ajax request every minute ( a so called heartbeat ), to trigger the cron process.

    You can monitor the cron activity when you tick the box in Table IX-A9.1: Log Cron.
    This will log cron activity on the wppa logfile, see Table VIII-C1.

    Thread Starter davidallen23

    (@davidallen23)

    Thanks.
    There’s still a problem – Table viii A 8.1, 8.2 & 8.3 are still locked. Maybe it’s not related to wppa+.

    You can check the log file to follow progress, or watch the counts decrement in “Settings”.

    Even with a powerful machine it can take quite a while for them to complete because they only do a few photos/albums at a time.

    Thread Starter davidallen23

    (@davidallen23)

    List logfile shows:
    11:00 /wp-admin/admin-ajax.php?action=wppa&wppa-action=gettogo&slug=wppa_remake_index_albums
    11:00 /wp-admin/admin-ajax.php?action=wppa&wppa-action=gettogo&slug=wppa_cleanup_index
    11:00 /wp-admin/admin-ajax.php?action=wppa&wppa-action=gettogo&slug=wppa_remake_index_photos
    11:00 /wp-admin/admin-ajax.php
    11:00 /wp-admin/admin-ajax.php
    11:00 /wp-admin/admin-ajax.php?action=wppa&wppa-action=gettogo&slug=wppa_remake_index_albums
    11:00 /wp-admin/admin-ajax.php?action=wppa&wppa-action=gettogo&slug=wppa_cleanup_index
    11:00 /wp-admin/admin-ajax.php?action=wppa&wppa-action=gettogo&slug=wppa_remake_index_photos
    11:00 /wp-admin/admin-ajax.php

    List index log shows ‘There are no index items’

    Thread Starter davidallen23

    (@davidallen23)

    I assume that when you deactivate & delete the wppa+ plugin you then have to delete all the wppa cron events manually?

    Thread Starter davidallen23

    (@davidallen23)

    Thanks. Appears to have required: define( ‘ALTERNATE_WP_CRON’, true ); in the wp-config.php

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Search query’ is closed to new replies.