Page 1 of 1
datepicker error message
Posted: Tue Aug 03, 2021 3:26 am
by RAC
I have the following error on my .UK test site v1.0.7.15 :
2021-08-02 03:41:51.440024 [INFO] [1083255] [T0] [94.8.189.53:55588-H3:FD7462411FB65F88-48#APVH_retro-antiques-curios.uk:443] File not found [/home/***********/public_html/ext/jquery/ui/i18n/jquery.ui.datepicker-en_GB.js]
Note the underscore before GB, this is supposed to be a hyphen, obviously my fat fingers have created this typo somewhere, Any ideas?
Shaun
Re: datepicker error message
Posted: Tue Aug 03, 2021 5:12 am
by ecartz
Line 25 of admin/includes/languages/english.php:
Code: Select all
const JQUERY_DATEPICKER_I18N_CODE = ''; // leave empty for en_US; see http://jqueryui.com/demos/datepicker/#localization
Re: datepicker error message
Posted: Tue Aug 03, 2021 6:46 am
by RAC
Hi
@ecartz
This is my line 25 :
const JQUERY_DATEPICKER_I18N_CODE = 'en_GB'; // leave empty for en_US; see
http://jqueryui.com/demos/datepicker/#localization
Is this correct?
In the error it states the file missing is "jquery.ui.datepicker-en_GB.js"
however looking in the folder it shows a file "jquery.ui.datepicker-en-GB.js"
How do I change this?
Re: datepicker error message
Posted: Tue Aug 03, 2021 7:06 am
by heatherbell
RAC wrote: ↑Tue Aug 03, 2021 6:46 am
const JQUERY_DATEPICKER_I18N_CODE = 'en_GB';
Just a guess but have you tried changing
'en_GB' to
'en-GB' in that line?
Or changing it back to the original empty
' '?
Re: datepicker error message
Posted: Tue Aug 03, 2021 10:07 am
by RAC
Thank you @heatherbell
Well fingers crossed it seems to be working at the moment following your suggestion!
It's been an hour or so, my site is still working, and the last error message was just before I made the edit.
I will keep you updated if the problem continues.
Shaun