• Resolved ki450751

    (@ki450751)


    Hi there

    Working on https://www.businessnetworkingafterwork.co.uk

    It was going so well until I had the following error message appear on my screen today:-

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /home/telecoms/public_html/www.businessnetworkingafterwork.co.uk/wp-includes/wp-db.php on line 903

    How can I rectify this matter, please?

Viewing 13 replies - 1 through 13 (of 13 total)
  • govpatel

    (@govpatel)

    You will need to increase your memory try one of this steps

    1. Try adding this line to your wp-config.php file:
    define(‘WP_MEMORY_LIMIT’, ’128M’);

    If this does not work you will need log in ftp client or server and find php.ini file in root and edit the file.

    2. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 128M:
    memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)

    3. If you don’t have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 128M

    If none of above works then may be your host has restricted you to increase the memory limit then you will need to contact your host and let them know of the problem before you make any other changes to your wordpress install.

    Thread Starter ki450751

    (@ki450751)

    Hi govpatel

    Thanks for this. I could not action no 1. The message displayed was:-
    Parse error: syntax error, unexpected T_STRING in /home/telecoms/public_html/www.businessnetworkingafterwork.co.uk/wp-config.php on line 47

    Went onto action 2. Accessed PHP.ini file to discover that memory_limit is already configured for 128M

    The initial error message states that the allowed memory size of 134217728 bytes exhausted. This must suggest that my website needs to access more than 128Mb at anyone time. Is there a log/programme etc that will tell which plugin’s or functions are creating this demand for memory?

    What else can I do to remedy this critical issue?

    Richard

    govpatel

    (@govpatel)

    You can check with your host see if they can help

    Thread Starter ki450751

    (@ki450751)

    My host have been very helpful. They have increased memory to 256M using the php.ini file. Still I cannot access my site. I have loaded Buddy Press. I am convinced this is the plugin that is creating the problem but I cannot access my dashboard to access the plugin. Any more thoughts?

    Thread Starter ki450751

    (@ki450751)

    I have checked my error log. It does seem that the error is due to insufficient memory required to open pages in buddy press.

    govpatel

    (@govpatel)

    I am using buddypress on my website and and do not have the problem you can deactivate the plugin if you wish.

    Using ftp rename buddypress plugin in plugin folder.

    Thread Starter ki450751

    (@ki450751)

    Thanks. Renaming plugin has enabled me to access my WP log in page but cannot load the dashboard having entered my username and password.

    Error message on my host log:[16-Feb-2012 13:16:50] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/telecoms/public_html/www.businessnetworkingafterwork.co.uk/wp-includes/wp-db.php on line 1375

    If this is a memory issue, I wonder, how much memory have you configured to enable your BP installation to work?

    govpatel

    (@govpatel)

    You need to check with your host see if they can help as I tried to go on your website https://www.businessnetworkingafterwork.co.uk and will just not load.

    Thread Starter ki450751

    (@ki450751)

    I know this but am trying to understand whether it is a memory issue, or something else before I do this. They have already allocated 256k

    Thread Starter ki450751

    (@ki450751)

    Woops, I meant 256Mb

    Thread Starter ki450751

    (@ki450751)

    My host has given me freedom to increase the size of the php.ini file, so I have taken it right up to 4096M and back again to 128M; and still I cannot access my WP admin dashboard. Is it therefore a memory issue, I wonder?

    The error I see in my host error log is:-
    PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/telecoms/public_html/www.businessnetworkingafterwork.co.uk/wp-includes/wp-db.php on line 1080

    govpatel

    (@govpatel)

    Looks like your wordpress does not have memory problem it is timing out as its taking to long to connect with database. see if host can help

    Thread Starter ki450751

    (@ki450751)

    Problem solved. Moved the offending plugin. This was BuddyPress. I think it may have been in conflict with Expresso Lite, the event management plugin.

    Thanks again for your help.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Cannot load website’ is closed to new replies.