• Mr. A

    (@amber-nagpal)


    Hello Friends!
    I have a problem when Import WordPress posts and other data using ‘wordpress-importer’ it says:

    “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.”

    I added this code in wp-config file, but it not doesn’t work, the code is:
    [define(‘post_max_size’, ’32M’);
    define(‘upload_max_filesize’, ’32M’);]
    what can I do?
    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Mr. A

    (@amber-nagpal)

    I also ussed this code(in wp-config):
    define(‘WP_MEMORY_LIMIT’, ’64M’);
    ini_set(‘post_max_size’, ’50M’);
    ini_set(‘upload_max_filesize’, ’50M’);

    please please reply fast

    its very urgent

    Thread Starter Mr. A

    (@amber-nagpal)

    I made a php.ini file and use the following coding :
    “[PHP]
    post_max_size=64M
    upload_max_filesize=32M”
    but all in west.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘post_max_size being defined as smaller than upload_max_filesize’ is closed to new replies.