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 30, 2013 - 2:28 pm

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

Confirmed, running 3.6.1, not 3.7 Beta.

>> this is the first and initial activation of simple press, right?

Yes, this is my first installation of Simple:Press (in a a brand new WP site at that) but as noted above, I erred in attempting to use the WP uploader on the very first try, so I deleted the plugin and directory and uploaded via FTP.

The only other options I can think of at this point is (1) re-installing WP and SP from scratch, or (2) sending you the log-on credentials so you can look at the site directly.

Let me know which approach you think best.

Thanks!

 

 

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

so yes, please go ahead and delete simple press and reupload via http://ftp... and try again...

if that still has the issue, we can take a look and see if we can glean anything, but activation doesnt even involved simple press other than reading in the main file...  but we can look...  just pm the admin details to both myself and yellow swordfish... be sure to link back to this topic in the pm too so we know what its about...

Avatar
temporal
Member
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2013 - 2:32 pm

Thanks, will do on both and report back shortly.

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

we will be here! ;)

Avatar
temporal
Member
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2013 - 2:57 pm

OK, I deleted the plug-in and reloaded it via http://FTP.  Unfortunately, I'm still getting the same fatal error when I go to activate the plugin.

I'll PM my log-in credentials momentarily.  Feel free to experiment, it's a brand new site with nothing to lose.

Thanks!

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

can you try something for me?

if file simple-press/sp-api/sp-api-error.php, can you make a couple code changes?

line 34, change

    global $spStatus;

to

    global $spStatus, $wpdb;

then after line 35, which is

    if (!isset($spStatus) || (isset($spStatus) && $spStatus != 'ok')) return;

can you add this:

$success = $wpdb->get_var("SHOW TABLES LIKE '".SFERRORLOG."'");
if ($success == false) return;

and then similarly at line 79, change

    global $spPaths, $spStatus;

to

    global $spPaths, $spStatus, $wpdb;

and after line 80, which is

    if (!isset($spStatus) || (isset($spStatus) && $spStatus != 'ok')) return;

can you add this:

$success = $wpdb->get_var("SHOW TABLES LIKE '".SFERRORLOG."'");
if ($success == false) return;

and see if that gets you going...

Avatar
temporal
Member
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2013 - 4:48 pm

and see if that gets you going…

SUCCESS!   Strike up the band!

Thank you very much!

 

 

 

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

hey, good news!  sorry for the issue...

Avatar
Douglas Norton
Member
Free Members
sp_UserOfflineSmall Offline
Oct 1, 2013 - 1:53 pm

Plugin could not be activated because it triggered a fatal error.

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

 

ACTIVATION ONLY, server meets all requirements.

Avatar
temporal
Member
Free Members
sp_UserOfflineSmall Offline
Oct 1, 2013 - 2:36 pm

Douglas Norton said

Plugin could not be activated because it triggered a fatal error.

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

 

ACTIVATION ONLY, server meets all requirements.

If you're looking for a potential fix, see Mr. Papa's 9/30 4:21 PM reply in this thread.  Those instructions worked great for me when I got a similar error when activating SP in a brand new WP multi-site installation.

 

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online: samantardh
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