title: fopen(): Filename cannot be empty (laravel 5.4)
body: <p>I´m having an 
  <code>ErrorException</code> in <code>FilesystemAdapter.php</code> line 146:</p>
  
  <pre><code>fopen(): Filename cannot be empty
  </code></pre>
  
  <p>Using laravel <code>FilupLoad-&gt;store()</code> method</p>
  
  <p>the form is multipart/form-data</p>
  
  <p>the store code:</p>
  
  <pre><code>if ($request-&gt;hasFile('photo') &amp;&amp; $request-&gt;photo-&gt;isValid()) {
  
              // dd($request-&gt;file('photo'));
              $path = $request-&gt;photo-&gt;store('profiles');
  
              $imagen = new Imagen(['url' =&gt; $path]);
  
              $imagen-&gt;save();
  
              $perfil-&gt;imagen()-&gt;attach($imagen);
          }
  </code></pre>
  
  <p>If I use <code>dd($request-&gt;file('photo'));</code> y see the filename </p>
  
  <p>Any help on this?
  after look at the <code>FilesystemAdapter.php</code> and it seems to be a problem with <code>getRealPath()</code>, always returns false. Any ideas? I'm new to php</p>