The MU forums have moved to WordPress.org

"Not Admin" (3 posts)

  1. mariolloret
    Member
    Posted 16 years ago #

    I can't do any change in my blog. When I tray saving the changes it appears a message that says "No admin" what can i do? Please help me!

    Thank you

  2. pitttih
    Member
    Posted 16 years ago #

    Where in your blog exacly ?

  3. pitttih
    Member
    Posted 16 years ago #

    i do'nt know what's your problem exactly you may need to update user role from / User / Autor & users on your admin area ..
    if dosen't help

    edit /wp-admin/options.php

    fint this lines:

    if( $option_page == 'options' ) {
    		if( is_site_admin() ) {
    			$options = explode(',', stripslashes( $_POST[ 'page_options' ] ));
    		} else {
    			die( 'Not admin' );
    		}
    	} else {

    Replace with:

    if( $option_page == 'options' ) {
    		if( is_site_admin() ) {
    			$options = explode(',', stripslashes( $_POST[ 'page_options' ] ));
    
    		}
    	} else {

    Find this lines:

    default:
    	if (!is_site_admin())
    		die('Not admin');
    
    	include('admin-header.php'); ?>

    Rplace with:

    default:
    	if (!is_site_admin())
    		die('Not admin');
    
    	include('admin-header.php'); ?>

    But It's not Safe !!!

About this Topic

  • Started 16 years ago by mariolloret
  • Latest reply from pitttih