• SmartRobbie

    (@smartrobbie)


    Hi All,

    I have the following error on one of my sites:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home2/inkyprin/public_html/wp-content/themes/sellya/swpf/class-tgm-plugin-activation.php on line 1451

    I tried following all the instructions on this link:
    https://www.ads-software.com/support/topic/fatal-error-allowed-memory-size-of-33554432-bytes-exhausted-14?replies=33

    I have increased the file upload limit and all mentions of 65MB to 128MB then tried 256MB but nothing seemed to work. the PHP file is located in wp-admin.

    I had a look at the ‘class-tgm-plugin-activation.php’ but there doesn’t seem to be anything in there that I can update.

    Any suggestions.

Viewing 11 replies - 1 through 11 (of 11 total)
  • WPyogi

    (@wpyogi)

    Where is your site hosted? Maybe you are not able to increase that?

    Thread Starter SmartRobbie

    (@smartrobbie)

    The site is hosted at crazy domains.

    esmi

    (@esmi)

    Have you tried asking them about this?

    Thread Starter SmartRobbie

    (@smartrobbie)

    yes i did, they said they updated the php file and the front end seems to be working now, but since that happened, the backend is all funny (layout is like a broken html if that makes any sense). i will keep digging and see what I can find out.

    GregR71

    (@gregr71)

    The backend problem is happening to numerous people, including myself. We all seem to be at Crazy Domains. Hmmm…

    GregR71

    (@gregr71)

    I encountered the memory problem a couple of months ago and found the same solution, but was creating a file on my desktop named php.ini, then uploading it to the server.

    What I didn’t realize was that you have to create the file from within cpanel using the “Create File” thing at the top of File Manager. Then edit the file.

    Just thought I’d point that out to save other people like me some time.

    geebeede

    (@geebeede)

    Greg, can I ask you to explain the php.ini file thing a bit further for someone like me who is not so exerienced?
    I had the same problem and got it solved by Crazydomain, but I’d love to know myself…
    Thank you so much, I really would appreciate it…
    (I apologise for drifting away a little from the actual problem with this request!!!) Maybe it helps as well ??

    GregR71

    (@gregr71)

    Log into Crazy Domains account, open File Manager (cpanel).

    In your root directory, you will see a folder called “WP-Admin”. Double-click into that folder/ directory.

    Top of your screen to the left is an option to “Create File”. Click that and create “php.ini”.

    Inside that file, put the text “memory_limit = 256M ;”

    Save file and close.

    Done. Note there is a space before and after the = sign and after the M. I don’t know if that matters but this text in a php.ini file fixed my memory problems.

    geebeede

    (@geebeede)

    Wonderful. I will try this!!! Thanks a lot!!

    Thread Starter SmartRobbie

    (@smartrobbie)

    Thanks, yes there are some strange things going on. the memory has been increased and the backend looks normal again, but now I can’t search/load/update any plugins or themes. Very strange.

    Hi Greg… i just wanna say that Im impressed with your method!
    the php.ini method really works on wordpress 4.0
    thank you so much!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fatal error: Allowed memory size of 33554432 bytes exhausted’ is closed to new replies.