• Resolved Aaron

    (@aaronlutze)


    Hi there,

    We are finding that when the wp cron jobs are running, your plugin is crashing our server. Our DBA has found that these lines of code:

    DELETE FROM ‘wp_wppa_session’ WHERE ‘timestamp’ < ‘14776333515’

    These are repeating hundreds of times, with six lines below like this:

    UPDATE ‘wp_wppa_session’ SET ‘status’ = ‘expired’ WHERE ‘timestamp’ < ‘14776333515’

    Also repeating 6 times below each of the DELETE lines.

    We need to figure out where and why this is happening so we can ensure its stopped and never occurs again.

    Any help would be greatly appreciated.

    Thank You.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Hi. Thanx for the report. This will be fixed in version 6.6.00

    To help you right away:

    Either:
    update to the current development version 6.6.00.024 ( see
    https://wppa.nl/docs-by-subject/development-version/ for instructions )

    OR:
    Replace …/plugins/wp-photo-album-plus/wppa-session.php by the development version:
    https://plugins.svn.www.ads-software.com/wp-photo-album-plus/trunk/wppa-session.php

    This version ignores all wppa session activity during cron jobs.

    Thread Starter Aaron

    (@aaronlutze)

    Hello again,

    I have updated to the latest developer version, and now moderation of photos isn’t working.

    Although the actual gallery is visible on the home page, when a photo is uploaded for moderation, it doesn’t appear. Also, the moderation page looks like it isn’t rendering properly.

    I have tested this across 3 other sites that use the same plugin, and they are working fine with the regular latest version of the plugin.

    Thread Starter Aaron

    (@aaronlutze)

    Also, I tried just re installing the latest version of the regular plugin and trying your second option to just change the session php file. And the image uploading is still not working.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The album- and photo admin page has been re-designed in 6.6.00 to make it usable on mobile devices, see:
    https://wppa.nl/nl/docs-by-subject/admin-pages/album-admin/

    Photos awaiting moderation are only visible at the fron-end for the owner and the admin.
    This has always been the case.

    Can you give me more info or screenshots of what does not seem to work properly?

    Thread Starter Aaron

    (@aaronlutze)

    Its the widget called “WPPA+ Upload”, it is being run on a page available to logged in members.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Sorry for my late response. The forum still does not show the latest reply first…

    This topic was about ‘Site Crashing from MySQL Code’

    How to configure front-end uploads can be found here: https://wppa.nl/docs-by-subject/user-upload/

    If you syill have problems with front-end upload, pls open a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Site Crashing from MySQL Code’ is closed to new replies.