1
AngeloRocha
Problem after upgrade 2.4.4 to 2.5.7

After upgrade, module soapbox and news show date 1970 to scheduled posts, to normal posts show one day more, when a create a topic in news or soapbox he show date "02/07/2015", but today is "01/07/2015".

How to fix it?

News 1.66
Soapbox 1.6 final

2
brutalicuss
Re: Problem after upgrade 2.4.4 to 2.5.7

Hi Angelo :))

I had the same problem when up 2.4.0 to 2.5.5
When submit new story shows 1970..

After hours reading here :) I found solution for me, esp for module news.
in language/yourlang/calendar.php put at the top of lines:
define("_CAL_FORMAT","Y-m-d");

Hope work for you too

If not, the problem surely in time format, when time format is wrong shows 1970y
You need just some time to find the problem

3
AngeloRocha
Re: Problem after upgrade 2.4.4 to 2.5.7

It did not work.
=/

4
Mamba
Re: Problem after upgrade 2.4.4 to 2.5.7
  • 2015/7/2 23:35

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I would expand on what Brutalicuss suggested:

1) in the file /language/YOURLANGUAGE/calendar.php add or replace this line:

define('_CAL_FORMAT',_SHORTDATESTRING);


2) in the file /language/YOURLANGUAGE/global.php make sure that you have the correct definition for _SHORTDATESTRING, for example:

define('_SHORTDATESTRING'Y-m-d');


Sometimes the local language files from older XOOPS versions miss the new additions like the _SHORTDATESTRING. So make sure that you also update the local language files.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

5
AngeloRocha
Re: Problem after upgrade 2.4.4 to 2.5.7

Works fine Michael, thanks.

Login

Who's Online

187 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 187


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits