-
AuthorPosts
-
April 16, 2014 at 10:28 am #33904
Hi – we’re building a site and are keen to try this theme which we’ve just purchased. Very frustrating though to have issues at this early stage with the “Customizer”. It just won’t load – we have checked as far as time permits – the knowledge base and tried the usual fixes by editing the wp-config.php file loading these extra lines
define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
define( ‘WP_MAX_MEMORY_LIMIT’, ‘512M’ );We’ve also edited the htaccess file after feedback from our hosting (Heart Internet) by adding the line RLimitMem max so it reads:
# Switch rewrite engine off in case this was installed under HostPay.
RewriteEngine OffSetEnv DEFAULT_PHP_VERSION 53
DirectoryIndex index.cgi index.php
RLimitMem max# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
We’ve installed the theme successfully via MAMP on our local site etc so we know it works OK.
We also noticed that on setting up the theme we couldn’t autoload some of the required / recommended plugins. (We just manually installed from the files).
What else can we try to get the customizer working – as it is it just hangs on the http://www.clientwebsite.org.uk/wp-admin/customize.php Loading page ?
Can we process a refund if we can’t get this working? FYI – after contacting our hosting provider here’s the feedback they provided:
PHP has a built-in limit on the amount of memory it will allocate. If that limit is reached, the process will exit with this error message. This is usually the result of the PHP script trying to load a large file, such as an image, into memory all at once. While it is better if you can arrange for the script not to do such things, it is also possible to increase the memory limit to avoid this problem. To do that, edit (or create in your script’s folder if it does not exist) the php.ini file with your PHP scripts (create it if it does not exist) and add the following line:
memory_limit=32M
You should replace the ’32’ with whatever value is appropriate. The default is 32M (32 megabytes)
If you are using PHP 5.3, you may also need to check for .user.ini files in the same directory which may be overriding your settings.
If this does not resolve the problem, you can also increase the web server memory limit by editing (or creating in your script’s folder if it does not exist) the “.htaccess” file and adding the following line:
RLimitMem max
Both php.ini and .htaccess files should be created in plain text (for example with Notepad on Windows, or TextEdit in Plain Text mode on a Mac) to avoid any formatting information being saved. Rich text editors such as WordPad, MS Word, and TextEdit in its default Rich Text mode will produce unreadable files.Thanks & Regards,
DavidApril 16, 2014 at 5:27 pm #34147Hi there,
Have you tried editing your php.ini or user.ini as suggested by your hosting provider? Some shared hosting offers low memory, and some had much user sharing on same machine which making it too slow even with higher memory.
Thank you.
April 16, 2014 at 7:18 pm #34174increase the memory by adding a line similar to the following in wp-config.php (before MySQL settings block) and it might work.
/* Increase PHP memory */ define( 'WP_MEMORY_LIMIT', '64M' );
April 17, 2014 at 10:49 am #34401Hi David,
These days 32M isn’t enough to run WordPress. I’d recommend pushing that up to 64M or even 96M.
See if your host can go ahead and put that configuration change in affect for you; often they will.
I’m afraid there’s no way we could do a refund, as this is a server configuration issue. If you can’t get it working with them, you may want to consider upgrading hosts.
-
AuthorPosts