Здравствуйте. Помогите найти ошибку в коде. В PHP не разбираюсь
Warning: Cannot modify header information - headers already sent by (output started at S:\home\localhost\www\localblog\index.php:2) in S:\home\localhost\www\localblog\wp-includes\pluggable.php on line 895
Reveal hidden contents
index.php
<title>http://localhost/localblog</title><?php/** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress *//** * Tells WordPress to load the WordPress theme and output it. * * @var bool */define('WP_USE_THEMES',true);/** Loads the WordPress Environment and Template */require( dirname( __FILE__ ).'/wp-blog-header.php');?>
pluggable.php
if(! $location )returnfalse; $location = wp_sanitize_redirect($location);if(!$is_IIS && php_sapi_name()!='cgi-fcgi') status_header($status);// This causes problems on IIS and some FastCGI setups /*895 строчка*/header("Location: $location", true, $status); return true;
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
Omega24v
Здравствуйте. Помогите найти ошибку в коде. В PHP не разбираюсь
Warning: Cannot modify header information - headers already sent by (output started at S:\home\localhost\www\localblog\index.php:2) in S:\home\localhost\www\localblog\wp-includes\pluggable.php on line 895
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.