![]()  | 
		
Задавайте вопросы, мы ответим
Вы не зашли.
Страниц: 1
Здраствуйте!
Установила новую тему, а внизу появилось, как можно зайти на сайт???:
Parse error: syntax error, unexpected $end in /home/u952350555/public_html/wp-content/themes/mr-and-mrs-right/functions.php on line 365
Как можно устранить эту ошибку??? помогите, пожалуйста!
Код из папки index.php
<?php get_header(); ?>
<div id="maintop">
<div id="maintopimg"></div>
</div><!--end maintop-->
<div id="wrapper">
<div id="content">
    <div id="main-blog">
    <?php if (have_posts()) : ?>
        <?php while (have_posts()) : the_post(); ?>
                    <div class="clear"> </div>
            
    
            <div class="post" id="post-<?php the_ID(); ?>">
            <div class="post-comments">
                        <?php comments_popup_link(__('0'), __('1'), __('%'), '',__('-')); ?>
                        </div>
                <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
                <div class="postdata">
Posted by <?php the_author() ?> on <?php the_time('M j, Y') ?> in <?php the_category(', ') ?> <?php edit_post_link('Edit', '| ', ''); ?>
                    </div>
                
                    <?php the_content('Read more... '); ?>
                <p class="single-meta" style="float:right; margin-top:5px; margin-right:10px; font-size:11px; "> <?php the_tags(); ?></p>
                
            </div>
        <?php endwhile; ?>
        <div id="nav-global" class="navigation">
        <div class="nav-previous">
        <?php 
            next_posts_link('« Previous entries');
            echo ' ';
            previous_posts_link('Next entries »');
        ?>
        
        </div>
        </div>
        
    <?php else : ?>
        <h2 class="center">Not Found</h2>
        <p class="center">Sorry, but you are looking for something that isn't here.</p>
        <?php include (TEMPLATEPATH . "/searchform.php"); ?>
    <?php endif; ?>
            
    
        
    
    </div><!--end main blog-->
<?php get_sidebar(); ?>
<div class="clear"></div>
</div><!--end content-->
</div><!--end wrapper-->
<?php get_footer();?>
Код из папки  footer.php
<div id="bottom">
<p style="padding-top:110px; clear:both;">Copyright © <?php echo date("Y"); ?>  <strong><?php bloginfo('name'); ?></strong> All rights reserved. Theme by <a style="text-decoration:none; color: #635537;" href="http://www.geekwithlaptop.com" title="Geek with Laptop">Laptop Geek</a>.</p>
</div>
</div>
</body>
</html>
Что нужно  исправить, чтобы войти? 
Буду очень признательна за помощь))
Неактивен
Здравствуйте. Этот вопрос не имеет отношения к MySQL, с такого рода вопросами лучше сходить на какой-либо форум по php, например в соотв. раздел на webew.ru
Та ошибка, которую Вы привели 
Parse error: syntax error, unexpected $end in /home/u952350555/public_html/wp-content/themes/mr-and-mrs-right/functions.php on line 365
Она расположена в файле functions.php Если Вы прикрепите этот файл functions.php к сообщению, то может быть можно будет что-то сказать.
P. S. На чем сделан сайт, на какой CMS?
Неактивен
Здравствуйте.
сайт на Вордпресс.
даю functions.php:
<?php
if ( function_exists('register_sidebar') )
    register_sidebars(2,array(
        'before_widget' => '<div class="widget">',
        'after_widget' => '</div><!--/widget-->',
        'before_title' => '<h2 class="hl">',
        'after_title' => '</h2>',
    ));
    
    function show_avatar($comment, $size)
    {                
     $email=strtolower(trim($comment->comment_author_email));
     $rating = "G"; // [G | PG | R | X]
     
     if (function_exists('get_avatar')) {
      echo get_avatar($email, $size);
   } else {
      
      $grav_url = "http://www.gravatar.com/avatar.php?gravatar_id=
         " . md5($emaill) . "&size=" . $size."&rating=".$rating;
      echo "<img src='$grav_url'/>";
   }        
    }
    ?>
Неактивен
Вы точно тот файл привели? Сказано, что ошибка на строке 365, а тут и сотни не наберется. В-общем, сходите на сайт вордпресса, скорее там подскажут.
Неактивен
ок.
Неактивен
Страниц: 1