Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: chris-j-d on April 02, 2008, 04:04:59 PM

Title: Package Installation > Fatal Error!
Post by: chris-j-d on April 02, 2008, 04:04:59 PM
I hope I'm in the right forum.

The past few days I've tried out a lot of forum software and so far SimpleMachines seems the best to me. Thanks to all behind the project!

But I have a problem. I can upload new packages to my server space, but when I run the installation routine I always get this message:

FATAL ERROR - Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes)

Similar routines e.g. in Joomla run smoothly.

What I'm asking is, if there's an alternative way install packages. I could easily change write permissions to any files by myself. I just need to know which files and how to get around this built-in routine.

Thanks for your time!
Title: Re: Package Installation > Fatal Error!
Post by: shadow82x on April 02, 2008, 04:06:34 PM
Hi and welcome to SMF. :D

Great to see you joined the forum.


This seems more like a host issue. Take a look at these search results - http://www.simplemachines.org/community/index.php?action=search2;search=FATAL+ERROR+-+Allowed+memory+size+of+
Title: Re: Package Installation > Fatal Error!
Post by: chris-j-d on April 02, 2008, 04:22:50 PM
Wow! Thanks for your quick reply!

However, the reason why I posted here is because I couldn't find a solution for my problem after 2 hours of research in this forum. All discussed memory errors occur in other situations than mine. Besides one:

http://www.simplemachines.org/community/index.php?topic=100959.msg652813#msg652813 (http://www.simplemachines.org/community/index.php?topic=100959.msg652813#msg652813) (see problem 2)

But this post is from 2006 and his problem was never solved ...  :'(
Title: Re: Package Installation > Fatal Error!
Post by: Herman's Mixen on April 02, 2008, 04:29:09 PM
this is a memory setting in php.ini your host need to add extra memory to it ;)
Title: Re: Package Installation > Fatal Error! [solved]
Post by: chris-j-d on April 03, 2008, 11:03:31 AM
It's probably not insufficient memory but the fact that for some reason SMF is not able or allowed to change write permissions to files. Therefore I look up the files that have to be writable in the .xml's of the mod and change permissions myself. This works in most cases, but not in the Custom Profile Field Mod (see my new post http://www.simplemachines.org/community/index.php?topic=232354.0).
Title: Re: Package Installation > Fatal Error!
Post by: metallica48423 on April 03, 2008, 03:06:05 PM
If you're using SMF 2.0, you have no reason to install the custom profile field mod -- it is built in to the system by default.

Some php configurations seem to incorrectly report a memory error on a permissions  issue, its something i see only sporadically, however.  If it truly is a memory issue though, then likely you would want your host to increase the php memory allocation.  If they have it under-allocated it will also cause this error.  Some hosts may gimp this value simply to prevent resource overuse.