Jump to content

"The date you requested appears to be invalid"


MMXII

Recommended Posts

Posted

I just did a fresh test installation of IPS 4.3.2 (localhost, XAMPP), no plugins, default theme, everything as is. Now I wanted to do some testing regarding translations, so I created a new language in the AdminCP (By the way: Is there no way to enter the Locale manually anymore? For example "en-US" or "en_US"? All I can do is choose a country name...).

When I go to the frontend and open the default calendar page, the calendar shows up. However, when I change the language to the new one via the menu in the footer (no translation done yet), it instantly shows the following error on the calendar page: "The date you requested appears to be invalid" When I switch the language back to default English, the calendar shows up again.

The calendar page is the only page that comes up with an error. Every other page is showing up correctly.

Any idea why this is happening or how I can make the error go away?

Posted
4 minutes ago, MMXII said:

By the way: Is there no way to enter the Locale manually anymore? For example "en-US" or "en_US"?

Not on a Windows install, AFAIK. I also want to make translation on localhost (Wamp). 

Posted

I think this has to do with some misconfiguration of XAMPP. I have no clue though where to look for settings regarding date, time and whatnot that might affect my IPS localhost installation... I haven't touched these in the first place... :unsure:

Posted

Another weird thing: Date/time is missing everywhere (e.g. forum topics) when I choose a different language (anything other than the default English). What could be the reason for this?

date-time-missing.thumb.jpg.ddbd7b75e789c18b30c77247e9198fb1.jpg

  • 1 year later...
Posted

This has all of a sudden started happening to me...it is only with calendar and was ok on previous live site downloads...any clue on how to fix?

Posted

Yes, I can see it now, you have a different issue.

Are you on Windows? I had similar issues with dates until I have changed the date.timezone in php.ini.

date.timezone = "Europe/London"

 

Posted

Thanks Sonya but that didn't work. The php.ini now says:

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "Australia/Melbourne"

My Language settings show, and note this problem only started happening when I edited these settings from the default:

2.thumb.jpg.0214aa3b1393c5f892729e66e3ce34e5.jpg

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...