Jump to content

code error


skymanj

Recommended Posts

Im receiving an error saying that the line © <?php echo mosCurrentDate( '%Y' ) . ' ' . echo(EZConnect.biz);?>  has an unnexpecxted error.  How do i fix this?

<?php
/**
* @version $Id: footer.php 3713 2006-05-29 03:25:07Z stingrey $
* @package Joomla
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' )

global $_VERSION;
// NOTE - You may change this file to suit your site needs
?> 
<div align="center">
© <?php echo mosCurrentDate( '%Y' ) . ' ' . print(EZConnect.biz);?> 

 © <?php/*echo mosCurrentDate( '%Y' ) . ' ' . $GLOBALS['mosConfig_sitename'];*/?> 

</div>

<!--div align="center">
<?php echo $_VERSION->URL; ?> 
</div-->

Link to comment
https://forums.phpfreaks.com/topic/64305-code-error/
Share on other sites

update, i changed the code some and am still getting error unnexpected T_STRING in line 16.

<?php
/**
* @version $Id: footer.php 3713 2006-05-29 03:25:07Z stingrey $
* @package Joomla
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' )
define('EZCONNECT_BIZ', 'EZConnect.biz')
/*global $_VERSION;*/
// NOTE - You may change this file to suit your site needs
?> 
<div align="center">
© <?php echo mosCurrentDate( '%Y' ) . ' ' . print 'EZCONNECT_BIZ';?> 
 </div>
<!--© <?php/*echo mosCurrentDate( '%Y' ) . ' ' . $GLOBALS['mosConfig_sitename'];*/?>--> 
<!--div align="center">
<?php echo $_VERSION->URL; ?> 
</div-->

Link to comment
https://forums.phpfreaks.com/topic/64305-code-error/#findComment-320593
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.