Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • newborn Friend
    #133963

    Hi all,
    there seems to be a problem with the Ja Corona Demo Site, this is the error i receive when i press the links:

    Parse error: syntax error, unexpected ‘:’ in /home/tpl15/public_html/ja_corona/templates/ja_corona/html/com_content/article/default.php on line 13

    thanks in advance

    Sherlock Friend
    #273545

    Thanks for supporting
    I fixed that error

    newborn Friend
    #273557

    You’re welcome and thanks for fixing it.

    mwanakijiji Friend
    #276823

    <em>@nguoiabcd 83577 wrote:</em><blockquote>Thanks for supporting
    I fixed that error</blockquote>

    Sorry, I`ve got the same problem here.

    How did you fix it!?

    Sherlock Friend
    #276827

    Hi
    Please edit templates/ja_corona/html/com_content/article/default.php
    Change those lines:

    <?php/*------------------------------------------------------------------------
    # $JA#PRODUCT_NAME$ - Version $JA#VERSION$ - Licence Owner $JA#OWNER$
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
    # @license - Copyrighted Commercial Software
    # Author: J.O.O.M Solutions Co., Ltd
    # Websites: http://www.joomlart.com - http://www.joomlancers.com
    # This file may not be redistributed in whole or significant part.
    -------------------------------------------------------------------------*/

    To

    <?php
    /*------------------------------------------------------------------------
    # $JA#PRODUCT_NAME$ - Version $JA#VERSION$ - Licence Owner $JA#OWNER$
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
    # @license - Copyrighted Commercial Software
    # Author: J.O.O.M Solutions Co., Ltd
    # Websites: http://www.joomlart.com - http://www.joomlancers.com
    # This file may not be redistributed in whole or significant part.
    -------------------------------------------------------------------------*/

    mwanakijiji Friend
    #276836

    <em>@nguoiabcd 87784 wrote:</em><blockquote>Hi
    Please edit templates/ja_corona/html/com_content/article/default.php
    Change those lines:

    <?php/*------------------------------------------------------------------------
    # $JA#PRODUCT_NAME$ - Version $JA#VERSION$ - Licence Owner $JA#OWNER$
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
    # @license - Copyrighted Commercial Software
    # Author: J.O.O.M Solutions Co., Ltd
    # Websites: http://www.joomlart.com - http://www.joomlancers.com
    # This file may not be redistributed in whole or significant part.
    -------------------------------------------------------------------------*/

    To

    <?php
    /*------------------------------------------------------------------------
    # $JA#PRODUCT_NAME$ - Version $JA#VERSION$ - Licence Owner $JA#OWNER$
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
    # @license - Copyrighted Commercial Software
    # Author: J.O.O.M Solutions Co., Ltd
    # Websites: http://www.joomlart.com - http://www.joomlancers.com
    # This file may not be redistributed in whole or significant part.
    -------------------------------------------------------------------------*/

    </blockquote>

    Nothing changed. I got the same error

    Sherlock Friend
    #276838

    Hi,
    Can you please PM me your site admin account as well as FPT account? Without investigating into the codes, I am afraid that we can not provide any solution

    jimesmythe Friend
    #276953

    I also am having this issue.

    Parse error: syntax error, unexpected ‘:’ in /homepages/25/d193810870/htdocs/NCWCFamilyBeta/templates/ja_corona/html/com_content/article/default.php on line 13

    Sherlock Friend
    #277030

    Hi
    please edit /templates/ja_corona/html/com_content/article/default.php on line 13

    <?php if (($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own')) : ?>
    Change to

    <?php if ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own')) : ?>

    inamike Friend
    #286164

    <em>@nguoiabcd 88055 wrote:</em><blockquote>Hi
    please edit /templates/ja_corona/html/com_content/article/default.php on line 13

    <?php if (($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own')) : ?>

    Change to

    <?php if ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own')) : ?>
    </blockquote>

    I had the same error, and this solution solved it!
    Thank you.

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 5 voices, and was last updated by  inamike 15 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum