Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 01-12-2011, 11:37 PM sitemap fatal error.
benicio's Avatar
Ultra Talker

Posts: 472
Trades: 0
Quote:
Plugin could not be activated because it triggered a fatal error.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 136985 bytes) in /home/benicio/public_html/wp-content/plugins/simple-google-sitemap-xml/simple-google-sitemap-xml.php on line 108
tried to update my google sitemap wordpress plugin but i receive this error.
what does this mean and how can i solve this please?

Quote:
<table width="50%">
<tr>
<p style="font-weight:bold;">Homepage parameters</p>
<th width="150">Priority</th>
<td width="100">
<select name="gsxml_hp" id="gsxml_hp" type="text" value="<?php echo get_option('gsxml_hp'); ?>" />
<? for ($i=0; $i<1.05; $i+=0.1) {
echo "<option value='".$i."' ";
if (get_option('gsxml_hp')==$i) {
echo ' selected';
} // end if

echo ">";
if($i==0) { echo "0.".$i;}
elseif($i==1.0) { echo $i.'0';}
else {echo $i;}
echo "</option>";
} // end for
?>
</select>
</td>
<th width="150">Frequency</th>
<td width="100">
<select name="gsxml_hf" id="gsxml_hf" type="text" value="<?php echo get_option('gsxml_hf'); ?>" />
<option value="always" <?if(get_option('gsxml_hf')=="always") {echo 'selected';}?>>always</option>
<option value="hourly" <?if(get_option('gsxml_hf')=="hourly") {echo 'selected';}?>>hourly</option>
<option value="weekly" <?if(get_option('gsxml_hf')=="weekly") {echo 'selected';}?>>weekly</option>
<option value="monthly" <?if(get_option('gsxml_hf')=="monthly") {echo 'selected';}?>>monhtly</option>
<option value="yearly" <?if(get_option('gsxml_hf')=="yearly") {echo 'selected';}?>>yearly</option>
<option value="never" <?if(get_option('gsxml_hf')=="never") {echo 'selected';}?>>never</option>
</select>
</td>
</tr>
</table>
this line <td width="100"> was the 180 line. any solutions please?
__________________

Please login or register to view this content. Registration is FREE
|
Submit Your Articles in a
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Last edited by benicio; 01-12-2011 at 11:41 PM..
benicio is offline
Reply With Quote
View Public Profile Visit benicio's homepage!
 
 
Register now for full access!
Old 01-13-2011, 06:45 AM Re: sitemap fatal error.
phpdasan's Avatar
Experienced Talker

Posts: 37
Name: Karthick B
Trades: 0
This means you are trying to use memory size which is larger than the allowed one that is set in your php.ini file.

Try to increase "memory_limit" in php.ini file.

or

just add this to the top of the page,

ini_set("memory_limit","128M");

Before trying the above, just go through your code. You are using too much of memory and this is not good in a programming point of view.
__________________
There is no secret ingredient.
phpdasan is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to sitemap fatal error.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26082 seconds with 12 queries