Upload Feature Inhibited Error When Adding Files or Images in ModX Tính năng tải lên Inhibited Lỗi Khi Thêm tập tin hoặc hình ảnh trong ModX
When trying to upload files, images or photos using the built-in file uploading utility in ModX Manage Files page, tinyMCE or FCKeditor (FCK) Resource Browser, the following error message may appear and uploading fails. Khi cố gắng để tải lên tập tin, hình ảnh hoặc hình ảnh bằng cách sử dụng-xây dựng trong tập tin tải lên các tiện ích trong ModX Quản lý các tập tin trang web, tinyMCE hoặc FCKeditor (FCK) của trình duyệt, các thông báo lỗi có thể xuất hiện và tải lên bị lỗi.
Upload feature inhibited - make sure uploads are supported and the directory is writable for PHP. Tải tính năng inhibited - đảm bảo được hỗ trợ và tải lên thư mục được ghi cho PHP.
or, hoặc,
Failed to upload file, internal error. Không thể tải lên tập tin, lỗi nội bộ.
To fix the cannot and unable to and and upload files and pictures to the web server via ModX manager administration user interface, ensure that the following directories on the web server have writable access for Apache HTTPD server, especially when Apache (and so do ModX script) is running as 'nobody' with group 'nobody', and the ModX directories are uploaded or created by different user. Để khắc phục không thể và không thể và và tải lên các tập tin và hình ảnh vào máy chủ trang web ModX quản lý hành chính thông qua giao diện người dùng, đảm bảo rằng các thư mục sau đây trên trang web có ghi máy chủ quyền truy cập cho Apache HTTPD phục vụ, đặc biệt là khi Apache (và do đó làm ModX script ) là hoạt động như là 'không' với nhóm 'không', và ModX thư mục được tải lên hoặc được tạo ra bởi người sử dụng khác nhau.
- /assets/cache directory and all files inside it, except index.html / tài sản / bộ nhớ cache thư mục và tất cả các tập tin bên trong nó, ngoại trừ index.html
- /assets/export folder / tài sản / xuất thư mục
- /assets/images folder / tài sản / thư mục hình ảnh
- /assets/files directory / tài sản / các tập tin thư mục
Login to the server, and use CHMOD command to change the permissions of the above directories' attributes to at least 0666 (rw-rw-rw-), which grants read-write access to owner, group and public. Đăng nhập vào máy chủ, và sử dụng lệnh CHMOD để thay đổi quyền trên thư mục 'thuộc tính ít nhất là đến 0666 (rw-rw-rw-), mà cho phép đọc và ghi quyền truy cập vào chủ sở hữu, nhóm và công chúng. Sometimes, the directories have to be CHMOD set to 0777 (rwxrwxrwx) for the uploading to work properly. Đôi khi, các thư mục đã được CHMOD đặt để 0777 (rwxrwxrwx) để tải lên để hoạt động bình thường.
Also possible cause that forbids files been uploaded is file_uploads directive of PHP is turned off, although this situation is unlikely to happen in web hosting server. Ngoài ra có thể gây ra rằng các tập tin được tải lên cấm là file_uploads Chỉ thị của PHP là tắt, mặc dù tình trạng này là không để xảy ra trong máy chủ của máy chủ web. To check the value of file_uploads PHP directive, go to Reports -> System Info , then in the “Server” section, click on View after the phpinfo(). Để kiểm tra giá trị của file_uploads PHP Chỉ thị, hãy đi tới báo cáo -> Hệ thống Thông tin, sau đó trong "Máy chủ" phần, hãy nhấp vào Xem sau khi phpinfo (). Locate file_uploads directive under the Configuration - PHP Core section. Xác định vị trí file_uploads Chỉ thị theo cấu hình - PHP phần cốt lõi. It should shows On , else edit your PHP.INI to turn off the PHP file uploading support. Nó sẽ hiển thị ngày, người nào khác để chỉnh sửa của bạn PHP.INI tắt các tập tin tải lên hỗ trợ PHP.
Sometimes, user may have simply upload to the wrong directory. Đôi khi, người dùng có thể tải lên một cách đơn giản để sai thư mục. As mentioned above, for security reason, only a few sub-directories inside the “assets” directory should be make writable to everybody, including Apache. Như đã nói ở trên, vì lý do an ninh, chỉ có một vài phụ bên trong các thư mục "tài sản" làm cho thư mục cần được ghi vào tất cả mọi người, bao gồm cả Apache. When user using File Manager under Resources - Manage Files to upload, by default ModX will open root directory of ModX website, and attempt to upload to the root directory with no permission granted. Khi người sử dụng bằng cách sử dụng tập tin quản lý theo nguyên - Quản lý tập tin để tải lên, theo mặc định ModX sẽ mở thư mục gốc của ModX trang web, và cố gắng để tải lên thư mục gốc mà không có sự cho phép cấp.

As can see from figure above, the directory listing is for “/”, which is top root directory. Như có thể nhìn thấy từ con số trên, danh sách các thư mục là dành cho "/", đó là thư mục gốc đầu trang. To access the correct directory, simply click on the assets directory, and then go to the sub-folder which you want to upload the file. Để truy cập vào thư mục chính xác, chỉ cần click vào thư mục tài sản, và sau đó đi đến các tiểu thư mục mà bạn muốn tải lên tập tin này.
The same problem may happen using using TinyMCE or FCK editor to upload photos and images. Tháng năm cùng một vấn đề xảy ra bằng cách sử dụng bằng cách sử dụng TinyMCE hay FCK biên tập để đăng tải hình ảnh và hình ảnh. The issue mainly arises from invalid path been set as the path to the assets folder. Vấn đề chủ yếu phát sinh từ các đường dẫn không hợp lệ được thiết lập như là đường dẫn đến thư mục tài sản. To correct and resolve the problem in future, go to Tools -> Configuration -> Interface & Features , and ensure that Resource URL is set as /home/nethler/public_html/assets/ and Resource Path as assets/ . Để chính xác và giải quyết vấn đề trong tương lai, vào Công cụ -> Cấu hình -> Tính năng & Giao diện, và đảm bảo rằng địa chỉ được đặt nguyên như là / home / nethler / public_html / tài sản / tài nguyên và con đường như là tài sản /. Another setting is at Tools -> Configuration -> File manager-> File Manager Path, which should be set as a directory which you want the File Manager to go into by default, instead of “/home/nethler/public_html/” which is set on installation by default. Một là thiết lập tại Công cụ -> Cấu hình -> quản lý file-> Quản lý Đường dẫn tập tin, mà phải được thiết lập như là một thư mục mà bạn muốn quản lý tập tin để đi vào theo mặc định, thay vì "/ home / nethler / public_html /" là đặt trên cài đặt theo mặc định. Note that all directory path has to be finished with slash (/). Lưu ý rằng tất cả các đường dẫn thư mục đã được hoàn tất với slash (/).
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. Lưu ý: Bạn đang đọc một máy phiên dịch trang web là cung cấp "như là" mà không có bảo hành. Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible. Không giống như con người dịch, dịch thuật máy tính không hiểu được ngữ pháp, NGHĨA, cú pháp, thành ngữ tự nhiên, ngôn ngữ, do đó thường không chính xác và các sản phẩm kém chất lượng văn bản đó là gây hiểu nhầm và incomprehensible. Thus, please refer to Vì vậy, xin vui lòng tham khảo original English article Tiếng Anh bản gốc bài viết when in doubt. khi nghi ngờ.
Related Articles Bài viết liên quan
- Upload Huge Files to Multiple Sites and Make Money With Unique Download Via UploadJockey Tải lên tập tin lớn vào nhiều trang web và Kiếm tiền Với duy nhất Download Qua UploadJockey
- Call to Undefined Function: wp_constrain_dimensions() When Uploading Images or image_downsize() in Gallery/Media Library in WordPress 2.5 Gọi đến Không định rõ Chức năng: wp_constrain_dimensions () Khi tải lên hình ảnh hoặc image_downsize () trong Thư viện ảnh / Thư viện Truyền thông trong WordPress 2,5
- Download Direct Folder v3.3 for Fast Folders and Files Access on Your PC Thư mục tải về trực tiếp cho nhanh v3.3 Các thư mục và tập tin truy cập trên máy tính của bạn
- Fix Error Cannot Install WGA or OGA Plugin (WGAPluginInstall.exe and OGAPluginInstall.exe) in Firefox Không thể sửa chữa lỗi cài đặt WGA hoặc OGA Plugin (WGAPluginInstall.exe và OGAPluginInstall.exe) trong Firefox
- Fix Deleted SAM File Causing Windows Vista Unable to Boot Error Đã xoá sửa tệp SÂM gây Windows Vista Không thể khởi động Lỗi
- How to Take Ownership and Full Control Permissions of Files and Folders in Vista Làm thế nào để Đi Quyền sở hữu và kiểm soát đầy đủ của Quyền tập tin và thư mục trong Vista
- MyBloop Free Unlimited File Storage Space with No Limit on Bandwidth and Files Count MyBloop miễn phí không giới hạn không gian lưu trữ file với Không có giới hạn về Bandwidth và tập tin Ñeám
- Fix Setup Installer Package Access Denied Failure Error Code 0×80070005 (Or 5 Or 0×5) Sửa chữa thiết lập cài đặt trọn gói Truy chối Không Lỗi Mã số 0 × 80070005 (Hoặc 5 Hoặc 0 × 5)
- Upload Photos to Flickr with Friendly Flickr Applications Hình ảnh để tải lên Flickr Thân thiện với ứng dụng Flickr
- Drop.io Private Exchange - Free Interactive Files Sharing Storage Service with Comment Support Drop.io Phòng giao dịch - Chia sẻ tập tin miễn phí tương tác với các dịch vụ lưu trữ Thảo luận Hỗ trợ









































