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
datepicker error message
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: datepicker error message
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- RAC
- Member
- Posts: 66
- Joined: Mon Apr 19, 2021 5:36 am
- Phoenix Version: v1.1.0.6
- Has thanked: 9 times
- Been thanked: 1 time
Re: datepicker error message
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?
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?
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: datepicker error message
Just a guess but have you tried changing 'en_GB' to 'en-GB' in that line?
Or changing it back to the original empty ' '?
- RAC
- Member
- Posts: 66
- Joined: Mon Apr 19, 2021 5:36 am
- Phoenix Version: v1.1.0.6
- Has thanked: 9 times
- Been thanked: 1 time
Re: datepicker error message
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
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