Johncms Fatal Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Johncms Fatal Error

    I always got this error in johncms 4.0.0 ...

    "Fatal error : Out of memory (allocated 52428 (tried to allocate 77824 bytes) in /home/waprockn/public_html/community/incfiles/classes/functions.php on line 1230"

    How to fix this error? Do i have to buy an additional ram or cpu? I'm on a vps.

    #2
    LoL, Your site is using more then normal lol
    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
    Visit: WapMasterz Coming Back Soon!
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      Then what should I do? My main site runs very well but my johncms c0mmunity always g0t that error.. Do i have to add ram or cpu?

      Comment


        #4
        Increase the memory limit in .ini file. I think you can do that at runtime too. Increase to 8mb. 5mb too small.
        Perfection comes at a cost



        I accept liberty!

        Comment


          #5
          Where can i find that .ini to be edited bro?

          Comment


            #6
            Are you in vps or dedicated?
            That's the php configurations file

            Added after 6 minutes:

            Find the core or settings file and put this at the top

            @ini_set('memory_limit', '8M');
            If error persists, change to 16 or even 128.
            Last edited by frostymarvelous; 09.02.11, 12:57.
            Perfection comes at a cost



            I accept liberty!

            Comment


              #7
              Im in vps, i changed the php c0nfiguration in my whm and set it into -1 is it ok?

              Comment


                #8
                -1 means unlimited. That might cause problems later if you run a poorly written script, but should work.
                Perfection comes at a cost



                I accept liberty!

                Comment

                Working...
                X