PREMIUMIHA 5 ارسال شده در مهر 92 گزارش بازنشر ارسال شده در مهر 92 (ویرایش شده) سلام. وقتی صفحه ورود به مدیریت رو میارم این اخطار بالای اون نوشته شده:Warning: Cannot modify header information - headers already sent by (output started at /home3/premiumi/public_html/wp-content/themes/eBlog/functions.php:1) in /home3/premiumi/public_html/wp-login.php on line 384Warning: Cannot modify header information - headers already sent by (output started at /home3/premiumi/public_html/wp-content/themes/eBlog/functions.php:1) in /home3/premiumi/public_html/wp-login.php on line 396و در این دو لاین به ترتیب این کدها وجود دارند:header('Content-Type: '.get_bloginfo('html_type').'; charset='.get_bloginfo('charset'));setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);بعد هنگام زدن دکمه ورود این اخطار میاد:Warning: Cannot modify header information - headers already sent by (output started at /home3/premiumi/public_html/wp-content/themes/eBlog/functions.php:1) in /home3/premiumi/public_html/wp-login.php on line 384Warning: Cannot modify header information - headers already sent by (output started at /home3/premiumi/public_html/wp-content/themes/eBlog/functions.php:1) in /home3/premiumi/public_html/wp-login.php on line 396Warning: Cannot modify header information - headers already sent by (output started at /home3/premiumi/public_html/wp-content/themes/eBlog/functions.php:1) in /home3/premiumi/public_html/wp-includes/pluggable.php on line 678Warning: Cannot modify header information - headers already sent by (output started at /home3/premiumi/public_html/wp-content/themes/eBlog/functions.php:1) in /home3/premiumi/public_html/wp-includes/pluggable.php on line 679Warning: Cannot modify header information - headers already sent by (output started at /home3/premiumi/public_html/wp-content/themes/eBlog/functions.php:1) in /home3/premiumi/public_html/wp-includes/pluggable.php on line 680Warning: Cannot modify header information - headers already sent by (output started at /home3/premiumi/public_html/wp-content/themes/eBlog/functions.php:1) in /home3/premiumi/public_html/wp-includes/pluggable.php on line 875در این لاین ها نیز به ترتیب این کدها وجود دارند:header('Content-Type: '.get_bloginfo('html_type').'; charset='.get_bloginfo('charset'));setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);setcookie($auth_cookie_name, $auth_cookie, $expire, PLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure, true);setcookie($auth_cookie_name, $auth_cookie, $expire, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, $secure, true);setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, COOKIEPATH, COOKIE_DOMAIN, $secure_logged_in_cookie, true);header("Location: $location", true, $status);و داخلم نمیره!ممنون میشم کمکم کنید. درضمن یه مدت بود که هنگام save کردن تنظیمات تو پنلم اخطار pluggable میومد و با رفرش صفحه درس میشد. اما دیروز که افزونه wordpress seo by yoast رو نصب کردم دیگه اینجور شد و دیگه داخل نرفت! اینم فایل functions.php :functions.php ویرایش شده مهر 92 توسط yas_wp لینک به ارسال
Morteza 34190 ارسال شده در مهر 92 گزارش بازنشر ارسال شده در مهر 92 Cannot modify header information رو در انجمن جستجو کنید لینک به ارسال
پست های پیشنهاد شده