• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 PHP Error when upgrading to 1.2.4 using CLI Upgrader

Liam W

Well-known member
#1
This error occured:

Fatal error: Allowed memory size of 37748736 bytes exhausted (tried to allocate 512427 bytes) in /home/ingress/public_html/library/XenForo/Model/Phrase.php on line 933
I'm running it again now, and it seems to be working. Should that have happened though or should I be concerned?

Liam

EDIT: Another memory size error:

Fatal error: Allowed memory size of 37748736 bytes exhausted (tried to allocate 512427 bytes) in /home/ingress/public_html/library/XenForo/Model/Phrase.php on line 933
Always when rebuilding templates, always that line.
 

Mike

XenForo developer
Staff member
#2
That's a rather low max memory setting (1/4 PHP's default), especially if you have the ability to run via the CLI. I would recommend increasing this to at least 128M.

You may find that the CLI version can use more memory given that all the work is done in the same process. If in doubt, use the standard upgrade system.
 

Liam W

Well-known member
#3
Ok, my mistake. Completed successfully after increasing limit.

No idea why it was so low, must've changed it at some point...

Oh well, thanks.

Liam