Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Fatal Error on Install Functions PHP Line 3847
Avatar
temporal
Member
Free Members
sp_UserOfflineSmall Offline
Sep 29, 2013 - 8:25 pm

Good evening,

I'm trying to install a new copy of simple-press on a brand new WPMU installation. 

I keep getting the following error when I go to activate (or network activate) the plug-in:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /problem-with-post-edit-buttonome/problem-with-post-edit-buttonearye/public_html/wp-includes/functions.php on line 3847

I've tried turning off all my WP plugins, increasing the allowed WP memory to 128, and so far no luck.

I have a support ticket in with my hosting service to confirm my system meets the minimum requirements for Simple:Press, but presumably it does unless some module or something like that isn't installed on the server side.

Any ideas?

Thanks!

 

 

Avatar
temporal
Member
Free Members
sp_UserOfflineSmall Offline
Sep 29, 2013 - 9:03 pm

Follow-up

I consulted the codex for out-of-memory errors and added the line to my wp-config file, but I still get the fatal error when I attempt to activate the simple press plugin.

I'll append the initial reply from my hosting service below.  They confirm my system meets the minimum requirements and my memory levels are set well above 64k.

Thanks!

Hello,

That error specifies that the memory limit of 256MB, which is an extremely
high limit and equal to about a third of your total RAM, has been exhausted
and that the file functions.php requested 72 more bytes. The issue I am seeing
here is that the memory limit is not set to 256, but only 128MB, which is
still very high. I searched through the site for what could be increasing this
limit but have not come back with any sources.

I also created an info.php page to see what was being recognized as the memory
limit and that showed me 128MB as well.

I have verified that this server meets the specifications you listed:

PHP 5.3.25
GD installed

MySQL 5.0.96

Please provide me a way to recreate the error you are seeing.

Best Regards,

 

 

 

 

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2013 - 12:11 am

64k??  assume you mean 64M... and assuming you dont have a bunch of other stuff running (you mentioned disabling other plugins) thats more than enough...   WP recommends 48 or 64M, but we have run in 32M on minimal installs before...

but we do have a fair number of folks running simple press on multisite so its not unique to that...  but just to be clear, you are running at least wp 3.6, right?  you mentioned wpmu but it hasnt been called that in quite a few versions (now called multisite by wp devs)...

and you put it in the standard wp plugins folder (vs mu-plugins)?  and tried to activate it on the main site?

Avatar
temporal
Member
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2013 - 4:55 am

 

 

assume you mean 64m

Yes, I meant to say "64m".  It had been a long day ;-)

My hosting service has since confirmed that I've got ample memory, so that shouldn't be the problem.

you are running at least wp 3.6, right?

Yes, it's a brand-new installation of the very latest and all updates have been run.

and you put in the standard wp plugins folder (vs mu-plugins)? and tried to activate it on the main site?

I've only have one site site installed at the moment and I've tried both activating the plug-in on network wide and on the one site.  I also tried the install on a different multi-site network (on the same server) and got the same result.

As for trying a different upload location, I'll have to explore that more.  I've always uploaded my programs to the network folder and then decided whether or not to activate them at the network level or at the site level.

For future reference, are you saying also that Simple:Press cannot be activated network-wide?  Please let me know as it's relevant to my future plans.

Thanks!

 

 

 

 

 

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 30, 2013 - 5:19 am

I am afraid we need to wait for Mr Papa to answer the MS question.

I am curious what line of code (and in which function) you have for line 3847 of the functions.php file however.

andy-signature.png
YELLOW
SWORDFISH
Avatar
temporal
Member
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2013 - 5:43 am

Another follow-up:

I'm a paid wpmudev.org member too, and both wpmudev.org and Jim at tripawds.com speak glowingly of using Simple:Press in the multisite network.

As a follow-up question, could an errant install on the first try interfere with subsequent attempts?

On my first try I installed Simple:Press via the WP uploader and didn't realize that an FTP upload was recommended until after I got the first fatal error.  I deleted the Simple-Press plug-in directory and re-uploaded it via FTP only to get the same fatal errors.

If this might be relevant, any ideas how to ensure a previous unsuccessful installation is removed?

Thanks!

 

 

Avatar
temporal
Member
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2013 - 5:47 am

Yellow Swordfish said
I am afraid we need to wait for Mr Papa to answer the MS question.

I am curious what line of code (and in which function) you have for line 3847 of the functions.php file however.

I'm fairly new at this an haven't looked under the hood inside my functions.php folder before.  If you tell my how, particularly how to identify the function, I'll try and report back.

Thanks!

Avatar
temporal
Member
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2013 - 8:05 am

I'm waiting to hear back from my hosting service, but the good folks at WPMUDev feel that this is a garden variety resources issue even though I have 256m allocated to PHP. 

They've suggested that try allocating 512m and see if that makes a difference.

I'll report back!

Thanks!

Avatar
temporal
Member
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2013 - 1:10 pm

Yellow Swordfish said

I am afraid we need to wait for Mr Papa to answer the MS question.

I am curious what line of code (and in which function) you have for line 3847 of the functions.php file however.

Here's my hosting company's answer to your question.  Hopefully it will provide some insights to those more knowledgeable than I. :-)

Per their request, I've also again tried activating the plug-in with the greatly increased memory limits, but we're still getting the same fatal error.

Thanks!

 

__________

 

> Line 3847 is:
> 
>                       $trace = debug_backtrace( false );
> 
> Here is the line in more context:
> 
> function wp_debug_backtrace_summary( $ignore_class = null, $skip_frames =
> 0, $pretty = true ) { if ( version_compare( PHP_VERSION,
> '5.2.5', '>=' ) ) $trace =
> debug_backtrace( false ); else $trace = debug_backtrace();
> 
>         $caller = array();
>         $check_class = ! is_null( $ignore_class );
>
> If you are receiving the same memory_limit error, some component of
> WordPress may be overriding the memory_limit directive in wp-config.php -
> possibly even the component you're trying to install.
> 
> I have adjusted the memory_limit by a different mechanism. You can
> confirm that memory_limit is set to 512M for the site by visiting:
> 
> http://problem-with-post-edit-buttonearyeforums.com/info.php
> 
> Please try the installation again and let me know how it goes. Thank you!
> 
> Regards,

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2013 - 2:11 pm

want to ask again on wp version... This is 3.6.1, right?  and not the 3.7 beta version...

128M should be plenty, so don't think we need to try to add more memory...

yes, Jim and many others from wpmudev use simple press so we just need to understand what is going on locally here with you..

just to make sure I am understanding..  this is the first and initial activation of simple press, right?

One thing simple press still does is try to use blogs.dir for different network site storage...  wp multisite no longer really uses blogs.dir for new installs but old installs still use it...  and we have not had any issues with using the older storage location on new installs (we will change it soon)...  and that would be on install, not activation... and not likely to cause a memory issue...  kind of grasping at straws so throwing it out there...

when simple press gets activated, we dont really do anything... almost no code is included or run...  until we run our install which requires a direct user action...  so that is why checking to make sure this is on activation and not install...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626