Discuții » Parere despre Geasy Fork
Ошибка 500
The only error I see recently in the logs is relating to character encodings. Ensure your script is UTF-8 encoded.
Скрипт закодирован в UTF-8, но всё равно сайт выдаёт ошибку 500 при попытке опубликовать новую версию.
Attach it here on this discussion and I can investigate.
This error is caused by whatever new version you're trying to upload, so can you attach the new version in this discussion?
Здесь находится файл с обновлённым скриптом:
https://ru.files.me/u/rqttyxdz86
Не смог прикрепить файл сюда, так как не разрешает прикреплять подобные файлы к сообщению.
OK, I've found the problem... You have a syntax error in your script on this line:
"[CENTER]Пользователь форума будет наказан по пункту правил пользования форумом:[QUOTE][SIZE=5][color=red]2.06.[/color] Запрещено размещение любого возрастного контента, которые несут в себе интимный, либо насильственный характер, также фотографии содержащие в себе "шок-контент", на примере расчленения и тому подобного.[/QUOTE][/CENTER]<br>" +
(due to the use of quotation marks).
There seems to be a flaw in the library Greasy Fork uses for checking for syntax errors where if the error text has non-Latin characters, they get mangled, and so an error occurs trying to display them.
I've adjusted it on Greasy Fork's side so it doesn't cause a 500 error, but it will show � instead of the source text in the error message (but still have the line and column numbers). I've also filed an issue with the library.
Большое спасибо. Действительно, после удаления кавычек, смог обновить скрипт. Очень благодарен, удачи 🫱🏻🫲🏼
Здравствуйте, при попытке опубликовать новую версию скрипта, сайт выдаёт ошибку 500. С чем может быть связано и что делать?