• Resolved zxspectrum

    (@zxspectrum)


    Dear friends- Is it possible for users to upload photos lager than 2 mb? In case I enlarge the upload file size to 5 mb in Geodirectory main settings – HTTP Error occurs.

    • This topic was modified 3 years, 6 months ago by zxspectrum.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paolo

    (@paoltaia)

    Hi,

    The most common cause of this error is the lack of memory available for WordPress to use. To fix this, you need to increase the amount of memory PHP can use on your server.

    You can do this by adding the following code to your wp-config.php file.

    define( 'WP_MEMORY_LIMIT', '256M' );

    This code increases the WordPress memory limit to 256MB, which would be enough to fix any memory limit issues.

    Let me know if that was it.

    Thanks,

    Thread Starter zxspectrum

    (@zxspectrum)

    Hello, “define( ‘WP_MEMORY_LIMIT’, ‘256M’ );”- didn’t help. But, upgrade PHP to 8.0 helps a lot!:))) Thanx.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to upload photo over 2 mb?’ is closed to new replies.