Server-side strtotime() error manifesting on "Browse photos" page
danbeam
Registered Users Posts: 1 Beginner grinner
Give us your site name
http://www.smugmug.com/browse/ (it's your site, silly!)
Describe the problem
Dates for blogs are showing Dec 31, 1969
List the steps to replicate and recreate the problem
Go to http://www.smugmug.com/browse/, wait for XHR to populate "The SmugMug Blog" section. Look in awe that you were able to write all these blogs in 1 day 41 years ago, .
Provide links to your galleries, photos, etc so we can look
Just http://www.smugmug.com/browse/
Let us know your system, and browser and version (e.g., Firefox 3, on Windows)
Chromium on Linux, but this is a server-side issue.
The XHR that's POSTing to http://www.smugmug.com/hack/RPC/browse.mg?tool=BlogEntries&feed=http%3A%2F%2Ffoundonsmugmug.blogs.smugmug.com%2Ffeed%2F is returning these dates in the response, which almost always means you're calling PHP's date() function with 0/FALSE in the $timestamp field (which happens if something like strtotime() fails).
Just sayin'.
http://www.smugmug.com/browse/ (it's your site, silly!)
Describe the problem
Dates for blogs are showing Dec 31, 1969
List the steps to replicate and recreate the problem
Go to http://www.smugmug.com/browse/, wait for XHR to populate "The SmugMug Blog" section. Look in awe that you were able to write all these blogs in 1 day 41 years ago, .
Provide links to your galleries, photos, etc so we can look
Just http://www.smugmug.com/browse/
Let us know your system, and browser and version (e.g., Firefox 3, on Windows)
Chromium on Linux, but this is a server-side issue.
The XHR that's POSTing to http://www.smugmug.com/hack/RPC/browse.mg?tool=BlogEntries&feed=http%3A%2F%2Ffoundonsmugmug.blogs.smugmug.com%2Ffeed%2F is returning these dates in the response, which almost always means you're calling PHP's date() function with 0/FALSE in the $timestamp field (which happens if something like strtotime() fails).
Just sayin'.
0
Comments
Sebastian
SmugMug Support Hero