• Hi!

    I’m running a wordpress site (3.2.1) at https://kuohu.kajaani.net and I recently noticed that the pagination in the admin panel/dashboard doesn’t function. For example, In the Posts-section i’ve got 500 posts but when I click the link to go to the next page it just loads for a really long time and then I get the browser error “Timed out”. The same error occurs in the Pages-section. The pagination in the actual site works just fine.

    With pages and posts sections I can circumvent the issue by increasing the number of posts displayed at once but I’ve also got the plugin Nextgen image gallery installed which doesn’t offer this option.

    So far I’ve tried deleting and reuploading a fresh version of WP-Includes and WP-admin folders but that didn’t help.

    Also, when the Timed Out -error occurs the url changes from the regular kuohu.kajaani.net/wp-admin/edit.php?

    to

    https://sirppi5.kpo.fi:8043/wp-admin/edit.php?post_type=page&paged=2

    Basically displaying the server address instead of the site url. I’m not sure if this has got something to do with the issue. Otherwise the site seems to be working fine.

    Does anybody know what to do to fix this?

    Best Regards,
    Modi.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter modipeluri

    (@modipeluri)

    Hi Esmi,

    I just did all of those things but unfortunately none of them worked.

    I checked with firebug and it seems that the url is wrong. Instead of https://www.kuohu.kajaani.net/wp-admin/ it’s sirppi5.kpo.fi/wp-admin/
    Sirppi being the name of the server.

    I also tried forcing a new admin_url in my functions.php and in .htaccess but that didn’t work either.

    WordPress has to get this url from somewhere right? But I don’t understand from where. I even tried searching through the database to looks for urls with “sirppi” in them but there was none.

    What urls are entered in Settings -> General?

    Thread Starter modipeluri

    (@modipeluri)

    Both urls are set to https://www.kuohu.kajaani.net

    Naturally I’ve tried googling for solution but this is the first time for me when google doesn’t find similar issues.

    you can try to export your database with phpmyadmin and search for
    the server string in the database and maybe get a hint where this
    url is “stuck”

    Thread Starter modipeluri

    (@modipeluri)

    Thanks for the suggestion. There were two lines with the wrong url and I fixed them, imported the database back but the pagination is still broken. Tried clearing my cookies too.

    do you have any pagination plugin ? or your current pagination is theme base ?

    Thread Starter modipeluri

    (@modipeluri)

    Yup, I’m using the WP-PageNavi plugin. I’ve tried disabling/enabling it and updated it as well but to no avail.

    My knowledge is running short here. Where can it get this url if it’s not in the database, nor in the WordPress php files. I’m certain I haven’t written it anywhere at any point. Yet it’s still there. I believe it has got something to do the with the admin_url variable but even forcing a new admin_url in the functions.php didn’t help.

    I guess it can’t be theme related either since changing the theme to twentyten didn’t help me either.

    try to save this in php file

    <?php
    phpinfo();
    ?>

    run the file in the browser, search for for uri string there.

    Thread Starter modipeluri

    (@modipeluri)

    Alright, I did what you adviced and found three matches:

    Apache Environment section:
    HTTP_HOST sirppi5.kpo.fi:8043

    HTTP Headers Information section:
    Host sirppi5.kpo.fi:8043

    PHP Variables section:
    _SERVER[“HTTP_HOST”] sirppi5.kpo.fi:8043

    Not sure if relevant but also noticed this:
    HTTP_X_FORWARDED_HOST kuohu.kajaani.net

    if i’m not wrong this is problem with your host configuration
    and i think it’s related to the fact your wordPress is behind a reverse proxy.

    Thread Starter modipeluri

    (@modipeluri)

    Thanks. I will contact them and ask them to fix it but I’m not sure what is it that I should ask them to fix exactly?

    I have the exact same problem on 2 separate WordPress installations (3.3.1 and 3.3.2). They are both multi-side (if that matters).
    The arrows allowing me to navigate through pages with posts in wp-admin point to the IP of the server with the WordPress, instead pointing to the domain name of the proxy, like all the other links.

    Does anyone know how to fix this issue? Thanks!

    Please post your own topic.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Dashboard pagination doesn't work’ is closed to new replies.