14.09.2012, 22:35 | #1 |
Новичок
Регистрация: 16.09.2011
Сообщений: 11
Вес репутации: 0
|
Error
Сайт: http://techava.ru/ Выдает Eror, пишет: ссылка не найдена на странице или размещена вне тегов «body» или «html»
И отображается как-то странно, помогите, вот index.php <?php if (!defined('_SAPE_USER')){ define('_SAPE_USER', '0f703a90eadab527f8b6cea167b089fa'); } require_once($_SERVER['DOCUMENT_ROOT'].'/'._SAPE_USER.'/sape.php'); $sape = new SAPE_client(); ?> <?php /** * The main template file. * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when no home.php file exists. * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package WordPress * @subpackage Twenty_Eleven */ get_header(); ?> <div id="primary"> <div id="content" role="main"> <?php if ( have_posts() ) : ?> <?php twentyeleven_content_nav( 'nav-above' ); ?> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> <?php endwhile; ?> <?php twentyeleven_content_nav( 'nav-below' ); ?> <?php else : ?> <article id="post-0" class="post no-results not-found"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Ничего не найдено', 'twentyeleven' ); ?></h1> </header><!-- .entry-header --> <div class="entry-content"> <p><?php _e( 'Извините, но мы ничего не нашли. Вы можете попробовать уточнить ваш запрос.', 'twentyeleven' ); ?></p> <?php get_search_form(); ?> </div><!-- .entry-content --> </article><!-- #post-0 --> <?php endif; ?> </div><!-- #content --> </div><!-- #primary --> <?php get_sidebar(); ?> <? echo $sape->return_links(2); ?> <?php get_footer(); ?> А вот Footer.php: <?php if (!defined('_SAPE_USER')){ define('_SAPE_USER', '0f703a90eadab527f8b6cea167b089fa'); } require_once($_SERVER['DOCUMENT_ROOT'].'/'._SAPE_USER.'/sape.php'); $sape = new SAPE_client(); ?> <?php /** * The template for displaying the footer. * * Contains the closing of the id=main div and all content after * * @package WordPress * @subpackage Twenty_Eleven * @since Twenty Eleven 1.0 */ ?> </div><!-- #main --> <footer id="colophon" role="contentinfo"> <?php /* A sidebar in the footer? Yep. You can can customize * your footer with three columns of widgets. */ if ( ! is_404() ) get_sidebar( 'footer' ); ?> <div id="site-generator"> <?php do_action( 'twentyeleven_credits' ); ?> <? echo $sape->return_links(1); ?> <? echo $sape->return_links(2); ?> <? echo $sape->return_links(); ?> </div> </footer><!-- #colophon --> </div><!-- #page --> <?php echo growlinks_output_links(); ?> <?php wp_footer(); ?> </body> </html> |
14.09.2012, 23:43 | #2 |
Добрый модератор
Регистрация: 09.07.2007
Адрес: глобус Украины
Сообщений: 27,600
Вес репутации: 1025
|
__________________
Правильный хостинг. В личке бесплатно не отвечаю обычно. |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Ошибка связи с сервером: Error in cURL request: The requested URL returned error: 500 | DjYarik | Ошибки при работе с системой | 35 | 06.08.2013 15:11 |
Ошибка связи с сервером: Error in cURL request: The requested URL returned error: 404 | AIRZI | Ошибки при работе с системой | 18 | 13.11.2011 19:13 |
Ошибка FULLTEXT ERROR: query failed: send() error: Connection refused | Intergalactick | Ошибки при работе с системой | 30 | 16.03.2009 18:37 |
FULLTEXT ERROR: query failed: send() error: Connection refused | spensor | Вопросы по работе системы | 3 | 11.03.2009 17:15 |
Часовой пояс GMT +3, время: 01:57.