I tried to create new resume and in Personal information there is photo upload.
Uploading file I got this errors:
Warning: is_dir() [function.is-dir]: Unable to find the wrapper "private" - did you forget to enable it when you configured PHP? in file_prepare_directory() (line 441 of C:\xampp\htdocs\recruiter.kz\includes\file.inc).
Warning: is_dir() [function.is-dir]: Unable to find the wrapper "private" - did you forget to enable it when you configured PHP? in file_prepare_directory() (line 441 of C:\xampp\htdocs\recruiter.kz\includes\file.inc).
Warning: is_dir() [function.is-dir]: Unable to find the wrapper "private" - did you forget to enable it when you configured PHP? in drupal_chmod() (line 2147 of C:\xampp\htdocs\recruiter.kz\includes\file.inc).
Warning: is_dir() [function.is-dir]: Unable to find the wrapper "private" - did you forget to enable it when you configured PHP? in drupal_chmod() (line 2147 of C:\xampp\htdocs\recruiter.kz\includes\file.inc).
The file could not be uploaded.

I have no problems with other Drupal installations and I also have file uploads, the error appears only on recruiter distribution.

Comments

mh86’s picture

Category: bug » support

Do you have a private files directory configured?

clashar’s picture

I am not sure. I suppose I should configure it not from drupal but in php.ini?
btw I am on windows and please mention that I have no problem with file ulpoading on other drupal istallation on the same localhost

mh86’s picture

Status: Active » Fixed

This needs to be done in Drupal in Configuration > Media > File System

clashar’s picture

ok, thank you! maybe it's better to change an error "did you forget to enable it when you configured PHP?" to "configure it in Configuration > Media > File System"

mh86’s picture

yep, maybe, but it's a Drupal core thing :-)

mh86’s picture

no, PHP issue

clashar’s picture

ok, thanks)!!!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

CatsFromStonehenge’s picture

Issue summary: View changes

settings.php from Drupal8 ?