Forum Replies Created

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

    (@wordpressforspeed)

    The query stopped being produced when scu was disabled.

    Thread Starter wpforspeed

    (@wordpressforspeed)

    I should add, at 16M added to the php error_log on every load of any page on the site, we can fill disk pretty fast. My calculation is we’d fill 1 terabyte every month.

    The harder question is: can we adjust the server, to accept sql queries with 20M characters separating UPDATE wp_options SET and WHERE option_name = ‘_transient_su/users_cache’

    i am thinking that is an inherently risky sql statement, that we need to not be using. But if we don’t use it, how can we use Shortcodes Ultimate?

    I am really looking forward to any thoughts you might have on this.

    Thank you.

    Thread Starter wpforspeed

    (@wordpressforspeed)

    I really appreciate your time looking at this. The cycling through php scripts does not happen if permalinks are set to default. When set to Post name, here is what happens.

    Browse to home page:
    WordPress Scripts Run followed by $_SERVER[“REQUEST_URI”]
    index.php /wordPressDemo/
    wp-blog-header.php /wordPressDemo/
    wp-load.php /wordPressDemo/
    template redirect: template-loader.php /wordPressDemo/
    template redirect: template-loader.php /wordPressDemo/
    page template: index.php /wordPressDemo/

    Browse to post, hit-logs-home-page: Series of scripts runs twice, changing $_SERVER[“REQUEST_URI”] while doing so.
    WordPress Scripts Run followed by $_SERVER[“REQUEST_URI”]
    index.php /wordPressDemo/hit-logs-home-page/
    wp-blog-header.php /wordPressDemo/hit-logs-home-page/
    wp-load.php /wordPressDemo/hit-logs-home-page/
    template redirect: template-loader.php /wordPressDemo/hit-logs-home-page/
    template redirect: template-loader.php /wordPressDemo/hit-logs-home-page/
    page template: single.php /wordPressDemo/hit-logs-home-page/
    index.php /wordPressDemo/hit-logs-post/
    wp-blog-header.php /wordPressDemo/hit-logs-post/
    wp-load.php /wordPressDemo/hit-logs-post/
    template redirect: template-loader.php /wordPressDemo/hit-logs-post/
    template redirect: template-loader.php /wordPressDemo/hit-logs-post/
    page template: single.php /wordPressDemo/hit-logs-post/

    Thread Starter wpforspeed

    (@wordpressforspeed)

    Yes, the results are the same with all plugins disabled.

    When WordPress is called to display a valid url, in runs the the following php scripts multiple times:

    • index.php
    • wp-blog-header.php
    • wp-includes/template-loader.php
    • page.php or other templates

    Steps to reproduce the result:

    1. Intall WordPress
    2. modify each php script listed above, to write a recored to a database database table when the script runs

    This produces a record of those pages running multiple times for each page request.

    I am wondering how that happens and why.

    The data shows the scripts running more than once, but I haven’t found where in the code the scripts are cycling like that. The code reads like WP should stop as soon as it gets to the end of the template it is using.

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