Problems with site
-
I have some problems with my website: https://www.wpmaker.dk/
First, it shows the lots of questions up in the top. And secondly, I can not login via / wp-admin. See here: https://www.wpmaker.dk/wp-admin (can log in via: https://www.wpmaker.dk/wp-login.php).
Is there anyone who can help me?
Best regards,
Jonathan Lindahl
-
Looks like the ?’s are being generated in your head doc. Open the header.php in a text editor and see if you see the ?’s there. If you dont see them then its being generated by a snippet of code in your head or from a plugin via the wp-head item and we will need to see the header.php to get a better idea. Then we can see whats up with the login issue.
if you have any plugins in your site, try ftp’ing up to your server and head to the widgets folder, make a folder called “old” and drag all of the widget folders there so that wordpress is not picking them up and then see if the question marks go away and you can log in.Also, it looks like it could be coming from pluggable.php. Need to see if the question marks can be fixed first then we see if the pluggables is really an issue or not.
Then we can get down to troubleshooting this for you. Let me know how it goes.Hi James,
Thank you for your answer.
I can not see any “?” in my header.php. You can see it here:
<?php /** * The Header for our theme. * * Displays all of the <head> section and everything up till <div id="main"> * * @package WordPress * */ ?> <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <title> <?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; wp_title( '|', true, 'right' ); // Add the blog name. bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description"; // Add a page number if necessary: if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s', 'themia' ), max( $paged, $page ) ); ?> </title> <?php if(is_front_page()){?> <?php if(get_option('inkthemes_keyword')!=''){ ?> <meta name="keywords" content="<?php echo stripslashes(get_option('inkthemes_keyword')); ?>" /> <?php } else{}?> <?php if(get_option('inkthemes_description')!=''){ ?> <meta name="description" content="<?php echo stripslashes(get_option('inkthemes_description')); ?>" /> <?php } else{}?> <?php if(get_option('inkthemes_author')!=''){ ?> <meta name="author" content="<?php echo stripslashes(get_option('inkthemes_author')); ?>" /> <?php } else{}?> <?php }?> <link rel="profile" href="https://gmpg.org/xfn/11" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> <script src="https://cufon.shoqolate.com/js/cufon-yui.js" type="text/javascript"></script> <?php /* We add some JavaScript to pages with the comment form * to support sites with threaded comments (when in use). */ if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> <script type="text/javascript"> jQuery(function() { jQuery('a.zoombox').zoombox(); }); </script> <script type="text/javascript"> Cufon.replace('h1, h2, h3, h4, h5, h6', { fontFamily: 'Droid Sans', hover: true }); </script> <!--[if gte IE 9]> <script type="text/javascript"> Cufon.set('engine', 'canvas'); </script> <![endif]--> </head> <body <?php body_class(); ?> style="<?php if ( get_option('inkthemes_bodybg') !='' ) {?>background:url(<?php echo get_option('inkthemes_bodybg'); ?>)<?php } else { } ?>" > <!--Start Container--> <div class="container_24"> <div class="grid_24"> <div class="social_top"> <ul class="logos"> <?php if (get_option('inkthemes_facebook') != '') { ?> <li><a>"><img src="<?php bloginfo('template_url'); ?>/images/facebook.png" alt="facebook" title="Share on Facebook"/></a></li> <?php } else {} ?> <?php if (get_option('inkthemes_rss') != '') { ?> <li><a>"><img src="<?php bloginfo('template_url'); ?>/images/rss.png" alt="rss" title="Feed on rss"/></a></li> <?php } else {} ?> <?php if (get_option('inkthemes_twitter') != '') { ?> <li><a>"><img src="<?php bloginfo('template_url'); ?>/images/twitter.png" alt="twitter" title="Twit this"/></a></li> <?php } else {} ?> </div> </div> <!--Start Header Wrapper--> <div class="grid_24 header_wrapper"> <!--Start Header--> <div class="header"> <div class="grid_6 alpha"> <div class="logo"> <a>"><img src="<?php if ( get_option('inkthemes_logo') !='' ) {?><?php echo get_option('inkthemes_logo'); ?><?php } else {?><?php bloginfo('template_url'); ?>/images/logo.png<?php }?>" alt="<?php bloginfo('name'); ?>" /></a></div> </div> <div class="grid_18 omega"> <!--Start Menu wrapper--> <div class="menu_wrapper"> <!--Start menu-div--> <?php inkthemes_nav(); ?> <!--End menu-div--> </div> <!--End Menu wrapper--> </div> <div class="clear"></div> </div> <!--End Header--> </div> <!--End Header Wrapper--> <div class="clear"></div>
[Please post code or markup snippets between backticks or use the code button. Or better still – use a pastebin. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]
Okay. I am not home right now, so I cannot do it right now. But I will try it whem come home.
And thank you for your help.
I took a quick look at your code and didnt notice anything there. So, first i would try an experiment. I wonder if this is screwing with your head doc
<?php /** * The Header for our theme. * * Displays all of the <head> section and everything up till <div id="main"> * * @package WordPress * */ ?>
so try removing that first then see what happens, (be sure to copy and paste it somewhere safe until you know how its going to act. If that fixes it great, otherwise the ?’s are coming from something that is being injected to your head just before the body tag. Maybe from one of your themes template files or from one of the scripts. I only say that because it looks likes you have some open ended code somewhere but I don’t readily see it in your pasted code. So, next experiment, remove blocks of your script parts up there one by one (be sure to copy and paste them and remember how they go back in, lol ) And when you find the offending script, the ?’s will disappear and help you track down the offending code snippet, js script piece or plugin. I hope this helps you, I have actually run down many problem items this very way.
Oh yes, one more item, I see that you wrote your body class and I assume its an option in an admin panel your creating and the body class is wrote like this up there, so try one more experiment and change this …
<body <?php body_class(); ?> style="<?php if ( get_option('inkthemes_bodybg') !='' ) {?>background:url(<?php echo get_option('inkthemes_bodybg'); ?>)<?php } else { } ?>" >
to this
<body <?php body_class(); ?>>
just to see if this piece is the offender.
- The topic ‘Problems with site’ is closed to new replies.