PDA

View Full Version : some error problem


Devanand
11-03-2009, 04:34 PM
Hello,

When I try to open some pages of the board I get this message:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3767855 bytes) in ******/includes/functions.php on line 5557

I tryu to open that file but I can't find anything similar to change that number.
What is my problem?

Thank you

porcupine73
11-03-2009, 10:16 PM
Sounds like maybe in php.ini that can be adjusted.

33554432 bytes is a bit over 33MB...not sure how much it should really be needing. I set mine at 180MB.

Devanand
11-03-2009, 11:41 PM
where is that file?

porcupine73
11-03-2009, 11:46 PM
Not sure where your php.ini file is. Mine's on Windoze though so it's in C:\Program Files (x86)\PHP\php.ini

Maybe you can do a filesearch if you can't find it.

Mien's section is like
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 180 ; Maximum execution time of each script, in seconds
max_input_time = 220 ; Maximum amount of time each script may spend parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 180M ; Maximum amount of memory a script may consume (128MB)

Devanand
11-04-2009, 12:03 AM
Hmmm, I am on linux and I try to located it with SSH and found it in few places on server but when i try to find it with FTP there is no php.ini file in this folders.

Edit
------------------------

I found out how to open it but look what I have in it:

; Sets the directory name where SOAP extension will put cache files.
soap.wsdl_cache_dir="/tmp"
; (time to live) Sets the number of second while cached file will be used
; instead of original one.
soap.wsdl_cache_ttl=86400

; Local Variables:
; tab-width: 4
; End:



There is nothing about memory.