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

Reply

Join Date: May 2008
Posts: 19
Reputation: gptArun is an unknown quantity at this point 
Solved Threads: 0
gptArun's Avatar
gptArun gptArun is offline Offline
Newbie Poster

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

 
0
  #1
17 Days Ago
hi there,

How to fix this ? i got below message when activating plugin from wp-admin

Plugin could not be activated because it triggered a fatal error.
Fatal error: Out of memory (allocated 15990784) (tried to allocate 77824 bytes) in …. plugins/wp-e-commerce/wpsc-admin/display-groups.page.php on line 187

I found below code at display-groups.page.php on line 187
” if($_POST['product_width'] > 0) {
$product_width = (int)$_POST['product_width'];
} else {
$product_width = ”;
}


Also googled out "http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP" but not working for me.

Regards,
gptArun
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 4
Reputation: ax8l is an unknown quantity at this point 
Solved Threads: 1
ax8l ax8l is offline Offline
Newbie Poster
 
0
  #2
17 Days Ago
Usually errors occur before that line.
Oh,if you could do a var_dump before that line to see what values are you working with , ohh dont forget to put a die() in too.
  1. var_dump($_POST);
  2. die();
Last edited by ax8l; 17 Days Ago at 6:31 am.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 19
Reputation: gptArun is an unknown quantity at this point 
Solved Threads: 0
gptArun's Avatar
gptArun gptArun is offline Offline
Newbie Poster
 
0
  #3
17 Days Ago
Hi ax8l,
I put var_dump($_POST); die(); before that line , but still occurs same problem .
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 4
Reputation: ax8l is an unknown quantity at this point 
Solved Threads: 1
ax8l ax8l is offline Offline
Newbie Poster
 
0
  #4
17 Days Ago
i googled your plugin and it looks like (in some cases wp 2.8...) it needs more then 32 mb of memory to run and even though you increased WP_MEMORY_LIMIT that doesnt mean that your host allows ini_set in php (that means that you cant increase your allowed memory limit).It might be a problem with the script too and i do think it can be optimized to use less,but that is their problem...sorry.
Check their forums..
  1. http://www.instinct.co.nz/forums/
sorry i couldnt be more helpful.
Cheers mate!
Last edited by ax8l; 17 Days Ago at 3:56 pm.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 19
Reputation: gptArun is an unknown quantity at this point 
Solved Threads: 0
gptArun's Avatar
gptArun gptArun is offline Offline
Newbie Poster
 
0
  #5
16 Days Ago
thanks ax8l for your help.

god bless
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC