Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ability to use boxes from plugins has disappeared #148

Open
Dayken777 opened this issue Sep 2, 2024 · 3 comments
Open

The ability to use boxes from plugins has disappeared #148

Dayken777 opened this issue Sep 2, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Dayken777
Copy link

The ability to use boxes from plugins has disappeared

v3.6.22

Steps to reproduce the behavior:

  1. I do everything according to the documentation https://docs.boxes.offline.ch/use-cases/editor-customization.html
  2. Creating a box in the editor
  3. Save
  4. See error

Error example:
An exception has been thrown during the rendering of a template ("Ошибка в имени файла: C:/OpenServer/domains/oc-gk-stone.loc/plugins/sells/dvboxes/partials/main.htm. Имена файлов могут содержать только латинские буквы, цифры, знаки подчеркивания и точки. Пример правильных имен файлов: page.htm, page, subdirectory/page").

Everything used to work

image
image
image

@Dayken777 Dayken777 added the bug Something isn't working label Sep 2, 2024
@tobias-kuendig
Copy link
Member

What was your previous version? This is related to the absolute path. October does not consider an absolute Windows path as valid, hence it throws the exception.

We have not changed anything in this regard in the last few versions. But it is possible that the change was introduced some time ago if you did not update the plugin recently.

@Dayken777
Copy link
Author

3.1 it seems to be

So everything will work on Linux?

@tobias-kuendig
Copy link
Member

I have not further investigated this exact error, but usually, these path errors occur a lot less on Linux. Nevertheless, it is probably something we can fix in the plugin code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants