WordPress.org

Forums

Facebook Comments for WordPress
wp-admin/edit.php not loaded correctly (5 posts)

  1. teamliquidlogic
    Member
    Posted 3 years ago #

    Hey there!
    I installed the plugin and so far it works fine...you can comment by your FB account.

    But it causes a problem for all non admins (Authors, Editors...) when they go to the posts section in the backend ( wp-admin/edit.php ). The menu and the heading is visible, the rest of the page shows blank (no footer etc)
    But they are able to add new posts by clicking to "Add new" in the sidebar...curious.

    This is the code of the edit.php for an author.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraphprotocol.org/schema/">
    	<head>
    		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    		<title>
    			Posts &lsaquo; [THIS_WAS_THE_SITE-NAME] - The Kayak Blog — WordPress
    		</title>
    <script type="text/javascript">
    //<![CDATA[
    addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
    var userSettings = {
    		'url': '/',
    		'uid': '34',
    		'time':'1315671237'
    	},
    	ajaxurl = 'http://www.[THIS_WAS_THE_URL].com/wp-admin/admin-ajax.php',
    	pagenow = 'edit-post',
    	typenow = 'post',
    	adminpage = 'edit-php',
    	thousandsSeparator = ',',
    	decimalPoint = '.',
    	isRtl = 0;
    //]]>
    </script>
    		<link rel='stylesheet' href='http://www.[THIS_WAS_THE_URL].com/wp-admin/load-styles.php?c=1&dir=ltr&load=global,wp-admin&ver=6fc53cd39ae6e24cbe8675674f4082af' type='text/css' media='all' />
    		<link rel='stylesheet' id='fbComments_hideWpComments-css' href='http://www.[THIS_WAS_THE_URL].com/wp-content/plugins/facebook-comments-for-wordpress/css/facebook-comments-hidewpcomments.css?ver=3.1.3' type='text/css' media='all' />
    		<link rel='stylesheet' id='fbc_rc_widgets-style-css' href='http://www.[THIS_WAS_THE_URL].com/wp-content/plugins/facebook-comments-for-wordpress/css/facebook-comments-widgets.css?ver=3.2.1' type='text/css' media='all' />
    		<link rel='stylesheet' id='colors-css' href='http://www.[THIS_WAS_THE_URL].com/wp-admin/css/colors-fresh.css?ver=20110703' type='text/css' media='all' />
    <!--[if lte IE 7]>
    <link rel='stylesheet' id='ie-css'  href='http://www.[THIS_WAS_THE_URL].com/wp-admin/css/ie.css?ver=20110711' type='text/css' media='all' />
    <![endif]-->
    <script type='text/javascript' src='http://www.[THIS_WAS_THE_URL].com/wp-includes/js/l10n.js?ver=20101110'></script>
    <script type='text/javascript' src='http://www.[THIS_WAS_THE_URL].com/wp-admin/load-scripts.php?c=1&load=jquery,swfobject,utils&ver=b0db13c94bdb869630a899dd60be8def'></script>
    
    		<link rel="stylesheet" type="text/css" href="http://www.[THIS_WAS_THE_URL].com/wp-content/plugins/wp-recaptcha/recaptcha.css" />
    <!-- Vipers Video Quicktags v6.3.0 | http://www.viper007bond.com/wordpress-plugins/vipers-video-quicktags/ -->
    <style type="text/css">
    .vvqbox { display: block; max-width: 100%; visibility: visible !important; margin: 10px auto; } .vvqbox img { max-width: 100%; height: 100%; } .vvqbox object { max-width: 100%; }
    </style>
    <script type="text/javascript">
    // <![CDATA[
    	var vvqflashvars = {};
    	var vvqparams = { wmode: "opaque", allowfullscreen: "true", allowscriptaccess: "always" };
    	var vvqattributes = {};
    	var vvqexpressinstall = "http://www.[THIS_WAS_THE_URL].com/wp-content/plugins/vipers-video-quicktags/resources/expressinstall.swf";
    // ]]>
    </script>
    	</head>
    	<body class="wp-admin no-js  edit-php branch-3-2 version-3-2-1 admin-color-fresh">
    <script type="text/javascript">
    //<![CDATA[
    (function(){
    var c = document.body.className;
    c = c.replace(/no-js/, 'js');
    document.body.className = c;
    })();
    //]]>
    </script>
    
    		<div id="wpwrap">
    			<div id="adminmenuback">
    			</div>
    			<div id="adminmenuwrap">
    				<div id="adminmenushadow">
    				</div>
    				<ul id="adminmenu">
    					<li class="wp-first-item menu-top menu-top-first menu-icon-dashboard menu-top-last" id="menu-dashboard">
    						<div class='wp-menu-image'>
    							<a href='index.php'>
    								<br />
    							</a>
    						</div>
    						<div class="wp-menu-arrow">
    							<div>
    							</div>
    						</div>
    						<div class="wp-menu-toggle">
    							<br />
    						</div>
    						<a href='index.php' class="wp-first-item menu-top menu-top-first menu-icon-dashboard menu-top-last" tabindex="1">
    							Dashboard</a>
    					</li>
    					<li class="wp-menu-separator">
    						<div class="separator">
    						</div>
    					</li>
    					<li class="wp-has-submenu wp-has-current-submenu wp-menu-open open-if-no-js menu-top menu-icon-post menu-top-first" id="menu-posts">
    						<div class='wp-menu-image'>
    							<a href='edit.php'>
    								<br />
    							</a>
    						</div>
    						<div class="wp-menu-arrow">
    							<div>
    							</div>
    						</div>
    						<div class="wp-menu-toggle">
    							<br />
    						</div>
    						<a href='edit.php' class="wp-has-submenu wp-has-current-submenu wp-menu-open open-if-no-js menu-top menu-icon-post menu-top-first" tabindex="1">
    							Posts
    						</a>
    						<div class='wp-submenu'>
    							<div class='wp-submenu-wrap'>
    								<div class='wp-submenu-head'>
    									Posts
    								</div>
    								<ul>
    									<li class="wp-first-item current">
    										<a href='edit.php' class="wp-first-item current" tabindex="1">
    											All Posts</a>
    									</li>
    									<li>
    										<a href='post-new.php' tabindex="1">
    											Add New</a>
    									</li>
    								</ul>
    							</div>
    						</div>
    					</li>
    					<li class="wp-has-submenu wp-menu-open menu-top menu-icon-media" id="menu-media">
    						<div class='wp-menu-image'>
    							<a href='upload.php'>
    								<br />
    							</a>
    						</div>
    						<div class="wp-menu-arrow">
    							<div>
    							</div>
    						</div>
    						<div class="wp-menu-toggle">
    							<br />
    						</div>
    						<a href='upload.php' class="wp-has-submenu wp-menu-open menu-top menu-icon-media" tabindex="1">
    							Media
    						</a>
    						<div class='wp-submenu'>
    							<div class='wp-submenu-wrap'>
    								<div class='wp-submenu-head'>
    									Media
    								</div>
    								<ul>
    									<li class="wp-first-item">
    										<a href='upload.php' class="wp-first-item" tabindex="1">
    											Library</a>
    									</li>
    									<li>
    										<a href='media-new.php' tabindex="1">
    											Add New</a>
    									</li>
    								</ul>
    							</div>
    						</div>
    					</li>
    					<li class="menu-top menu-icon-comments menu-top-last" id="menu-comments">
    						<div class='wp-menu-image'>
    							<a href='edit-comments.php'>
    								<br />
    							</a>
    						</div>
    						<div class="wp-menu-arrow">
    							<div>
    							</div>
    						</div>
    						<div class="wp-menu-toggle">
    							<br />
    						</div>
    						<a href='edit-comments.php' class="menu-top menu-icon-comments menu-top-last" tabindex="1">
    							Comments
    							<span class='awaiting-mod count-0'>
    								<span class='pending-count'>
    									0</span></span></a>
    					</li>
    					<li class="wp-menu-separator">
    						<div class="separator">
    						</div>
    					</li>
    					<li class="menu-top menu-icon-users menu-top-first" id="menu-users">
    						<div class='wp-menu-image'>
    							<a href='profile.php'>
    								<br />
    							</a>
    						</div>
    						<div class="wp-menu-arrow">
    							<div>
    							</div>
    						</div>
    						<div class="wp-menu-toggle">
    							<br />
    						</div>
    						<a href='profile.php' class="menu-top menu-icon-users menu-top-first" tabindex="1">
    							Profile</a>
    					</li>
    					<li class="menu-top menu-icon-tools" id="menu-tools">
    						<div class='wp-menu-image'>
    							<a href='tools.php'>
    								<br />
    							</a>
    						</div>
    						<div class="wp-menu-arrow">
    							<div>
    							</div>
    						</div>
    						<div class="wp-menu-toggle">
    							<br />
    						</div>
    						<a href='tools.php' class="menu-top menu-icon-tools" tabindex="1">
    							Tools</a>
    					</li>
    					<li class="wp-has-submenu wp-menu-open menu-top menu-icon-settings menu-top-last" id="menu-settings">
    						<div class='wp-menu-image'>
    							<a href='admin.php?page=meta-keywords-description'>
    								<br />
    							</a>
    						</div>
    						<div class="wp-menu-arrow">
    							<div>
    							</div>
    						</div>
    						<div class="wp-menu-toggle">
    							<br />
    						</div>
    						<a href='admin.php?page=meta-keywords-description' class="wp-has-submenu wp-menu-open menu-top menu-icon-settings menu-top-last" tabindex="1">
    							Settings
    						</a>
    						<div class='wp-submenu'>
    							<div class='wp-submenu-wrap'>
    								<div class='wp-submenu-head'>
    									Settings
    								</div>
    								<ul>
    									<li class="wp-first-item">
    										<a href='options-general.php?page=meta-keywords-description' class="wp-first-item" tabindex="1">
    											Meta Keywords & Description</a>
    									</li>
    								</ul>
    							</div>
    						</div>
    					</li>
    					<li id="collapse-menu" class="hide-if-no-js">
    						<div id="collapse-button">
    							<div>
    							</div>
    						</div>
    						<span>
    							Collapse menu</span>
    					</li>
    				</ul>
    			</div>
    			<div id="wpcontent">
    				<div id="wphead">
    					<img id="header-logo" src="http://www.[THIS_WAS_THE_URL].com/wp-includes/images/blank.gif" alt="" width="16" height="16" />
    					<h1 id="site-heading" class="long-title">
    						<a href="http://www.[THIS_WAS_THE_URL].com/" title="Visit Site">
    							<span id="site-title">
    								[THIS_WAS_THE_SITE-NAME] – The Kaya&hellip;
    							</span>
    						</a>
    					</h1>
    					<div id="wphead-info">
    						<div id="user_info">
    							<p class="hide-if-js">
    								Howdy, [THIS WAS THE USERNAME] |
    								<a href="profile.php" title="Edit your profile">
    									Your Profile
    								</a>
    								|
    								<a href="http://www.[THIS_WAS_THE_URL].com/wp-login.php?action=logout&_wpnonce=efbae75ad5" title="Log Out">
    									Log Out</a>
    							</p>
    							<div class="hide-if-no-js">
    								<p>
    									Howdy, [THIS WAS THE USERNAME]
    								</p>
    								<div id="user_info_arrow">
    								</div>
    								<div id="user_info_links_wrap">
    									<div id="user_info_links">
    										<ul>
    											<li>
    												<a href="profile.php" title="Edit your profile">
    													Your Profile</a>
    											</li>
    											<li>
    												<a href="http://www.[THIS_WAS_THE_URL].com/wp-login.php?action=logout&_wpnonce=efbae75ad5" title="Log Out">
    													Log Out</a>
    											</li>
    										</ul>
    									</div>
    								</div>
    							</div>
    						</div>
    					</div>
    				</div>
    				<div id="wpbody">
    					<div id="wpbody-content">
    						<div id="screen-meta">
    							<div id="screen-options-wrap" class="hidden">
    								<form id="adv-settings" action="" method="post">
    									<h5>
    										Show on screen
    									</h5>
    									<div class="metabox-prefs">
    										<label for="author-hide">
    											<input class="hide-column-tog" name="author-hide" type="checkbox" id="author-hide" value="author" checked='checked' />
    											Author
    										</label>
    										<label for="categories-hide">
    											<input class="hide-column-tog" name="categories-hide" type="checkbox" id="categories-hide" value="categories" checked='checked' />
    											Categories
    										</label>
    										<label for="tags-hide">
    											<input class="hide-column-tog" name="tags-hide" type="checkbox" id="tags-hide" value="tags" checked='checked' />
    											Tags
    										</label>
    										<label for="comments-hide">
    											<input class="hide-column-tog" name="comments-hide" type="checkbox" id="comments-hide" value="comments" checked='checked' />
    											Comments
    										</label>
    										<label for="date-hide">
    											<input class="hide-column-tog" name="date-hide" type="checkbox" id="date-hide" value="date" checked='checked' />
    											Date
    										</label>
    										<br class="clear" />
    									</div>
    									<h5>
    										Show on screen
    									</h5>
    									<div class='screen-options'>
    										<input type='text' class='screen-per-page' name='wp_screen_options[value]' id='edit_post_per_page' maxlength='3' value='20' />
    										<label for='edit_post_per_page'>
    											Posts
    										</label>
    										<input type="submit" name="screen-options-apply" id="screen-options-apply" class="button" value="Apply" />
    										<input type='hidden' name='wp_screen_options[option]' value='edit_post_per_page' />
    									</div>
    									<div>
    										<input type="hidden" id="screenoptionnonce" name="screenoptionnonce" value="fcffc91fa7" />
    									</div>
    								</form>
    							</div>

    The issue is resolved either I deactivate FB Comments for WP or I deactivate page caching on W3Total Cache.

    The error log does not show anything special.
    I also reinstalled the plugins as well as my WP installation.

    Any idea? Someone?

    cheers

    http://wordpress.org/extend/plugins/facebook-comments-for-wordpress/

  2. benatkin
    Member
    Posted 3 years ago #

    This looks really bad on my WP Dashboard. The code is breaking the layout. (Sorry, not interested in the content. Just reporting this issue.)

  3. Frederick Townes
    Member
    Posted 3 years ago #

    When the other plugin is disabled the issue goes away? Deactivating W3TC also resolves the issue?

  4. teamliquidlogic
    Member
    Posted 3 years ago #

    Yes you are right! It is not necessary to deactivate W3TC completely, but it is enough to deactivate the Page Cache....the most important part of W3TC :-)

    Isn't it weird?

    cheers

  5. Frederick Townes
    Member
    Posted 3 years ago #

    You can explore using rejected cookies to get things sorted.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic