Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.