• In the message we recieved shutting us down the following pages appered often:
    public_html/wp-admin/admin-ajax.php
    /wp-admin/admin-ajax.php?action=wppa&wppa-action=bumpviewco

    I changed the setting tio regenerate the address to no (not sure if that will help)

    I also looked in wp-supercache settings. I see everything with the string: wp- is exempted. Can I add wp-admin/admin-ajax.php back in as cached or will that prevent the plugin from working properly? I can’t test much myself as I can’t change settings while the host is re-evaluating the server load.Version 5.1.15

    https://www.ads-software.com/plugins/wp-photo-album-plus/

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

    (@opajaap)

    The action is an ajax action to bump the view counter of a photo.
    Every time a fullsize photo is displayed, an http request is sent to the server to bump the viewcounter if it has not already be done during this session of this user. This is how we track the viewcount. This is a feature and no danger to the server. If the host can not handle this, find another host.

    Thread Starter andy3000

    (@andy3000)

    Thanks for the reply. Could you tell me which file calls the counter. I’m thinking of just removing the lines of code that call it while we decide about a hosting upgrade or a new host, so that we can turn your plugin back on.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Delete wppa.min.js

    Edit wppa.js, find line 1525:

    function _bumpViewCount(photo) {
    	// Create http object
    	var xmlhttp = wppaGetXmlHttp();	
    
    	// Make the Ajax url

    change to:

    function _bumpViewCount(photo) {
    return;
    	// Create http object
    	var xmlhttp = wppaGetXmlHttp();	
    
    	// Make the Ajax url

    By inserting return; you will disable the feature.

    Thread Starter andy3000

    (@andy3000)

    Thank you so much. You are awesome!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Host shut us down for high server load’ is closed to new replies.