https://www.icyphoenix.com/viewtopic.php?f=30&t=487
-----------------------------------
Morph
Fri 13 Oct, 2006 17:06

Fatal error: Allowed memory size
-----------------------------------
Hello:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 184320 bytes) in /home/s02ff9a6/public_html/cache/tpl_ca_aphrodite.layout.3_column.php on line 223

Some solution. Thanks. http://www.foroxerbar.com/  :?:  :?:  :?:  :?:  :?:


-----------------------------------
Morph
Fri 13 Oct, 2006 17:32

Respuesta: Fatal error: Allowed memory size
-----------------------------------
Solved : .htaccess to put this line    php_value memory_limit "16M"  :nurse:  :lol:


-----------------------------------
difus
Fri 13 Oct, 2006 22:31

Re: Respuesta: Fatal error: Allowed memory size
-----------------------------------
[quote user="Morph" post="3809"]Solved : .htaccess to put this line    php_value memory_limit "16M"  :nurse:  :lol:[/quote] [img]http://www.icyphoenix.com/images/smiles/0050.gif[/img] thanks.


-----------------------------------
Mighty Gorgon
Tue 24 Oct, 2006 22:49

Re: Fatal error: Allowed memory size
-----------------------------------
Great... I'll add this in Docs section.

Thank you! :wink:


-----------------------------------
Morph
Wed 25 Oct, 2006 01:23

Respuesta: Fatal error: Allowed memory size
-----------------------------------
[b]Mighty Gorgon[/b], OK  :lol_flag:


-----------------------------------
bags
Mon 27 Nov, 2006 11:24

Re: Respuesta: Fatal Error: Allowed Memory Size
-----------------------------------
[quote user="Morph" post="3809"]Solved : .htaccess to put this line    php_value memory_limit "16M"  :nurse:  :lol:[/quote]

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.[/quote]

How can solve this?

Bags!!!


-----------------------------------
Morph
Mon 27 Nov, 2006 11:37

Re: Fatal error: Allowed memory size
-----------------------------------
[b]bags[/b], 	that error has before.

[b]I feel it translated with translator[/b]


-----------------------------------
bags
Mon 27 Nov, 2006 12:14

Re: Fatal Error: Allowed Memory Size
-----------------------------------
[quote user="Morph" post="5188"][b]bags[/b], 	that error has before.

[b]I feel it translated with translator[/b][/quote]

Sorry I dont' understand you fully.
What I mean is:
 - I've modified .htaccess adding [b]php_value memory_limit "16M"[/b]
 - 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

Re: Fatal Error: Allowed Memory Size
-----------------------------------
[b]bags[/b], 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

Re: Fatal Error: Allowed Memory Size
-----------------------------------
[quote user="Zuker" post="5192"][b]bags[/b], some servers doesn't support that htacces modification. The only way to change this value is asking them to do it[/quote]

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

Re: Fatal error: Allowed memory size
-----------------------------------
[b]Zuker[/b], Ok thanks for the explanation  :P


-----------------------------------
Mighty Gorgon
Wed 29 Nov, 2006 00:57

Re: Fatal error: Allowed memory size
-----------------------------------
[quote user="bags" post="5193"][quote user="Zuker" post="5192"][b]bags[/b], some servers doesn't support that htacces modification. The only way to change this value is asking them to do it[/quote]

AAARRRGGGHHHH
I'm in hosting from Aruba :(
I don't think they'll do this to me :(

Bags!!![/quote]
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

Re: Fatal Error: Allowed Memory Size
-----------------------------------
Tnx Mighty,
now it works good.

Bags!!!


-----------------------------------
travagghio
Wed 06 Dec, 2006 13:44

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

Re: Fatal error: Allowed memory size
-----------------------------------
[b]travagghio[/b], 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... :wink:

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. :wink:

[hr]

English: support question moved to italian support... :wink:


-----------------------------------
travagghio
Fri 08 Dec, 2006 18:13

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

Re: Fatal error: Allowed memory size
-----------------------------------
Vincenzo, thank you for translating your request in english. :wink:

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:

[codeblock]ini_set("memory_limit", "16M");[/codeblock]


-----------------------------------
travagghio
Fri 08 Dec, 2006 22:21

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

Re: Fatal error: Allowed memory size
-----------------------------------
You're welcome... :wink:

Thanks for posting the code, but I need some testing to verify that function... In the meantime, I'm glad you solved. :wink:


