Jump to content
View in the app

A better way to browse. Learn more.

Дизайн и модификация Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Не скачивает файлы с форума

Добрый день!

Заметил, что на моём форуме IPB 2.3.6 стало невозможным скачать файлы, проверял папки uploads, файлы на месте, только формат их стал .IPB, при попытки скачивания вместо файла перекидывает на другую страницу, где:

 

Обнаружена ошибка. Если вам неизвестны причины ошибки, попробуйте обратиться к разделам помощи.

Причина:

Некоторые требуемые файлы отсутствуют. Если вы хотели просмотреть тему, возможно эта тема перемещена или удалена. Вернитесь назад и попробуйте снова.

 

Помогите пожалуйста..

Featured Replies

missing_file может означать отсутствие ид файла (записи в бд о нем), проблемы с настройками расширениями и MIME типов для них, не только отсутствие файла на диске.

  • Author

а как решить этy проблему?

Edited by dylda

  • Author

спасибо, но пока неочень понятно как именно это исправить..

Засуньте это в class_attach.php перед if ( ! $attachment['attach_id'] ), попробуйте скачать файл и покажите результат.

 

	echo "attach_id: {$attachment['attach_id']}<br />";
	echo "attach_ext: {$attach['attach_ext']}<br />";
	echo "attachtypes: {$this->ipsclass->cache['attachtypes'][ $attach['attach_ext'] ]['atype_mimetype']}<br >";
	echo "file: {$this->_upload_path}/{$attach['attach_location']}<br />";
	if( ! file_exists("{$this->_upload_path}/{$attach['attach_location']}") )
	{
		echo "File Not found<br />";
	}
	die();

 

Путь к папке uploads в настройках смотрели?

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.