Fatal error Fatal error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Fatal error

Started by Lonelybizkit, May 08, 2007, 09:40:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lonelybizkit

Hi guys i got this problem and you guys explain how to fix it in other topic but in that topic you dont say where's the file php.ini thats all i need to know i guess

"Error Message:

Fatal error: Allowed memory size of XXXXXXX bytes exhausted at (null):0 (tried to allocate XXXX bytes) in /var/www/html/include/picmgmt.inc.php

Meaning:  You have exceeded the memory allotment given to you in php.ini"

Thnx in advance

Nibbler

It says 'You must be the server's administrator to do this'. If you are then you know where it is. If you are not then you can't change it anyway. Use one of the other alternatives listed.

Lonelybizkit

i am man, i found it and i did what its suggested but now it says this:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1600 bytes) in /home/limpbizkitworld.com/www/gallery/include/picmgmt.inc.php on line 272

This is line 272 to 280:

;                     from a bug in your code, but it's possible that it was
;                     intentional (e.g., using an uninitialized variable and
;                     relying on the fact it's automatically initialized to an
;                     empty string)
; E_STRICT          - run-time notices, enable to have PHP suggest changes
;                     to your code which will ensure the best interoperability
;                     and forward compatibility of your code
; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's

what can i do

Nibbler

Find memory_limit in php.ini and change it. line 272 refers to picmgmt.inc.php not php.ini.

Lonelybizkit

ok i got it

memory_limit = 16M      ; Maximum amount of memory a script may consume (16MB)

Lonelybizkit


Nibbler


Lonelybizkit

i founded what u told me put it the right value and the error keeps appearing i want to know how to fix it thats the help im looking for

Nibbler

This is the Coppermine support board, not the 'teach me how to run a webserver' board...

If it still says 'Allowed memory size of 8388608 bytes exhausted' (and not the new value you set) then make sure you saved the file and restarted apache (if that is how your server is set up). If that doesn't help then make sure you are editing the correct file (ie. verify with phpinfo()).

Lonelybizkit


Joachim Müller

Don't run a webserver of your own if you have no idea how to maintain it. Self-hosting definitely is not recommended. After all (as Nibbler suggested), it goes unsupported on this board, i.e. you mustn't ask questions about setting up or maintaining a webserver. It's simply not our topic. That's why I marked this thread as "invalid".