Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/tonykana/public_html/bloids/wp-content/themes/super-adsense/page.php on line 32 this is error i am getting...any idea how to fix/what is causing this? thnks tony
Can you provide a snip of the code around that line? The error says there is a problem with a constant in your code there.
there was no other error message.....when i loaded a new page into my wordpress theme and clicked "view"...this is what i got,,,,
He means show us the code on line 32 of /home/tonykana/public_html/bloids/wp-content/themes/super-adsense/page.php
Hi tonyfloyd.. What we need to do is get a look at your "page.php".. That is where the error is and if you show us the code we may be able to help..
aahhhh.....ok.... </div> <!-- <?php trackback_rdf(); ?> --> </div> <?php comments_template(); // Get wp-comments.php template ?> <?php endwhile; else: ?> <p> <?php _e('ܺg?arad? kriterlere uygun bir yaz?namad??> </p> <?php endif; ?> <p> <?php posts_nav_link('', ('Sonraki Yaz?amp;raquo;'), ('« Ö®ceki Yaz?); ?> </p> </div> <?php get_flickrRSS(18, "public", "celebrities"); ?> <?php get_l_sidebar(); ?> <?php get_sidebar(); ?> <?php get_footer(); ?>
<?php _e('ܺg?arad? kriterlere uygun bir yaz?namad??> doesnt look good for starters try <?php _e('ܺg?arad? kriterlere uygun bir yaz?namad); ?> whats with all the ????
it looks likes another language.. try popping an echo before and after the line "<?php _e('ܺg?arad? kriterlere uygun bir yaz?namad); ?>" if the echo is successful before and not after you know the problem is with that line.
Oops, here is a simpler version replace <?php _e('ܺg?arad? kriterlere uygun bir yaz?namad); ?>" with <?php echo "before arad line\n\n"; _e('ܺg?arad? kriterlere uygun bir yaz?namad); echo "after arad line\n\n"; ?> Run the program and tell us where the program stops.
This is the original code yes <?php get_header(); ?> <div id="content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="entry"> <h1 class="entrytitle" id="post-<?php the_ID(); ?>"> <a href="<?php the_permalink() ?>" rel="bookmark"> <?php the_title(); ?> </a> </h1> <div class="entrymeta-single"> <?php edit_post_link(__('<strong>Edit This Page</strong>'));?> </div> <div class="entrybody"> <?php the_content(__('Read more »'));?> </div> <!-- <?php trackback_rdf(); ?> --> </div> <?php comments_template(); // Get wp-comments.php template ?> <?php endwhile; else: ?> <p> <?php _e('Sorry, no posts matched your criteria.'); ?> </p> <?php endif; ?> <p> <?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?> </p> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
soo...what do i do?....this is all greek to me!!...lolo....and i am greek!!....this theme was customized......all was fine until 20 minutes ago....if i make any of these changes...will this screw up my entire site?
do i just cut and paste the code in its entirety?...replace the existing page.php file with the one above?
This is why you should always keep a back up copy of files you edit... Me personally i would replace page.php with the original super-adsense page.php and see if that sorts my problem out... If that didnt work i would start over.. after all its only a few text files... sorry i cant be any better help....
Parse error: syntax error, unexpected ';' in /home/tonykana/public_html/bloids/wp-content/themes/super-adsense/page.php on line 32 this is the error i get now....i edited the funny looking other language code with the original page.php u provided above....what is this error?