- Issue created by @sfm1977
- 🇩🇪Germany dbielke1986
Hi sfm1977,
could this be related to 3438983 🐛 Call to template json file broken if site is in sub-directory Active ?
I think the problem is the template file, which could not be found/resolved in the given path.
Did you change the delivered example json?BR
Daniel Hi,
I have tested everything, the path is correct, i did the steps in the other issue, and nothing works.
I dd(DRUPAL_ROOT . $form_state->getValue('file_path'));
and the path is correct:
"/var/www/html/my_site/web/modules/contrib/ckeditor5_template/template/ckeditor5_template.json"Thanks
After doing some more tests i realize that @dbielke1986 advice was correct. The problem is the path of the json file.
thanks
- Status changed to Postponed: needs info
10 months ago 11:51am 11 June 2024 - 🇩🇪Germany dbielke1986
@sfm1977:
Great! But what I haven't quite understood yet:
Is the problem solved now, or do we have to change something in the code?Was it the linked item, or was the json as such faulty that you included?
BR
It is solved changing the path of my site, adding web folder.
Thanks
- Status changed to Closed: works as designed
10 months ago 10:02am 17 June 2024