• I am trying to import all my website data to sub-domain. When I import/upload (that downloaded file) to sub-domain. I get this error. How to fix it?
    ERROR:
    Sorry, there has been an error.
    File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.

    There is no ‘post_max_size’ in php.ini file.
    Only this is written here:
    memory_limit = 72M;
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • My php.ini includes both upload_max_filesize and post_max_size. Have you run phpinfo to see what php.ini is being used.

    /peter

    Thread Starter AmmatuNur

    (@ammatunur)

    Hi,
    Thanks for replying.
    Only this is written in phpinfo:

    <?php
    phpinfo();
    ?>

    Yes, run it from your browser and it will tell you more than you need to know about your configuration. Don’t leave that file on your system as it gives away a lot of hints to hackers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Increasing post_max_size' in php.ini file?’ is closed to new replies.