Tagged: dates
-
AuthorPosts
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 5, 2017 at 7:49 pm #1079285Hi Pankaj,
I’ve the same error as rwlfr & victoradrian, can anyone help me?
And I don’t know how to enable the php lib, in my server, if you tell me I’ll try.
Sorry for my english.
Thanks for your help.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 6, 2017 at 1:34 am #1079310And I don’t know how to enable the php lib, in my server, if you tell me I’ll try.
Hi
Kindly ask your hosting provider to enable it for you and they will enable it on your server. If still, you have the error you can share the details of site in Private reply.Regards
1 user says Thank You to Pankaj Sharma for this useful post
December 8, 2017 at 7:51 am #1079864That’s how it worked.
53-54 line
return JText::sprintf(JHtml::_('date', $timespan, JText::_('DATE_FORMAT_LC3'))); // return $output ? JText::sprintf($future ? 'TPL_RT_FUTURE' : 'TPL_RT_PAST', $output) : JText::_('TPL_RT_NOW');
Thanks!
- This reply was modified 7 years ago by QIRIM.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
lg21 Friendlg21
- Join date:
- July 2012
- Posts:
- 335
- Downloads:
- 109
- Uploads:
- 100
- Thanks:
- 36
- Thanked:
- 9 times in 1 posts
December 29, 2017 at 1:40 pm #1083852I can not change the date, when I make the changes I get an error code.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 2, 2018 at 1:45 am #1084152lg21
Hi
Kindly apply my suggestion as given in this thread to change the date formate, Also make sure PHP lib is enabled on your server.
Its the same solution worked for everyone.Regards
lg21 Friendlg21
- Join date:
- July 2012
- Posts:
- 335
- Downloads:
- 109
- Uploads:
- 100
- Thanks:
- 36
- Thanked:
- 9 times in 1 posts
January 10, 2018 at 3:57 pm #1086103modifying the code as suggested by you gives me this error
Parse error: syntax error, unexpected ‘public’ (T_PUBLIC) in /web/htdocs/www.corrieredigela.com/home/nuovo/templates/ja_magz_ii/helper.php on line 18
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 11, 2018 at 2:27 am #1086202Hi Lg21
Kindly php lib on your localhost (server) is missing
php lib return function does not exist.
Enable it and check, if still, the same issue sends me site super user details in a Private reply here I will check it on your site.Regards
lg21 Friendlg21
- Join date:
- July 2012
- Posts:
- 335
- Downloads:
- 109
- Uploads:
- 100
- Thanks:
- 36
- Thanked:
- 9 times in 1 posts
January 11, 2018 at 8:27 am #1086268This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
-
AuthorPosts
This topic contains 12 replies, has 3 voices, and was last updated by lg21 6 years, 11 months ago.
The topic ‘Article & Modules dates’ is closed to new replies.