• Resolved StrawJam

    (@strawjam)


    Hello!
    Many years ago I installed wordpress on my site (https://www.strawjam.com/strawblog/) without problems.
    Now, I just installed a new version of wordpress on the same site in a different folder, for testing, and pulling a different database, but although I was unable to enter the data and appears to be connected to the database, it returns me this error message and do not know to fix it.

    “Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 77824 bytes) in /htdocs/PRUEBAS/wp-includes/class-http.php on line 1307”
    https://www.strawjam.com/PRUEBAS/wp-admin/install.php

    If someone could guide me I would appreciate it very much.
    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator t-p

    (@t-p)

    Have you tried increasing memory available for php.

    Thread Starter StrawJam

    (@strawjam)

    Thank you for your help, Tara.
    I have try following the instructions in that link, but it didn’t work.
    My hosting (for the new ddbb) set the PHP limit 25 MB for MySQL.
    Is it too short to install WordPress?

    Moderator t-p

    (@t-p)

    Hi theonlybob, read the following codex guide about the memory needed for WordPress to function correctly.

    Thread Starter StrawJam

    (@strawjam)

    Probably it’s for my bad english but I can’t find that information…

    Moderator t-p

    (@t-p)

    to start with, try increas memory to 64MB and see if that works.

    Thread Starter StrawJam

    (@strawjam)

    But to try that I would need to pay for more hosting… ??
    Maybe it’s the only way.
    Thank you, Tara.

    Thread Starter StrawJam

    (@strawjam)

    I’m reading some articles in Internet and it seems not to be the problem.
    https://www.inmotionhosting.com/support/website/wordpress/fix-fatal-error-allowed-memory-size-exhausted
    I have enough space, but my hosting don’t let me use it.
    I have find a few ways to fix it:


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

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

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

    4. Talk to your host.

    but I can’t see the php.ini in my hosting and tomorrow I’ll try fix the problem talking with my host

    Thread Starter StrawJam

    (@strawjam)

    Solved.
    I talk with my host on monday, they modificated the php.ini limit and now it works!

    Moderator t-p

    (@t-p)

    Glad to hear that ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error message after entering data bbdd’ is closed to new replies.