Страница 1 из 1
ЯндексДиск - доступ к файлам из новой версии
Добавлено: 09 окт 2024, 12:54
uvex
Были поля для вложения версии с правилами хранения.
После обновления на 3.5.4 ни один файл загруженный по старому типу поля "вложения" с правилом хранения на Яндекс не открывается
Как восстановоить доступ к файлам?
на диске все файлы есть.
Перегружать такое количесво файлов будет ооочень большой проблемой
Re: ЯндексДиск - доступ к файлам из новой версии
Добавлено: 10 окт 2024, 10:01
support
А что пишет? Ошибка или файл не найдет? В пхп логах что есть?
Re: ЯндексДиск - доступ к файлам из новой версии
Добавлено: 10 окт 2024, 10:22
uvex
Выбрасывает страницу с URL адреса файла по типу:
Код: Выделить всё
https://site.ru/index.php?module=items/info&path=26-1189/43-1404&action=download_attachment&file=MTcyMDAxNTI3MV%2FQo9GC0LLQtdGA0LbQtNC10L3QvdGL0Llf0LzQsNC60LXRgl%2FQmtGD0YDRgdC60LDRj18yX9C60LMucGRm&field=428
Страница недоступна Сайт site.ru пока не может обработать этот запрос.
HTTP ERROR 500
в логах нет ничего, ни на хосте ни в логах приложения.
Re: ЯндексДиск - доступ к файлам из новой версии
Добавлено: 10 окт 2024, 10:35
uvex
Нашел логи.
Код: Выделить всё
[Thu Oct 10 10:33:21 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
[Thu Oct 10 10:33:23 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
[Thu Oct 10 10:33:23 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
[Thu Oct 10 10:33:24 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
[Thu Oct 10 10:33:24 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
[Thu Oct 10 10:33:24 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
[Thu Oct 10 10:33:25 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
[Thu Oct 10 10:33:25 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
[Thu Oct 10 10:33:25 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
[Thu Oct 10 10:33:26 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
[Thu Oct 10 10:33:27 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
[Thu Oct 10 10:33:27 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
[Thu Oct 10 10:33:28 2024] [error] [client 195.218.231.98:0] PHP Fatal error: Uncaught Error: Class "DiskClient" not found in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php:139\nStack trace:\n#0 /home/i/infoglyy/gssplan/public_html/plugins/ext/classes/file_storage.php(68): yandex_disk->download('1', '1726575440_Blan...')\n#1 /home/i/infoglyy/gssplan/public_html/modules/items/actions/info.php(177): file_storage::download_file(428, '1726575440_Blan...')\n#2 /home/i/infoglyy/gssplan/public_html/index.php(31): require('/home/i/infogly...')\n#3 {main}\n thrown in /home/i/infoglyy/gssplan/public_html/plugins/ext/file_storage_modules/yandex_disk/yandex_disk.php on line 139, referer https://plan.glavpaket.ru/index.php?module=items/info&path=26-1232&redirect_to=subentity&gotopage[77]=1
Re: ЯндексДиск - доступ к файлам из новой версии
Добавлено: 10 окт 2024, 13:41
support
Файл из архива замените в plugins\ext\file_storage_modules\yandex_disk\
Сообщите результат.
Re: ЯндексДиск - доступ к файлам из новой версии
Добавлено: 10 окт 2024, 15:49
uvex
Спасибо! Заработало!
Все файлы скачиваются