Icy Phoenix
Old Docs - Fatal error: Allowed memory size
Morph [ Fri 13 Oct, 2006 17:06 ]
Post subject: Fatal error: Allowed memory size
Morph [ Fri 13 Oct, 2006 17:32 ]
Post subject: Respuesta: Fatal error: Allowed memory size
Solved : .htaccess to put this line php_value memory_limit "16M"
difus [ Fri 13 Oct, 2006 22:31 ]
Post subject: Re: Respuesta: Fatal error: Allowed memory size
Solved : .htaccess to put this line php_value memory_limit "16M"
thanks.
Mighty Gorgon [ Tue 24 Oct, 2006 22:49 ]
Post subject: Re: Fatal error: Allowed memory size
Great... I'll add this in Docs section.
Thank you!
Morph [ Wed 25 Oct, 2006 01:23 ]
Post subject: Respuesta: Fatal error: Allowed memory size
Mighty Gorgon, OK
bags [ Mon 27 Nov, 2006 11:24 ]
Post subject: Re: Respuesta: Fatal Error: Allowed Memory Size
Solved : .htaccess to put this line php_value memory_limit "16M"
Sorry,
If I put this line in .htaccess I get:
Quote:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
How can solve this?
Bags!!!
Morph [ Mon 27 Nov, 2006 11:37 ]
Post subject: Re: Fatal error: Allowed memory size
bags, that error has before.
I feel it translated with translator
bags [ Mon 27 Nov, 2006 12:14 ]
Post subject: Re: Fatal Error: Allowed Memory Size
bags, that error has before.
I feel it translated with translator
Sorry I dont' understand you fully.
What I mean is:
- I've modified .htaccess adding
php_value memory_limit "16M"
- refreshing my site I obtain the error I wtote before.
Actually I've removed that line from .htaccess and I get always the same memory error error trying to rebuild search indexes
Bags!!!
Zuker [ Mon 27 Nov, 2006 12:18 ]
Post subject: Re: Fatal Error: Allowed Memory Size
bags, some servers doesn't support that htacces modification. The only way to change this value is asking them to do it
bags [ Mon 27 Nov, 2006 12:26 ]
Post subject: Re: Fatal Error: Allowed Memory Size
bags, some servers doesn't support that htacces modification. The only way to change this value is asking them to do it
AAARRRGGGHHHH
I'm in hosting from Aruba
I don't think they'll do this to me
Bags!!!
Morph [ Mon 27 Nov, 2006 13:48 ]
Post subject: Re: Fatal error: Allowed memory size
Zuker, Ok thanks for the explanation
Mighty Gorgon [ Wed 29 Nov, 2006 00:57 ]
Post subject: Re: Fatal error: Allowed memory size
bags, some servers doesn't support that htacces modification. The only way to change this value is asking them to do it
AAARRRGGGHHHH
I'm in hosting from Aruba
I don't think they'll do this to me
Bags!!!
You can add the code in the PHP...
For example you can try this:
http://www.phpbbxs.eu/viewtopic.php?p=1528#p1528
bags [ Wed 29 Nov, 2006 13:27 ]
Post subject: Re: Fatal Error: Allowed Memory Size
Tnx Mighty,
now it works good.
Bags!!!
travagghio [ Wed 06 Dec, 2006 13:44 ]
Post subject: Re: Fatal Error: Allowed Memory Size
Caro Mighty Gordon,
seguo da tempo tutti i tuoi consigli e posso definirmi un tuo fan.
Ho un problema che mi sta facendo impazzire.
Ho un forum phpbbplus, ed una categoria dello stesso è aperta agli utenti anonimi.
Ahimè, da un pò di tempo, quando voglio visualizzare l'indirizzo ip dell'utente anonimo che ha postato un topic,
ricevo questo messaggio
Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 35 bytes) in /web/htdocs/.../.../includes/functions.php on line 804
Sono su un hosting Aruba.
Ho provato le cose consigliate in questo e nell'altro messaggio, ma non sono riuscito.
C'è una soluzione, o un perchè?
Cordiali saluti, Vincenzo
Mighty Gorgon [ Fri 08 Dec, 2006 12:15 ]
Post subject: Re: Fatal error: Allowed memory size
travagghio, scusa, ma questo è un forum di supporto in inglese e riguardante phpBB XS... tu fai una richiesta in italiano e per Plus... Sarai d'accordo che c'è qualcosa che non va...
Per favore, fai questa richiesta nel forum apposito sul mio sito o sul supporto italiano di Plus.
In ogni caso, non so da cosa possa dipendere... teoricamente è un problema di memoria risolvibile aumentando il limite di memoria... comunque ne parliamo in altra sede.
English: support question moved to italian support...
travagghio [ Fri 08 Dec, 2006 18:13 ]
Post subject: Re: Fatal Error: Allowed Memory Size
Dear Mighty Gordon,
I follow all for a long time your councils and can define yours fan.
I have a problem that it is making me to drive crazy.
I have aphpbbplus forum, and a category of the same one is opened the anonymous users.
Unfortunately, by little time, when I want to visualize IP address of the anonymous users who has sent a topic, I receive this message
Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allotted 35 bytes) in /web/htdocs/.../.../includes/functions.php on linens 804
The forum is on "hosting Aruba". I have tried the things advised in this and the other message, but they are not successful. Is there a solution?
Sincerely yours, Vincenzo
Mighty Gorgon [ Fri 08 Dec, 2006 18:28 ]
Post subject: Re: Fatal error: Allowed memory size
Vincenzo, thank you for translating your request in english.
As I said you can get Italian support on other sites... but if you prefer we can continue here.
First, I don't know much about Plus... but I'll try to help you anyway.
Did you get that warning only when clicking the IP button?
If yes, and if the error is always the same, can you post here lines from 790 to 820 or your functions.php please?
You can use CODE BBCode specifying starting and highlighting params (help in BBCodes Glossary topic!).
Try also inserting this code on top of your common.php:
ini_set("memory_limit", "16M");
travagghio [ Fri 08 Dec, 2006 22:21 ]
Post subject: Re: Fatal Error: Allowed Memory Size
Thank you, master menthor!
You have solved my existential problem! :mryellow:!!!
I confirm to be your fan! You are the best!
I don't know if you asked to me code line 790-820 from "function.php" for
preventing this problem in the future and for others users, or only for helping me.
In doubt, I paste the lines:
//790
}
}
return $row;
}
function encode_ip($dotquad_ip)
{
$ip_sep = explode('.', $dotquad_ip);
return sprintf('%02x%02x%02x%02x', $ip_sep[0], $ip_sep[1], $ip_sep[2], $ip_sep[3]);
}
function decode_ip($int_ip)
{
$hexipbang = explode('.', chunk_split($int_ip, 2, '.'));
return hexdec($hexipbang[0]). '.' . hexdec($hexipbang[1]) . '.' . hexdec($hexipbang[2]) . '.' . hexdec($hexipbang[3]);
}
//
// Create date/time from format and timezone
//
function create_date($format, $gmepoch, $tz)
{
global $board_config, $lang;
static $translate;
if ( empty($translate) && $board_config['default_lang'] != 'english' )
{
@reset($lang['datetime']);
while ( list($match, $replace) = @each($lang['datetime']) )
{
//820
Really great thanks!!!
Nun ti siddiare per il mio inglese! Salutamo dalla Sicilia!!!
Mighty Gorgon [ Tue 12 Dec, 2006 01:43 ]
Post subject: Re: Fatal error: Allowed memory size
You're welcome...
Thanks for posting the code, but I need some testing to verify that function... In the meantime, I'm glad you solved.