› Forums › Theme Support › single post error
- This topic has 8 replies, 1 voice, and was last updated 8 years ago by
julie.
-
AuthorPosts
-
julie
GuestWhen I show a video single comment the following error displays I does not understand where from it comes thank you in advance
Parse error: syntax error, unexpected ‘endwhile’ (T_ENDWHILE) in /var/www/html/wp-content/themes/zingtube/single.php on line 132
XWP
GuestWhat theme are you using?
julie
Guestzingtube , is write in error
XWP
GuestGo to your Appearance settings then to Editor and then search for the single.php on the right side and click on this file and then search for “<? }” and change it to to “<?php }”.
julie
Guesterror page it s same :
Parse error: syntax error, unexpected ‘endwhile’ (T_ENDWHILE) in /var/www/html/wp-content/themes/zingtube/single.php on line 132
line 132 on single.php:
<?php endwhile; ?>
julie
Guestand in dashbord all time i have this error
Notice: Undefined index: page in /var/www/html/wp-content/themes/zingtube/functions.php on line 185
block 185-192 functions.php
if( $_GET[‘page’] == ‘theme-options’ && isset($_POST[‘submit’]) ) {
update_option( ‘bg_color’, $_POST[‘bg_color’] );
update_option( ‘body_color’, $_POST[‘body_color’] );
update_option( ‘main_color’, $_POST[‘main_color’] );
update_option( ‘hf_bg’, $_POST[‘hf_bg’] );
update_option( ‘second_color’, $_POST[‘second_color’] );
wp_redirect( ‘admin.php?page=theme-options&saved=true’ );
}MRA
GuestCan you post your url here?
julie.martine.91
Participantjulie
GuestI have the same probleme with rosatube maybe serverc configuration is no good ? please do something
-
AuthorPosts

