Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Archive
SilverStripe Forums » Archive » Error when editing files: Uploaded 38 years ago
Our old forums are still available as a read-only archive.
|
Page:
1
|
Go to End | |
| Author | Topic: Error when editing files: Uploaded 38 years ago | 1608 Views |
-
Error when editing files: Uploaded 38 years ago

1 May 2008 at 6:27pm
When I edit a file in the CMS, the "File uploaded" value is always reset to a date 38 years ago. On my laptop (which has a local time zone west of GMT) it's the 31/12/1969, on my web server (located in a time zone east of GMT) it's the 01/01/1970. These are not only display differences, but appear this way in the respective database.
To reproduce this, it's enough to open the "Edit" dialog, then to click on "Save" in the "Main" tab.
Silverstripe version: 2.2.2rc3Can anybody confirm this error?
Cheers, Blynx
-
Re: Error when editing files: Uploaded 38 years ago

21 May 2008 at 4:00am
Did you ever find a fix for this? I am currently experiencing this.
-
Re: Error when editing files: Uploaded 38 years ago

21 May 2008 at 1:49pm
It's reported as a bug and currently in the list for the 2.2.3 milestone. Unfortunately I couldn't really find a fix for it, my current workaround is running the following query in the database after I changed anything with the file edit dialog:
UPDATE `File`SET `Created` = `LastEdited` WHERE `Created` < '1980-01-01 00:00:00';
It doesn't really fix the issue, but at least I get a date that makes more sense than the one 38 years ago. -
Re: Error when editing files: Uploaded 38 years ago

26 August 2008 at 12:25pm Last edited: 26 August 2008 12:46pm
Any further updates on this? It wasn't happening on my site until recently.
-
Re: Error when editing files: Uploaded 38 years ago

26 August 2008 at 2:28pm
I fixed that error on my installation about 1 month ago, and also reported the fix at http://open.silverstripe.com/ticket/2495#comment:2. Unfortunately, it will still take quite a while until this will appear in any Silverstripe release.
| 1608 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: Cristian, Achilles Interactive
Welcome to our latest member: J2-Paul

