Halvor
Forum Replies Created
-
Forum: Plugins
In reply to: [Widget Logic Visual] Widget Logic Visual not working with 3.5iwdspiderwoman : For me, your soluion is a miracle. I do not know PHP, but I’m good at folloring instructions. (Married…lol)
It works just fine ! Now my site is up to date and everything works great !
Thank you.bh_WP_fan: Very true. But the change is worth a try.. (for us beginners)
Mike: I am not a programmer, but I’m good at ‘copy and paste’. Everything is already in the file ‘default-constants.php’. The section looked like this :
// set memory limits
if ( !defined(‘WP_MEMORY_LIMIT’) ) {
if( is_multisite() ) {
define(‘WP_MEMORY_LIMIT’, ’64M’);
} else {
define(‘WP_MEMORY_LIMIT’, ’32M’);
}
}
if ( ! defined( ‘WP_MAX_MEMORY_LIMIT’ ) ) {
define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );
}I changed only the numbers, so the section looks like this:
// set memory limits
if ( !defined(‘WP_MEMORY_LIMIT’) ) {
if( is_multisite() ) {
define(‘WP_MEMORY_LIMIT’, ‘128M’);
} else {
define(‘WP_MEMORY_LIMIT’, ’64M’);
}
}
if ( ! defined( ‘WP_MAX_MEMORY_LIMIT’ ) ) {
define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );
}I changed the file ‘default-constants.php : (the 128M was 64M before and the 64M was 32M before)
// set memory limits
if ( !defined(‘WP_MEMORY_LIMIT’) ) {
if( is_multisite() ) {
define(‘WP_MEMORY_LIMIT’, ‘128M’);
} else {
define(‘WP_MEMORY_LIMIT’, ’64M’);
}
}
if ( ! defined( ‘WP_MAX_MEMORY_LIMIT’ ) ) {
define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );
}Just have to tell you, Freckleboy: It worked perfect. I am NOT a programmer, so being able to get such a fix working at the first attempt is great. Thank you !!