رفتن به مطلب

مشکل سفید شدن صفحه


PRGAME

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

سلام.

من وقتی مطلبی میزنم یا افزونه فعال میکنم و یا ... هر کاری میکنم صفحه سفید میشه .

یه سرچ تو انجمن کردم بعد یه چیزی فهمیدم.

فکر کنم از فایل فاکشنم باشه.

این کد های فایل فاکشنم هست.اگر کد اضافه ای داره برام اصلاح کنید لطفا:

<?php

register_sidebar(array(

'name' => 'bl1',

'before_widget' => '<div class="block1">',

'before_title' => '<div class="blockhead"><div class="bhe">',

'after_title' => '</div></div><div class="mb">',

'after_widget' => '</div></div>',

));

?>

<?php

register_sidebar(array(

'name' => 'bl2',

'before_widget' => '<div class="block2">',

'before_title' => '<div class="blockhead"><div class="bhe">',

'after_title' => '</div></div><div class="mb">',

'after_widget' => '</div></div>',

));

?>

<?php

function comment_loop_cd( $comment, $args, $depth ) {

$GLOBALS['comment'] = $comment;

switch ( $comment->comment_type ) :

case 'pingback' :

case 'trackback' :

?>

<li class="post pingback">

<p>بازتاب: <?php comment_author_link(); ?><?php edit_comment_link( 'ویرایش', '<span class="edit-link">', '</span>' ); ?></p>

<?php

break;

default :

?>

<li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">

<article id="comment-<?php comment_ID(); ?>" class="comment">

<footer class="comment-meta">

</article><div class="fooc">

<div class="namec">

<?php /* translators: 1: comment author, 2: date and time */

printf( '%1$s %2$s ',

sprintf( '<span class="fn">%s می گه :</span>', get_comment_author_link() ),

sprintf( '',

esc_url( get_comment_link( $comment->comment_ID ) ),

get_comment_time( 'c' ),

/* translators: 1: date, 2: time */

sprintf( '%1$s ، %2$s', get_comment_date(""), get_comment_time() )

)

);

?>

</div>

<div class="reply">

<?php comment_reply_link( array_merge( $args, array( 'reply_text' => 'پاسخ <span>↓</span>', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>

</div>

</div>

<div class="comment-author vcard">

<?php

$avatar_size = 45;

if ( '0' != $comment->comment_parent )

$avatar_size = 39;

echo get_avatar( $comment, $avatar_size );

?>

<?php edit_comment_link( '(ویرایش)', '<span class="edit-link">', '</span>' ); ?>

</div><!-- .comment-author .vcard -->

<?php if ( $comment->comment_approved == '0' ) : ?>

<em class="comment-awaiting-moderation">نظر شما بعد از تائید نمایش داده میشود.</em>

<br />

<?php endif; ?>

</footer>

<div class="comment-content"><?php comment_text(); ?></div>

<!-- .reply -->

<!-- #comment-## -->

<div class="comfor">

<?php

break;

endswitch;

}

function comment_form_cd( $args = array(), $post_id = null ) {

global $id;

if ( null === $post_id )

$post_id = $id;

else

$id = $post_id;

$commenter = wp_get_current_commenter();

$user = wp_get_current_user();

$user_identity = ! empty( $user->ID ) ? $user->display_name : '';

$req = get_option( 'require_name_email' );

$aria_req = ( $req ? " aria-required='true'" : '' );

$fields = array(

'author' => '<p class="comment-form-author">' .'<div class="ss">نام:</div>'. '<label for="author">' . ( $req ? '' : '' ) .' </label><input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p><br>',

'email' => '<p class="comment-form-email"><label for="email">' . ( $req ? '' : '' ) .' <p><div class="ss">ایمیل :</div></p> </label><input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>',

'url' => '<p class="comment-form-url"><label for="url"><br><div class="ss">وب سایت</div></label>' .

'<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>',

);

$required_text = sprintf( ' ' . __('Required fields are marked %s'), '<span class="required">*</span>' );

$defaults = array(

'fields' => apply_filters( 'comment_form_default_fields', $fields ),

'comment_field' => '<br><p class="comment-form-comment"><br><label style=" float: right;" for="comment">دیدگاه: </label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',

'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',

'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',

'comment_notes_before' => '',

'comment_notes_after' => '',

'id_form' => 'commentform',

'id_submit' => 'submit',

'title_reply' => __( 'Leave a Reply' ),

'title_reply_to' => __( 'Leave a Reply to %s' ),

'cancel_reply_link' => __( 'Cancel reply' ),

'label_submit' => 'ارسال دیدگاه',

);

//'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>',

$args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) );

?>

<?php if ( comments_open() ) : ?>

<?php do_action( 'comment_form_before' ); ?>

<div id="respond">

<h3 id="reply-title"><?php comment_form_title( $args['title_reply'], $args['title_reply_to'] ); ?> <small><?php cancel_comment_reply_link( $args['cancel_reply_link'] ); ?></small></h3>

<?php if ( get_option( 'comment_registration' ) && !is_user_logged_in() ) : ?>

<?php echo $args['must_log_in']; ?>

<?php do_action( 'comment_form_must_log_in_after' ); ?>

<?php else : ?>

<form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>">

<?php do_action( 'comment_form_top' ); ?>

<?php if ( is_user_logged_in() ) : ?>

<?php echo apply_filters( 'comment_form_logged_in', $args['logged_in_as'], $commenter, $user_identity ); ?>

<?php do_action( 'comment_form_logged_in_after', $commenter, $user_identity ); ?>

<?php else : ?>

<?php echo $args['comment_notes_before']; ?>

<?php

do_action( 'comment_form_before_fields' );

foreach ( (array) $args['fields'] as $name => $field ) {

echo apply_filters( "comment_form_field_{$name}", $field ) . "\n";

}

do_action( 'comment_form_after_fields' );

?>

<?php endif; ?>

<?php echo apply_filters( 'comment_form_field_comment', $args['comment_field'] ); ?>

<?php echo $args['comment_notes_after']; ?>

<p class="form-submit">

<input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />

<?php comment_id_fields( $post_id ); ?>

</p>

<?php do_action( 'comment_form', $post_id ); ?>

</form>

<?php endif; ?>

</div><!-- #respond -->

<?php do_action( 'comment_form_after' ); ?>

<?php else : ?>

<?php do_action( 'comment_form_comments_closed' ); ?>

<?php endif; ?>

<?php

}

?></div>

وقتی قالب رو عوض میکنم این مشکل وجود نداره

ویرایش شده توسط Morteza
لینک به ارسال

این کد رو تست کنید:

<?php

register_sidebar(array(

'name' => 'bl1',

'before_widget' => '<div class="block1">',

'before_title' => '<div class="blockhead"><div class="bhe">',

'after_title' => '</div></div><div class="mb">',

'after_widget' => '</div></div>',

));

register_sidebar(array(

'name' => 'bl2',

'before_widget' => '<div class="block2">',

'before_title' => '<div class="blockhead"><div class="bhe">',

'after_title' => '</div></div><div class="mb">',

'after_widget' => '</div></div>',

));

function comment_loop_cd( $comment, $args, $depth ) {

$GLOBALS['comment'] = $comment;

switch ( $comment->comment_type ) :

case 'pingback' :

case 'trackback' :

?>

<li class="post pingback">

<p>بازتاب: <?php comment_author_link(); ?><?php edit_comment_link( 'ویرایش', '<span class="edit-link">', '</span>' ); ?></p>

<?php

break;

default :

?>

<li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">

<article id="comment-<?php comment_ID(); ?>" class="comment">

<footer class="comment-meta">

</article><div class="fooc">

<div class="namec">

<?php /* translators: 1: comment author, 2: date and time */

printf( '%1$s %2$s ',

sprintf( '<span class="fn">%s می گه :</span>', get_comment_author_link() ),

sprintf( '',

esc_url( get_comment_link( $comment->comment_ID ) ),

get_comment_time( 'c' ),

/* translators: 1: date, 2: time */

sprintf( '%1$s ، %2$s', get_comment_date(""), get_comment_time() )

)

);

?>

</div>

<div class="reply">

<?php comment_reply_link( array_merge( $args, array( 'reply_text' => 'پاسخ <span>↓</span>', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>

</div>

</div>

<div class="comment-author vcard">

<?php

$avatar_size = 45;

if ( '0' != $comment->comment_parent )

$avatar_size = 39;

echo get_avatar( $comment, $avatar_size );

?>

<?php edit_comment_link( '(ویرایش)', '<span class="edit-link">', '</span>' ); ?>

</div><!-- .comment-author .vcard -->

<?php if ( $comment->comment_approved == '0' ) : ?>

<em class="comment-awaiting-moderation">نظر شما بعد از تائید نمایش داده میشود.</em>

<br />

<?php endif; ?>

</footer>

<div class="comment-content"><?php comment_text(); ?></div>

<!-- .reply -->

<!-- #comment-## -->

<div class="comfor">

<?php

break;

endswitch;

}

function comment_form_cd( $args = array(), $post_id = null ) {

global $id;

if ( null === $post_id )

$post_id = $id;

else

$id = $post_id;

$commenter = wp_get_current_commenter();

$user = wp_get_current_user();

$user_identity = ! empty( $user->ID ) ? $user->display_name : '';

$req = get_option( 'require_name_email' );

$aria_req = ( $req ? " aria-required='true'" : '' );

$fields = array(

'author' => '<p class="comment-form-author">' .'<div class="ss">نام:</div>'. '<label for="author">' . ( $req ? '' : '' ) .' </label><input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p><br>',

'email' => '<p class="comment-form-email"><label for="email">' . ( $req ? '' : '' ) .' <p><div class="ss">ایمیل :</div></p> </label><input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>',

'url' => '<p class="comment-form-url"><label for="url"><br><div class="ss">وب سایت</div></label>' .

'<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>',

);

$required_text = sprintf( ' ' . __('Required fields are marked %s'), '<span class="required">*</span>' );

$defaults = array(

'fields' => apply_filters( 'comment_form_default_fields', $fields ),

'comment_field' => '<br><p class="comment-form-comment"><br><label style=" float: right;" for="comment">دیدگاه: </label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',

'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',

'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',

'comment_notes_before' => '',

'comment_notes_after' => '',

'id_form' => 'commentform',

'id_submit' => 'submit',

'title_reply' => __( 'Leave a Reply' ),

'title_reply_to' => __( 'Leave a Reply to %s' ),

'cancel_reply_link' => __( 'Cancel reply' ),

'label_submit' => 'ارسال دیدگاه',

);

//'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>',

$args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) );

?>

<?php if ( comments_open() ) : ?>

<?php do_action( 'comment_form_before' ); ?>

<div id="respond">

<h3 id="reply-title"><?php comment_form_title( $args['title_reply'], $args['title_reply_to'] ); ?> <small><?php cancel_comment_reply_link( $args['cancel_reply_link'] ); ?></small></h3>

<?php if ( get_option( 'comment_registration' ) && !is_user_logged_in() ) : ?>

<?php echo $args['must_log_in']; ?>

<?php do_action( 'comment_form_must_log_in_after' ); ?>

<?php else : ?>

<form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>">

<?php do_action( 'comment_form_top' ); ?>

<?php if ( is_user_logged_in() ) : ?>

<?php echo apply_filters( 'comment_form_logged_in', $args['logged_in_as'], $commenter, $user_identity ); ?>

<?php do_action( 'comment_form_logged_in_after', $commenter, $user_identity ); ?>

<?php else : ?>

<?php echo $args['comment_notes_before']; ?>

<?php

do_action( 'comment_form_before_fields' );

foreach ( (array) $args['fields'] as $name => $field ) {

echo apply_filters( "comment_form_field_{$name}", $field ) . "\n";

}

do_action( 'comment_form_after_fields' );

?>

<?php endif; ?>

<?php echo apply_filters( 'comment_form_field_comment', $args['comment_field'] ); ?>

<?php echo $args['comment_notes_after']; ?>

<p class="form-submit">

<input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />

<?php comment_id_fields( $post_id ); ?>

</p>

<?php do_action( 'comment_form', $post_id ); ?>

</form>

<?php endif; ?>

</div><!-- #respond -->

<?php do_action( 'comment_form_after' ); ?>

<?php else : ?>

<?php do_action( 'comment_form_comments_closed' ); ?>

<?php endif; ?>

</div>

<?php

}

?>

اگر هم روی سرورتون فایل error_log وجود داره چند خط آخرش رو اینجا بزارید.

لینک به ارسال

ممنون. با همون کدی که دادین مشکلم حل شد.

اگر دوباره مشکلی بود توی همین تاپیک مطرح میکنم.

لینک به ارسال

من یه قسمت به فایل فاکشن اضافه کردم و دوباره همون مشکل پیش اومده :

  

<?php

register_sidebar(array(

'name' => 'right',

'before_widget' => '<div class="bl">',

'before_title' => '<div class="sarbl"><div class="sarbl2">',

'after_title' => '</div></div><div class="bm">',

'after_widget' => '</div></div>',

));

?>

<?php

register_sidebar(array(

'name' => 'left',

'before_widget' => '<div class="bl">',

'before_title' => '<div class="sarbl"><div class="sarbl2">',

'after_title' => '</div></div><div class="bm">',

'after_widget' => '</div></div>',

));

?>

<?php

function catch_that_image() {

global $post, $posts;

$first_img = '';

ob_start();

ob_end_clean();

$output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches);

$first_img = $matches [1] [0];

if(empty($first_img)){ //Defines a default image

$first_img = "wp-content/themes/modern mine/images/bed.png";

}

return $first_img;

}

?>

<?php

function catch_that_a() {

global $post, $posts;

$second_a = '';

ob_start();

ob_end_clean();

$output = preg_match_all('/<a.+href=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches);

$second_a = $matches [1] [0];

if(empty($second_a)){ //Defines a default a

$second_a = "http://#/";

}

return $second_a;

}

?>

<?php function comment_loop_cd( $comment, $args, $depth ) {

$GLOBALS['comment'] = $comment;

switch ( $comment->comment_type ) :

case 'pingback' :

case 'trackback' :

?>

<li class="post pingback">

<p>بازتاب: <?php comment_author_link(); ?><?php edit_comment_link( 'ویرایش', '<span class="edit-link">', '</span>' ); ?></p>

<?php

break;

default :

?>

<li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">

<article id="comment-<?php comment_ID(); ?>" class="comment">

<footer class="comment-meta">

</article><div class="fooc">

<div class="namec">

<?php /* translators: 1: comment author, 2: date and time */

printf( '%1$s %2$s ',

sprintf( '<span class="fn">%s می گه :</span>', get_comment_author_link() ),

sprintf( '',

esc_url( get_comment_link( $comment->comment_ID ) ),

get_comment_time( 'c' ),

/* translators: 1: date, 2: time */

sprintf( '%1$s ، %2$s', get_comment_date(""), get_comment_time() )

)

);

?>

</div>

<div class="reply">

<?php comment_reply_link( array_merge( $args, array( 'reply_text' => 'پاسخ <span>↓</span>', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>

</div>

</div>

<div class="comment-author vcard">

<?php

$avatar_size = 45;

if ( '0' != $comment->comment_parent )

$avatar_size = 39;

echo get_avatar( $comment, $avatar_size );

?>

<?php edit_comment_link( '(ویرایش)', '<span class="edit-link">', '</span>' ); ?>

</div><!-- .comment-author .vcard -->

<?php if ( $comment->comment_approved == '0' ) : ?>

<em class="comment-awaiting-moderation">نظر شما بعد از تائید نمایش داده میشود.</em>

<br />

<?php endif; ?>

</footer>

<div class="comment-content"><?php comment_text(); ?></div>

<!-- .reply -->

<!-- #comment-## -->

<div class="comfor">

<?php

break;

endswitch;

}

function comment_form_cd( $args = array(), $post_id = null ) {

global $id;

if ( null === $post_id )

$post_id = $id;

else

$id = $post_id;

$commenter = wp_get_current_commenter();

$user = wp_get_current_user();

$user_identity = ! empty( $user->ID ) ? $user->display_name : '';

$req = get_option( 'require_name_email' );

$aria_req = ( $req ? " aria-required='true'" : '' );

$fields = array(

'author' => '<p class="comment-form-author">' .'<div class="ss">نام:</div>'. '<label for="author">' . ( $req ? '' : '' ) .' </label><input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p><br>',

'email' => '<p class="comment-form-email"><label for="email">' . ( $req ? '' : '' ) .' <p><div class="ss">ایمیل :</div></p> </label><input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>',

'url' => '<p class="comment-form-url"><label for="url"><br><div class="ss">وب سایت</div></label>' .

'<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>',

);

$required_text = sprintf( ' ' . __('Required fields are marked %s'), '<span class="required">*</span>' );

$defaults = array(

'fields' => apply_filters( 'comment_form_default_fields', $fields ),

'comment_field' => '<br><p class="comment-form-comment"><br><label style=" float: right;" for="comment">دیدگاه: </label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',

'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',

'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',

'comment_notes_before' => '',

'comment_notes_after' => '',

'id_form' => 'commentform',

'id_submit' => 'submit',

'title_reply' => __( 'Leave a Reply' ),

'title_reply_to' => __( 'Leave a Reply to %s' ),

'cancel_reply_link' => __( 'Cancel reply' ),

'label_submit' => 'ارسال دیدگاه',

);

//'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>',

$args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) );

?>

<?php if ( comments_open() ) : ?>

<?php do_action( 'comment_form_before' ); ?>

<div id="respond">

<h3 id="reply-title"><?php comment_form_title( $args['title_reply'], $args['title_reply_to'] ); ?> <small><?php cancel_comment_reply_link( $args['cancel_reply_link'] ); ?></small></h3>

<?php if ( get_option( 'comment_registration' ) && !is_user_logged_in() ) : ?>

<?php echo $args['must_log_in']; ?>

<?php do_action( 'comment_form_must_log_in_after' ); ?>

<?php else : ?>

<form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>">

<?php do_action( 'comment_form_top' ); ?>

<?php if ( is_user_logged_in() ) : ?>

<?php echo apply_filters( 'comment_form_logged_in', $args['logged_in_as'], $commenter, $user_identity ); ?>

<?php do_action( 'comment_form_logged_in_after', $commenter, $user_identity ); ?>

<?php else : ?>

<?php echo $args['comment_notes_before']; ?>

<?php

do_action( 'comment_form_before_fields' );

foreach ( (array) $args['fields'] as $name => $field ) {

echo apply_filters( "comment_form_field_{$name}", $field ) . "\n";

}

do_action( 'comment_form_after_fields' );

?>

<?php endif; ?>

<?php echo apply_filters( 'comment_form_field_comment', $args['comment_field'] ); ?>

<?php echo $args['comment_notes_after']; ?>

<p class="form-submit">

<input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />

<?php comment_id_fields( $post_id ); ?>

</p>

<?php do_action( 'comment_form', $post_id ); ?>

</form>

<?php endif; ?>

</div><!-- #respond -->

<?php do_action( 'comment_form_after' ); ?>

<?php else : ?>

<?php do_action( 'comment_form_comments_closed' ); ?>

<?php endif; ?>

</div>

<?php

}

?>

ویرایش شده توسط Morteza
لینک به ارسال

دوست من براي اين كه بفهميد كجا داراي مشكل است

در فايل wp-config.php كد زير را بگذاريد


define('WP_DEBUG', true);

بعد وارد سايت خود شويد

سپس بالاي وب شما

وشته ميشود مشكل كجاست

لینک به ارسال

حالت دیباگ رو میدونم متشکرم که توضیح دادی اما منظورم یه چیز دیگه هستش که چه کدی تو فانکشن هستش که باعث شده صفحه سفید بشه

لینک به ارسال
  • 1 ماه بعد...

این ارور لاگ منه


[20-Oct-2012 21:49:32 UTC] PHP Warning: ini_set() has been disabled for security reasons in /home/Your Domain/public_html/wp-includes/load.php on line 270
[20-Oct-2012 21:49:35 UTC] PHP Warning: ini_set() has been disabled for security reasons in /home/Your Domain/public_html/wp-includes/load.php on line 270
[20-Oct-2012 21:49:35 UTC] PHP Notice: get_bloginfo از نگارش 2.2 <strong>از رده خارج شده</strong>! گزينه‌ي <code>home</code> در توابع خانواده‌ي <code>bloginfo()</code>? از رده خارج شده است. به‌عنوان جايگزين از <code>url</code> استفاده کنيد. in /home/Your Domain/public_html/wp-includes/functions.php on line 2722
[20-Oct-2012 21:49:35 UTC] PHP Notice: get_bloginfo از نگارش 2.2 <strong>از رده خارج شده</strong>! گزينه‌ي <code>home</code> در توابع خانواده‌ي <code>bloginfo()</code>? از رده خارج شده است. به‌عنوان جايگزين از <code>url</code> استفاده کنيد. in /home/Your Domain/public_html/wp-includes/functions.php on line 2722
[20-Oct-2012 21:49:35 UTC] PHP Notice: get_bloginfo از نگارش 2.2 <strong>از رده خارج شده</strong>! گزينه‌ي <code>home</code> در توابع خانواده‌ي <code>bloginfo()</code>? از رده خارج شده است. به‌عنوان جايگزين از <code>url</code> استفاده کنيد. in /home/Your Domain/public_html/wp-includes/functions.php on line 2722
[20-Oct-2012 21:49:35 UTC] PHP Notice: wp_list_cats is از رده خارج شده است از نگارش2.1! به‌جاي آن از wp_list_categories() استفاده کنيد. in /home/Your Domain/public_html/wp-includes/functions.php on line 2638
[20-Oct-2012 21:49:53 UTC] PHP Warning: ini_set() has been disabled for security reasons in /home/Your Domain/public_html/wp-includes/load.php on line 270

لینک به ارسال

یک مشکل از سرور شماست. البته خطا نگرفته بیشتر اخطار هست. از تابع ini_set

دومی هم اخطاری بخاطر 2 تابع وردپرس هست که البته باعث سفید شدن صفحه نمیشن.

لینک به ارسال

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

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

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

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

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

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

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

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

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