• <bdo id='ecj5Q'></bdo><ul id='ecj5Q'></ul>

    1. <tfoot id='ecj5Q'></tfoot>

      <legend id='ecj5Q'><style id='ecj5Q'><dir id='ecj5Q'><q id='ecj5Q'></q></dir></style></legend>

      1. <i id='ecj5Q'><tr id='ecj5Q'><dt id='ecj5Q'><q id='ecj5Q'><span id='ecj5Q'><b id='ecj5Q'><form id='ecj5Q'><ins id='ecj5Q'></ins><ul id='ecj5Q'></ul><sub id='ecj5Q'></sub></form><legend id='ecj5Q'></legend><bdo id='ecj5Q'><pre id='ecj5Q'><center id='ecj5Q'></center></pre></bdo></b><th id='ecj5Q'></th></span></q></dt></tr></i><div id='ecj5Q'><tfoot id='ecj5Q'></tfoot><dl id='ecj5Q'><fieldset id='ecj5Q'></fieldset></dl></div>

        <small id='ecj5Q'></small><noframes id='ecj5Q'>

      2. Laravel 文件不存在 - 文件上传

        Laravel file does not exist - file upload(Laravel 文件不存在 - 文件上传)
      3. <small id='Xtl7L'></small><noframes id='Xtl7L'>

        <legend id='Xtl7L'><style id='Xtl7L'><dir id='Xtl7L'><q id='Xtl7L'></q></dir></style></legend>
          <tbody id='Xtl7L'></tbody>
        <tfoot id='Xtl7L'></tfoot>
          <bdo id='Xtl7L'></bdo><ul id='Xtl7L'></ul>
          <i id='Xtl7L'><tr id='Xtl7L'><dt id='Xtl7L'><q id='Xtl7L'><span id='Xtl7L'><b id='Xtl7L'><form id='Xtl7L'><ins id='Xtl7L'></ins><ul id='Xtl7L'></ul><sub id='Xtl7L'></sub></form><legend id='Xtl7L'></legend><bdo id='Xtl7L'><pre id='Xtl7L'><center id='Xtl7L'></center></pre></bdo></b><th id='Xtl7L'></th></span></q></dt></tr></i><div id='Xtl7L'><tfoot id='Xtl7L'></tfoot><dl id='Xtl7L'><fieldset id='Xtl7L'></fieldset></dl></div>

                  本文介绍了Laravel 文件不存在 - 文件上传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用表单上传视频文件.由于某种原因,我得到的只是以下错误:

                  I am using a form to upload video files. For some reason all I get is the following error:

                  Symfony  Component  HttpFoundation  File  Exception  FileNotFoundException
                  The file "" does not exist
                  

                  在我的控制器中,我有一个需要文件的验证规则,就像这样

                  In my controller I had a validation rule to require files, like so

                  $validator = Validator::make(Input::all(),
                    array(
                      'file'  => 'required'
                    )
                  );
                  

                  但是由于上述规则,我无法正确调试正在发生的事情,因此我最终将其删除,结果产生了上述错误.

                  But because of the above rule, I couldn't properly debug what is going on, therefore I ended up removing it, as a result to generate the above error.

                  推荐答案

                  在php.ini文件中,修改如下:

                  In the php.ini file, change the following:

                  upload_max_filesize = 20M
                  post_max_size = 20M
                  

                  这应该可以正常工作.

                  这篇关于Laravel 文件不存在 - 文件上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  PHP Upload File Validation(PHP 上传文件验证)
                  PHP Error - Uploading a file(PHP 错误 - 上传文件)
                  How can I write tests for file upload in PHP?(如何在 PHP 中编写文件上传测试?)
                  php resizing image on upload rotates the image when i don#39;t want it to(php在上传时调整图像大小会在我不想要它时旋转图像)
                  How to send additional data using PLupload?(如何使用 PLupload 发送附加数据?)
                  change button text in js/ajax after mp4 =gt;mp3 conversion in php(在 php 中的 mp4 =gt;mp3 转换后更改 js/ajax 中的按钮文本)
                  • <legend id='UFhho'><style id='UFhho'><dir id='UFhho'><q id='UFhho'></q></dir></style></legend>
                    <i id='UFhho'><tr id='UFhho'><dt id='UFhho'><q id='UFhho'><span id='UFhho'><b id='UFhho'><form id='UFhho'><ins id='UFhho'></ins><ul id='UFhho'></ul><sub id='UFhho'></sub></form><legend id='UFhho'></legend><bdo id='UFhho'><pre id='UFhho'><center id='UFhho'></center></pre></bdo></b><th id='UFhho'></th></span></q></dt></tr></i><div id='UFhho'><tfoot id='UFhho'></tfoot><dl id='UFhho'><fieldset id='UFhho'></fieldset></dl></div>
                  • <tfoot id='UFhho'></tfoot>

                    <small id='UFhho'></small><noframes id='UFhho'>

                      <bdo id='UFhho'></bdo><ul id='UFhho'></ul>

                          <tbody id='UFhho'></tbody>