Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • oops, missed a bit:`

    $offset = “0”;
    $no_of_posts = “2”;
    if (preg_match(‘/page/’, $_SERVER[‘REQUEST_URI’])) {
    $uri = explode(‘/’, $_SERVER[‘REQUEST_URI’]);
    foreach ($uri as $key=>$value) {
    if ($value == “”) {
    unset($uri[$key]);
    }
    }
    $offset = (array_pop($uri) * 2) – 2;
    }
    query_posts(‘showposts=’ . $no_of_posts . ‘&offset=’ . $offset);
    if (have_posts()) :`

    That should work.

    I had the same problem, but I found a work around:

    $offset = "0";
    $no_of_posts = "2";
    if (preg_match('/page/', $_SERVER['REQUEST_URI'])) {
    	$uri = explode('/', $_SERVER['REQUEST_URI']);
    	foreach ($uri as $key=>$value) {
    		if ($value == "") {
    			unset($uri[$key]);
    		}
    	}
    	$offset = array_pop($uri) * $no_of_posts;
    }
    query_posts('showposts=' . $no_of_posts . '&offset=' . $offset);
    if (have_posts()) :

    And continue your loop. Use the next_posts_link and previous_posts_link as you normally would.

    Have a look at it in action here:
    https://adamlewis.me.uk

    Change your FTP users home directory to be the directory where your wordpress installation is.

    For example, my installation is in:
    /var/www/vhosts/cheaperbycar.co.uk/httpdocs/news

    So change the users home page to be this directory. In *nix do this:
    usermod -d /var/www/vhosts/cheaperbycar.co.uk/httpdocs/news user

    It’s only valid transitional, I’d work towards Strict if you can. Also, as others have mentioned, the page is 319kb and some of the image work is a bit pixelated.

    I had this issue once, so I manually edited the admin user in the database. To get the password right I made a quick page on a site and encrypted it:

    <?php
    echo md5(‘password’);
    ?>

    Then grab the hashed value and stick in the DB.

    You could edit the top of the index.php file to allow you to see the errors. It’s probably hiding them as you’re in “safe _mode” or have your error reporting turned down.

    <?php error_reporting(E_ALL); ?>

    or try:

    <?php ini_set('error_reporting', E_ALL); ?>

    Then you’ll have some meaningful error messages to help work out what’s gone wrong.

    I’m getting the same problem.

    The Object Buffer appears to have been started for something else already, however I’ve disabled most of the plugins and it’s still happening?

    I’ve outputted the handlers and got this:
    <!– handler is All_in_One_SEO_Pack::output_callback_for_title –>
    <!– handler is kml_flashembed –>

    I’ve looked up kml_flashembed and it’s not a plugin I’ve installed:
    https://kimili.com/plugins/kml_flashembed/wp

    Could it be part of another plugin I’ve put in?

    Any help or advice gratefully appreciated.

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