Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Redders – this solution worked – but i cold only get my service provider to disable those particular rules.

    In my control panel, I could only disable the Mod Security for the whole domain…not so sure if that is a good idea.

    Anyway, thanks Redders. good knowledge!

    Hey Langsware,

    Tried that solution, but i still get the session expired and logged out.

    Thanks Procoder. Everything is lowercase already and all matches up. Any further thoughts are welcome 🙂

    So I asked my webhoster, and he came up with a solution for my problem: I had used upper case letters in the URL-Config in WP:
    select * from wordpresswp_options where option_name = ‘siteurl’;

    Where is this found ProCoder ? is that in the database, or in the wp_config file ?

    Thanks

    *****

    Found it…all are lowercase in my DB, so it can’t be that issue affecting my installation 🙁

    *** Update ***

    Further to this – I have found that the issue only seems to appear when trying to edit older pages/posts.

    If I create a new page, I can update/publish it as normal, with no problems. Could this be a date issue?

    If I log out and then return to the page to try and edit – on update I am logged out again, with the same looping “session expired” error.

    Once the error occurs – trying to access any part of the site refers you to the login.

    ***

    Hey everyone,

    I am also experiencing this issue – I am unable to update any page on my website, as i am redirected to a session expiry login, that then loops – no matter where i am in my dashboard after a primary login.

    Yesterday, access was fine and the system operated A-ok.

    I have tried three browsers – all with cleared history/security/cookies.

    My wordpress version was updated automatically to 4.4.1 yesterday at 8:30 pm GMT)

    I’m guessing this needs a fix quick.

    Assistance appreciated.

    Thread Starter monkfish13

    (@monkfish13)

    Create a new template file that only calls the title and author details.

    Thread Starter monkfish13

    (@monkfish13)

    Perfect. Thank you Bcworkz

    Don’t mind re-applying the hack – it’s pretty simple once in a while.

    Thread Starter monkfish13

    (@monkfish13)

    Further to the request above, through a process of elimination I have managed this:

    Using the following code from the plugin’s template_tag file thus :

    //get post permalink which leads to group blog single post page
    function bcg_get_post_permalink($post){
        global $bp;
          return bp_get_group_permalink($bp).$post->post_name;
    }
    function bcg_pagination($q) {
    
    		$posts_per_page = intval(get_query_var('posts_per_page'));
    		$paged = intval(get_query_var('paged'));
    		$numposts = $q->found_posts;
                    $max_page = $q->max_num_pages;
    		if(empty($paged) || $paged == 0) {
    			$paged = 1;
    		}
    
         $pag_links = paginate_links( array(
    			'base' => add_query_arg( array( 'paged' => '%#%', 'num' => $posts_per_page ) ),
    			'format' => '',
    			'total' => ceil($numposts / $posts_per_page),
    			'current' => $paged,
    			'prev_text' => '?',
    			'next_text' => '?',
    			'mid_size' => 1
    		));
    echo $pag_links;
    }

    It renders the permalinks like so – http://www.racecraftmodels.co.uk/groups/mercedes-b

    It appears to be the return function on line 4 that controls the post permalink.

    What do I need to do to this line to make the rendered permalink point to the original post – NOT within a group – like so;

    http://www.racecraftmodels.co.uk/mercedes-b

    Any assistance or thoughts would be very much appriciated.

    Thread Starter monkfish13

    (@monkfish13)

    Hi codegene,

    Thank you for the information – but i need this to happen by default.

    It is ok, however as i have solved this issue by another method. Thankyou!

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