0

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.

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Insensus
1

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.

0

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

1

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.