-
AuthorPosts
-
October 2, 2008 at 9:19 am #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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 2, 2008 at 9:29 am #273545Thanks for supporting
I fixed that errorOctober 2, 2008 at 9:45 am #273557You’re welcome and thanks for fixing it.
October 24, 2008 at 8:53 am #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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 24, 2008 at 8:57 am #276827Hi
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.
-------------------------------------------------------------------------*/October 24, 2008 at 9:14 am #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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 24, 2008 at 9:49 am #276838Hi,
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 solutionOctober 26, 2008 at 12:27 pm #276953I 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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 27, 2008 at 10:28 am #277030Hi
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')) : ?>
1 user says Thank You to Sherlock for this useful post
January 13, 2009 at 2:41 am #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. -
AuthorPosts
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