The uploaded file could not be moved to /home/ …

O eroare des intalnita in toate versiunile de WordPress.

The uploaded file could not be moved to /home/public_html/wp-content/uploads/

Cand ? – Eroarea apare la upload-ul de fisiere via wordpress / dashboard / write post .

De ce ? – pentru ca blogul a fost mutat (fisiere + baza de date) de pe un server pe altul si s-au pierdut atributele / / permisiunile folderelor (chmod) . (Acesta este un caz particular. Motivele pot fi si altele)

Rezolvarea este foarte simpla. Editam urmatoarea linie in php.ini :

safe_mode_gid=ON

Schimbam apoi permisiunile folderului “uploads”.

chmod 777 wp-content/uploads

Distractie placuta! :)

Страстен за технологиите, пиша с удоволствие от stealthsetts.com, започвайки от 2006 г. Имам богат опит в операционните системи: macOS, Windows и Linux, но също така и в езици за програмиране и блогове (WordPress) и за онлайн магазини (WooCommerce, Magento, Presashop).

Начало » Вашият източник на ИТ уроци, полезни съвети и новини. » The uploaded file could not be moved to /home/ …
Оставете коментар