Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter traderstuart

    (@traderstuart)

    It seems that TortoiseSVN had not uploaded the images after all. I assumed it had seeing that it was showing a tick for everything being up to date. I noticed an option to add when I right clicked on a jpg file and then after committing the changes the screenshots now appear.

    Thread Starter traderstuart

    (@traderstuart)

    Ok, thanks that’s very helpful. Sorry one last clarification.

    Does the Ajax call to the PHP script that does the DB operations count as one and the same process? Or does the Ajax call count as one and then the wpdb operation count as another one because of the MySQL operation?

    If they count as 2 processes and max_user_connections is reached after the Ajax call (unlikely I know) would the PHP function simply fail to run or die gracefully because it cannot access/allocate the global wpdb?

    Or have I misunderstood?

    Thread Starter traderstuart

    (@traderstuart)

    Thanks Michael, at the moment I have the following 2 types of DB operation, that are triggered by a user clicking on a link or scrolling (after the page has loaded):

    $wpdb->insert($table_name, $data);
    $dataId = $wpdb->insert_id;

    and

    $wpdb->update( $table_name, ... );

    Can you see a problem with this?

    Thread Starter traderstuart

    (@traderstuart)

    I wrote the plugin myself. Other people will use it so the server hardware and bandwidth will vary depending on what they have.

    That’s why I want to intercept the error so that no matter what the capabilities of the server the plugin will not cause any problems to visitors viewing pages on the site.

Viewing 4 replies - 1 through 4 (of 4 total)