ЯндексДиск - доступ к файлам из новой версии

Все вопросы/проблемы по установке и использовании.
Ответить
uvex
Спонсор
Спонсор
Сообщения: 143
Зарегистрирован: 10 окт 2016, 13:42
Имя: Алексей
Откуда: Санкт-Петербург
Организация: TASKKIT.PRO
Контактная информация:

ЯндексДиск - доступ к файлам из новой версии

Сообщение uvex »

Были поля для вложения версии с правилами хранения.
После обновления на 3.5.4 ни один файл загруженный по старому типу поля "вложения" с правилом хранения на Яндекс не открывается

Как восстановоить доступ к файлам?
на диске все файлы есть.

Перегружать такое количесво файлов будет ооочень большой проблемой
Аватара пользователя
support
Техническая поддержка
Сообщения: 7661
Зарегистрирован: 19 окт 2014, 18:22
Имя: Харчишин Сергей
Откуда: Крым, Евпатория

Re: ЯндексДиск - доступ к файлам из новой версии

Сообщение support »

А что пишет? Ошибка или файл не найдет? В пхп логах что есть?
uvex
Спонсор
Спонсор
Сообщения: 143
Зарегистрирован: 10 окт 2016, 13:42
Имя: Алексей
Откуда: Санкт-Петербург
Организация: TASKKIT.PRO
Контактная информация:

Re: ЯндексДиск - доступ к файлам из новой версии

Сообщение 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
в логах нет ничего, ни на хосте ни в логах приложения.
uvex
Спонсор
Спонсор
Сообщения: 143
Зарегистрирован: 10 окт 2016, 13:42
Имя: Алексей
Откуда: Санкт-Петербург
Организация: TASKKIT.PRO
Контактная информация:

Re: ЯндексДиск - доступ к файлам из новой версии

Сообщение 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
Аватара пользователя
support
Техническая поддержка
Сообщения: 7661
Зарегистрирован: 19 окт 2014, 18:22
Имя: Харчишин Сергей
Откуда: Крым, Евпатория

Re: ЯндексДиск - доступ к файлам из новой версии

Сообщение support »

Файл из архива замените в plugins\ext\file_storage_modules\yandex_disk\
Сообщите результат.
Вложения
yandex_disk.zip
(2.01 КБ) 116 скачиваний
uvex
Спонсор
Спонсор
Сообщения: 143
Зарегистрирован: 10 окт 2016, 13:42
Имя: Алексей
Откуда: Санкт-Петербург
Организация: TASKKIT.PRO
Контактная информация:

Re: ЯндексДиск - доступ к файлам из новой версии

Сообщение uvex »

Спасибо! Заработало!
Все файлы скачиваются
Ответить