Can anyone help me ? What might be the problem ?

Parse error: syntax error, unexpected '>', expecting T_STRING or T_VARIABLE or '$' in C:\AppServ\www\wordpress\wp-content\themes\platform\footer.php on line 36
..

<?php 
/*
	
	FOOTER
	
	This file controls the ending HTML </body></html> and common graphical elements in your site footer.
	You can control what shows up where using WordPress and PageLines PHP conditionals
	
	This theme copyright (C) 2008-2010 PageLines
	
*/

// Deal with BuddyPress and BuddyPress Template Pack
if(pagelines_is_buddypress_page()):?>
</div>
</div>
<?php endif; ?>
</div> <!-- END #dynamic-content -->

<div id="morefoot_area"><?php pagelines_template_area('pagelines_morefoot', 'morefoot'); // Hook ?></div>
<div class="clear"></div>
				
</div> <!-- END #page-main from header -->
</div> <!-- END #page-canvas from header -->
</div> <!-- END #page from header -->


<div id="footer">

	<div class="copyright">Copyright © 2011. Business English Editors. All Rights Reserved.
	<br><br><img src="http://www.business-english-editors.com/wp-content/uploads/2011/02/B.png">
</div>
</div> 


<!--	<div class="outline fix"><?php   -->
<!--		pagelines_template_area('pagelines_footer', 'footer'); // Hook -->
<!--		pagelines_register_hook('pagelines_after_footer'); // Hook -->
<!--		pagelines_cred();  -->
<!--	?></div>  -->
<!-- </div> -->
<?php 
	print_pagelines_option('footerscripts'); // Load footer scripts option 	
	wp_footer(); // Hook (WordPress) 
?>
</body>
</html>

I am not quite sure if the line numbering are correct since there are no line number in wordpress.

Thanks in advance.

Recommended Answers

All 3 Replies

Yes the line numbering is correct so the question is, why did you put a --> at the end of line 36? (And also 37, 38, 39)

Maybe you were trying to comment out those lines? Note that what you've placed are only HTML comments and since PHP executes before anything is done with the HTML, PHP sees a --> in it's code and that doesn't really make sense.

Hi, thanks -

Another thing, I wonder why I cannot write space in my footer text:

<?php 
/*
	
	FOOTER
	
	This file controls the ending HTML </body></html> and common graphical elements in your site footer.
	You can control what shows up where using WordPress and PageLines PHP conditionals
	
	This theme copyright (C) 2008-2010 PageLines
	
*/

// Deal with BuddyPress and BuddyPress Template Pack
if(pagelines_is_buddypress_page()):?>
</div>
</div>
<?php endif; ?>
</div> <!-- END #dynamic-content -->

<div id="morefoot_area"><?php pagelines_template_area('pagelines_morefoot', 'morefoot'); // Hook ?></div>
<div class="clear"></div>
				
</div> <!-- END #page-main from header -->
</div> <!-- END #page-canvas from header -->
</div> <!-- END #page from header -->


<div id="footer">

	<div class="copyright">Hu.E@2011            Address                 Phone              Fax                 Email
	<br>terms & condition | privacy | disclaimer &nbps    Perserikatan 9, DKI Jakarta 13220, Indonesia    +64-21-9999-9999      +62-21-9999-9999       info@huehuis.com
	<br><img src="http://www.business-english-editors.com/wp-content/uploads/2011/02/B.png">
</div>
</div> 

<?php 
	print_pagelines_option('footerscripts'); // Load footer scripts option 	
	wp_footer(); // Hook (WordPress) 
?>
</body>
</html>

on line 30 I already write some spaces between texts, but when I preview my webpages, none of those spaces between text appears

That's because HTML automatically reduces subsequent horizontal spacing to one space only.
If you want more you'll have to use the &nbsp; HTML-entity.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.