ivan_antrakt

Ошибка!

Здравствуйте!
Проблема такая.
При входе в админку или на сайт в сверху вылезает следующее:

Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /www_host/hosts/shey.sk6.ru/wp-content/plugins/quick-shop/quickshop.php:1) in /www_host/hosts/shey.sk6.ru/wp-content/plugins/quick-shop/quickshop.php on line 19

Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /www_host/hosts/shey.sk6.ru/wp-content/plugins/quick-shop/quickshop.php:1) in /www_host/hosts/shey.sk6.ru/wp-content/plugins/quick-shop/quickshop.php on line 19

В файле quickshop.php на 19 строке: "session_start();".

В чем может быть дело и как это можно исправить?
адрес сайта: http://shey.sk6.ru
WP 2.6.2.
Заранее спасибо.

Проблема с меню.

Здравствуйте!
У меня такая проблема: меню отображает только ссылку Home-страницы и одной из остальных (с бОльшим номером, т.е. последнюю). Все страницы опубликованы. Другие темы отображают все правильно. Глюк только в этой.

Вот код Шапки:

<!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" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>" />

<title><?php bloginfo(‘name’); ?><?php wp_title(); ?></title>

<style type="text/css" media="screen">
@import url( <?php bloginfo(‘stylesheet_url’); ?> );
</style>

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo(‘rss2_url’); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo(‘rss_url’); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php bloginfo(‘atom_url’); ?>" />

<link rel="pingback" href="<?php bloginfo(‘pingback_url’); ?>" />
<?php wp_get_archives(‘type=monthly&format=link’); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>

</head>

<body>
<div class="search">
<div class="menu_search">
<?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
</div>
<div class="clear"></div>
</div>
<div id="header"><div class="himg">
<h1><a href="<?php bloginfo(‘url’); ?>/" target="_self"><?php bloginfo(‘name’); ?></a></h1>
<h4><?php bloginfo(‘description’); ?></h4>
</div></div>

<div id="menu">
<div class="menu_items">
<ul>
<li><a href="<?php echo get_settings(‘home’); ?>/" title="Home">Главная</a></li>

<?php wp_list_pages(‘title_li=’);?>
</ul>
</div>

<div class="clear"></div>
</div>

<!– end header –>

В чем загвоздка?

Anonymous
Отправить
Ответ на: