Ответов: 6 Просмотров: 4669
|
В чем может быть ошибка выводит Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/u0044573/data/www/eurotel24.ru/index.php:1) in /var/www/u0044573/data/www/eurot el24.ru/index.php on line 2
PHP:
скопировать код в буфер обмена
<?PHP include("include/auth_cookie.php"); include("include/db_connect.php"); include("functions/functions.php"); $sorting = $_GET["sort"]; switch ($sorting) { case 'price-asc'; $sorting = 'price ASC'; $sort_name = 'От дешевых к дорогим'; break; case 'price-desc'; $sorting = 'price DESC'; $sort_name = 'От дорогих к дешевым'; break; case 'popular'; $sorting = 'count DESC'; $sort_name = 'Популярное'; break; case 'news'; $sorting = 'datetime DESC'; $sort_name = 'Новинки'; break; case 'brand'; $sorting = 'brand'; $sort_name = 'Новинки'; break; default: $sorting = 'products_id DESC'; $sort_name = 'Нет сортировки'; break; } ?>
(Добавление)
а если точнее 2 ошибки одинаковые |