4 users online. Create an account or sign in to join them.Users
Date fields broken - no idea why
This is an open discussion with 21 replies, filed under Troubleshooting.
Search
Going to need more then that video to help mate.
- What's your PHP version
- What's your Symphony version
- What version of Date & Time extension?
- When did this bug start occurring?
- Does it happen for all sections or just a particular section?
My first guess is that PHP5.2 is eating your dates.
- What's your PHP version: 5.3.2
- What's your Symphony version: 2.2.3
- What version of Date & Time extension? 2.1.1
- When did this bug start occurring? I'm not sure that it ever functioned correctly in this project
- Does it happen for all sections or just a particular section? All sections, even the section that was only date fields, created for the video demonstration.
Have you tried plain vanilla date field? Does that also fail?
Can you try the 2.2.x branch? This branch is primarily to fix issues with Dates that have been reported across both PHP5.3 and PHP5.2 environments. We're pretty confident we've got them all now!
@czheng yes, the video demonstrates both failing..
@brendo just tried that branch to no avail
Can do a screenshot of your Section setup?
There's nothing unique about my section setup.. I've used the date field before many times. I have no idea why it isn't working, but it is still broken, and I need it fixed for a large project.. Any thoughts?
Have you tried reinstalling Symphony? Could be something gone funky during DB setup. Or maybe package that site and try it on a different host?
Craig, that's a good idea.. when you say reinstall symphony, what steps is that?
I'm guessing..
- replace
symphonyfolder .. - ?
Is there any database command to run? etc?
I tried the reinstall, but the package didn't work.
@craig or @brendo, any chance I could send you my files to take a look?
If there's a consulting fee, that's fine, I just really have to resolve this issue..
@into, if you want I can take a look. You can email the files to huib -at- creativedutchmen -dot- com
Yeah likewise, just create an ensemble and send to brendan @ bloodbone . ws
Ok, I haven't been able to reproduce this bug with the ensemble on my local setup, so some further questions:
- What are your Symphony timezone settings?
- Does it work if you disable the jQuery Date Picker extension?
- The Date/Time field validates it's Date with an AJAX call, can you post of screenshot of the results in your environment? (see screenshot)
Interesting..
- See below
- No, just tested
- I'd be happy to, what tool are you using?
Here is my timezone info in manifest
###### REGION ######
'region' => array(
'time_format' => null,
'date_format' => null,
'datetime_separator' => null,
'timezone' => 'America/Los_Angeles',
),
########
Also, I was never able to use the installer I gave you, I'm not sure how you got it to function, for me it was throwing an error and not populating the data properly.
###### REGION ######
'region' => array(
'time_format' => null,
'date_format' => null,
'datetime_separator' => null,
'timezone' => 'America/Los_Angeles',
),
########
There's the problem. You will need to change the NULL values for actual values. The problem has occured in the installer somewhere.
@designermonkey is on the money, those config settings need to have values, try these:
'time_format' => 'H:i', 'date_format' => 'd F Y', 'datetime_separator' => ' ',
I'm not quite how these values ever reverted to null in the first place though... Has anyone else encountered this before?
Have you been using a localised backend? I'm not sure how other translations handle this, but the German version replaces the values with local variants and stores the original strings separately to be able to restore them later – this may cause trouble in case somethings goes wrong.
Awesome ! I'll give it a whirl..
@nills, yes multilingual work and the german language has been used on this proj
Create an account or sign in to comment.
Why aren't date fields working??
http://see.weareinto.com/AXTZ