Почему то не хотят на прямую через браузер грузиться изображения, как в профиле добавить аватарку так и в материалах. Идинственно что если сам через ФТП заливаю в папку и импортирую через галерею. В чем пробелма ? И везде выдает такюу ошибку если загружать через браузер:
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/www/.../tmp/phposiHe8) is not within the allowed path(s): (/www/.../public_html) in /www/.../public_html/includes/image.inc on line 117.
warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/www/.../tmp/phposiHe8) is not within the allowed path(s): (/www/.../public_html) in /www/.../public_html/includes/image.inc on line 117.
Указанный файл iconka.jpg не может быть загружен. Разрешены только JPEG, PNG и GIF изображения.
Спасибо за помощь !
Комментарии
Решение найдено на drupal.org:
«It was solved in two steps (thanks to various forums)
- in admin/site management/file system check the path for tmp folder (in my case, it was not congruent with the path to the files folder)
- even after correction, the message stays => delete the current tmp folder via ftp, and in admin, save config again: a correct folder is created
I get a second error message regarding the sites/default/languages folder where a file is not correct
- same solution: I delete the folder and save config again: no more error message»
поменял папку темп и все заработало, спасибо !