رفتن به مطلب

سفید شدن صفحه مدیریت بعد از هر بروزرسانی


پست های پیشنهاد شده

سلام من قالبی طراحی کردم و روی وردپرس بالا آوردم وقتی نصب میکنم و مثلا در قسمت ویرایشگر چیزی رو تغییر می دم و بروزرسانی میزنم صفحه سفید میشه ولی بعد از یه بار رفرش کردن دوباره درست میشه

مشکل از چیه؟!

فضای خالی و <? اینا رو بررسی کردم

لینک به ارسال


[24-Jan-2015 16:20:11 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/persianh/public_html/test/wordpress/wp-content/themes/cheatha/functions.php:1) in /home/persianh/public_html/test/wordpress/wp-includes/comment.php on line 1026
[24-Jan-2015 16:20:11 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/persianh/public_html/test/wordpress/wp-content/themes/cheatha/functions.php:1) in /home/persianh/public_html/test/wordpress/wp-includes/comment.php on line 1027
[24-Jan-2015 16:20:11 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/persianh/public_html/test/wordpress/wp-content/themes/cheatha/functions.php:1) in /home/persianh/public_html/test/wordpress/wp-includes/comment.php on line 1028
[24-Jan-2015 16:20:11 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/persianh/public_html/test/wordpress/wp-content/themes/cheatha/functions.php:1) in /home/persianh/public_html/test/wordpress/wp-includes/pluggable.php on line 1178
[24-Jan-2015 16:27:15 UTC] PHP Fatal error: Out of memory (allocated 21495808) (tried to allocate 122880 bytes) in /home/persianh/public_html/test/wordpress/wp-includes/pluggable.php on line 328
[24-Jan-2015 16:27:15 UTC] PHP Fatal error: Out of memory (allocated 24379392) (tried to allocate 128 bytes) in /home/persianh/public_html/test/wordpress/wp-includes/pomo/mo.php on line 238
[24-Jan-2015 16:27:15 UTC] PHP Fatal error: Out of memory (allocated 24903680) (tried to allocate 109 bytes) in /home/persianh/public_html/test/wordpress/wp-includes/pomo/mo.php on line 246
[24-Jan-2015 16:27:15 UTC] PHP Fatal error: Out of memory (allocated 24117248) (tried to allocate 85 bytes) in /home/persianh/public_html/test/wordpress/wp-includes/pomo/mo.php on line 221
[24-Jan-2015 16:27:15 UTC] PHP Fatal error: Out of memory (allocated 24903680) (tried to allocate 109 bytes) in /home/persianh/public_html/test/wordpress/wp-includes/pomo/mo.php on line 246
[24-Jan-2015 16:27:15 UTC] PHP Fatal error: Out of memory (allocated 18350080) (tried to allocate 122880 bytes) in /home/persianh/public_html/test/wordpress/wp-includes/media.php on line 1646
[24-Jan-2015 16:27:15 UTC] PHP Fatal error: Out of memory (allocated 18612224) (tried to allocate 122880 bytes) in /home/persianh/public_html/test/wordpress/wp-includes/media.php on line 2903

اینم فایل فانکشن


<?php
add_theme_support('post-thumbnails');
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'right-sidebar',
'description' => 'ناحيه قرار گيری ابزارک های شما',
'before_widget' => '<section class="r-side"><div>',
'after_widget' => '</div></section>',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'left-sidebar',
'description' => 'ناحيه قرار گيری ابزارک های شما',
'before_widget' => '<section class="l-side"><div>',
'after_widget' => '</div></section>',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'footer',
'description' => 'ناحيه قرار گيری ابزارک های شما',
'before_widget' => '<section class="b-widget"><div>',
'after_widget' => '</div></section>',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
function register_my_menus() {
register_nav_menus(
array(
'top-menu' => __( 'منوی بالا' )
)
);
}
add_action( 'init', 'register_my_menus' );
function set_post_views( $postID )
{
$count_key = 'post_views_count';
$count = get_post_meta($postID, $count_key, true);
if($count==''){
$count = 0;
delete_post_meta( $postID, $count_key );
add_post_meta( $postID, $count_key, '0' );
} else {
$count++;
update_post_meta( $postID, $count_key, $count );
}
}
function get_post_views( $postID )
{
$count_key = 'post_views_count';
$count = get_post_meta( $postID, $count_key, true );
if($count=='') {
delete_post_meta( $postID, $count_key );
add_post_meta( $postID, $count_key, '0' );
return "0 بازدید";
}
return $count.' بازدید';
}
?>

لینک به ارسال

موقع ورود به ادمین این پیام رو میده


Warning: Cannot modify header information - headers already sent by (output started at /home/cheathac/public_html/wp-content/themes/cheathaa/functions.php:1) in /home/cheathac/public_html/wp-includes/pluggable.php on line 1178

لینک به ارسال

داداش خیلی اسپم میدی!

http://forum.wp-parsi.com/tutorials/article/254-%D8%B1%D9%81%D8%B9-%D9%85%D8%B4%DA%A9%D9%84-cannot-modify-header-information/

یه سرچ ساده می زدی داخل انجمن به جواب میرسیدی

لینک به ارسال
  • 1 سال بعد...
در در 1/25/2015 at 23:12، SM-Mahdavi گفته است :

داداش خیلی اسپم میدی!

http://forum.wp-parsi.com/tutorials/article/254-%D8%B1%D9%81%D8%B9-%D9%85%D8%B4%DA%A9%D9%84-cannot-modify-header-information/

یه سرچ ساده می زدی داخل انجمن به جواب میرسیدی

الان به این لینک نیاز دارم و کار نمی کنه چ کنم ؟

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...