Fatal Error - Allowed Memory Size

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Reignman
    New Member
    • Dec 2011
    • 25
    • 4.1.x

    [Forum] Fatal Error - Allowed Memory Size

    Hello,

    I was trying to add Yandex metrica counter code to my footer template, but I got this error message:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 523800 bytes) in /home/user/public_html/includes/vb_template.php on line 51

    I made a search but couldn't find a solution how to fix it. I think it's about character limit for every template? Cause I can enter some lines but when I try to add long code of Yandex, it gives error.

    Please refer.
  • 2cv
    Member
    • Dec 2005
    • 60
    • 3.8.x

    #2
    put int memory in config fajle
    Web Hosting www.bilte.net - Citroen Info www.citroenbilten.com

    Comment

    • Reignman
      New Member
      • Dec 2011
      • 25
      • 4.1.x

      #3
      Thanks for your answer but I couldn't understand it.

      Comment

      • Zachery
        Former vBulletin Support
        • Jul 2002
        • 59097

        #4
        Its not, something caused a memory loop, their code might not be completely safe with the vbulletin code. Is it javascript?

        add this around your code
        HTML Code:
        <vb:literal>
        Your code here
        </vb:literal>

        Comment

        • Reignman
          New Member
          • Dec 2011
          • 25
          • 4.1.x

          #5
          Yes Zachery, it's a javascript code.

          I put it around the code you provided, and it worked, thank you very much. And 2cv, thanks for your attention.



          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...