Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Fatal Errors Installing glz_custom_fields (Multiple Plugin Problems)
Hi,
My main problem is that I can’t get Gerhard Lazu’s glz_custom_fields plugin to install using a fresh Textpattern installation. The error I get is usually a variation of the following:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 77168640 bytes)
Gerhard Lazu advised me to open up the php memory_limit from 8M to 64M— after changing my php.ini file, I verified the changes were active by viewing php info, but the error persisted, only changing the byte count in the error message. I tested several larger memory_limits, and up to around 512M, I got the same error with higher byte-counts each time. Somewhere between 512M and 640M, this error disappears, but the plugin still fails to install— at that point Textpattern returns the following message:
Warning: gzinflate() [function.gzinflate]: buffer error in /…/textpattern/include/txp_plugin.php on line 212
At first I experimented only on my development platform, which is Mac OS 10.4.11 with MAMP using the latest stable version of Textpattern (4.0.6) checked out using subversion. In order to rule out idiosyncrasies with my local configuration, I established a fresh svn install of Textpattern on my remote server which is running stable LAMP software— I’m willing to post my High Diagnostic details if needed.
When the plugin failed to install using a fresh installation there, I checked to see if this problem was unique to this version of Textpattern by checking out both the 4.0.5 and 4.0 Dev versions, but the plugin failed to install in these as well, yeilding the same error. I’m not sure what I should do from here.
glz_custom_fields isn’t the only plugin that is producing problems for me, but it’s the only one that fails to install outright. I’m also seeing errors when I install mem_self_register and mem_moderation, but those problems may be unrelated— I would be happy to solve one problem at a time.
Any guidance or support would be immensely appreciated!
Last edited by johnstephens (2008-06-19 03:02:15)
Offline
Re: Fatal Errors Installing glz_custom_fields (Multiple Plugin Problems)
FAQ: Fatal Error Allowed Memory Size
Most likely this isn’t caused by Textpattern nor plugins, as you said that the Textpattern is fresh install, instead I suspect that there is something wrong on your server. Fresh means that you don’t have plugins installed? Some script probably is leaking or module, or hardware problem. And, well, eh, 512M is just too much, there is something going wrong, just wrong.
I have experienced this sometimes time to time, while using Textpattern for these years, but never it’s been Textpattern fault (minus rss_superachieve that loads everything at once to the memory), more likely it’s been some other script – huge script that just freaking leaks: in example doesn’t unset globals, and so after while it crashes the server. In shared host enviroment this is quite common, when there is 2000 sites on a one little rusty server and the memory limit is what it is.
Last edited by Gocom (2008-06-19 06:11:36)
Offline
Re: Fatal Errors Installing glz_custom_fields (Multiple Plugin Problems)
Thanks. This article seems to implicate the plugin. Gerhard said he would send me a gzipped copy of it later to avoid any encoding problems.
Most likely this isn’t caused by Textpattern nor plugins, as you said that the Textpattern is fresh install, instead I suspect that there is something wrong on your server. Fresh means that you don’t have plugins installed?
That’s right. When I realized that I couldn’t install this plugin, I checked out TXP 4.0.6 using Subversion and I tried installing it without any other plugins in the way.
Some script probably is leaking or module, or hardware problem. And, well, eh, 512M is just too much, there is something going wrong, just wrong.
I’m not sure what it could be. I don’t have any scripts running locally, and none at my host either that I know of.
I have experienced this sometimes time to time, while using Textpattern for these years, but never it’s been Textpattern fault (minus rss_superachieve that loads everything at once to the memory), more likely it’s been some other script – huge script that just freaking leaks: in example doesn’t unset globals, and so after while it crashes the server. In shared host enviroment this is quite common, when there is 2000 sites on a one little rusty server and the memory limit is what it is.
That doesn’t seem to fit my situation, but I’m willing to perform some checks. Let me know what I should do.
Thanks again for your help. I’ll update this thread if anything new comes to light.
Offline
Re: Fatal Errors Installing glz_custom_fields (Multiple Plugin Problems)
Update
Gerhard sent me a gzipped copy of the plugin and it installed like a charm. Apparently the file I attempted to use previously was corrupt.
As for the other plugins I had trouble installing, I discovered my own error and installed them without further problem.
These issues are resolved. Yay!
Last edited by johnstephens (2008-06-20 00:23:33)
Offline
Offline