formBuilder-languages icon indicating copy to clipboard operation
formBuilder-languages copied to clipboard

Suddenly getting this error. It was working perfect before..

Open Hasnni opened this issue 4 years ago • 9 comments

Hello . Suddenly i am getting this error i dont know what happend i even didnot change anything. assets/lang/en-US.lang:1 Failed to load resource: the server responded with a status of 404 (): error

What should i do now . I am using Jquery Formbuilder 3.6.1 version

Hasnni avatar Jun 29 '21 10:06 Hasnni

@Hasnni can you share the url for the missing file?

Also please share your configuration, it looks like the files are still available. Maybe a temporary outage on github pages? https://formbuilder.online/assets/lang/en-US.lang

kevinchappell avatar Jun 30 '21 01:06 kevinchappell

@kevinchappell Thank you so much for your reply. I am using formBuilder.min.js 3.6.1 version. here is link of error. Its automatically getting this error. https://localhost:44338/Configuration/assets/lang/en-US.lang

Hasnni avatar Jun 30 '21 06:06 Hasnni

@Hasnni can you share the formBuilder options used?

kevinchappell avatar Jun 30 '21 10:06 kevinchappell

@kevinchappell here is the options which i used. options = { //disabledActionButtons: ['save'], showActionButtons: false, editOnAdd: true, stickyControls: { enable: true }, formData: forata, dataType: 'json' };

Hasnni avatar Jun 30 '21 12:06 Hasnni

i dont see anything there that should cause this. can you create a jsFiddle or codepen that reproduces the error?

kevinchappell avatar Jun 30 '21 12:06 kevinchappell

@kevinchappell code is working fine now as well with these errors .just these errors coming in console. Automatically these errors coming now days before it was working fine with no errors.

Hasnni avatar Jun 30 '21 12:06 Hasnni

@kevinchappell how can we get this lang file in formbuilder options .?

Hasnni avatar Jun 30 '21 13:06 Hasnni

@Hasnni English is loaded by default and is in formBuilder without need for a separate file. You can try explicitly setting the location of your language files to a known working location in your formBuilder options:

i18n: {
  location: 'https://formbuilder.online/assets/lang/'
},

kevinchappell avatar Jul 13 '21 23:07 kevinchappell

@kevinchappell Thank you its working.

Hasnni avatar Jul 14 '21 07:07 Hasnni