Advanced search  

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

Pages: [1]   Go Down

Author Topic: Fatal error  (Read 4527 times)

0 Members and 1 Guest are viewing this topic.

Lonelybizkit

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Fatal error
« on: May 08, 2007, 09:40:17 pm »

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
« Last Edit: May 09, 2007, 06:57:37 am by GauGau »
Logged

Nibbler

  • Guest
Re: Fatal error
« Reply #1 on: May 08, 2007, 09:56:49 pm »

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.
Logged

Lonelybizkit

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Fatal error
« Reply #2 on: May 08, 2007, 10:41:21 pm »

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
Logged

Nibbler

  • Guest
Re: Fatal error
« Reply #3 on: May 08, 2007, 10:56:08 pm »

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

Lonelybizkit

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Fatal error
« Reply #4 on: May 08, 2007, 11:44:14 pm »

ok i got it

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

Lonelybizkit

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Fatal error
« Reply #5 on: May 09, 2007, 02:38:57 am »

help ???
Logged

Nibbler

  • Guest
Re: Fatal error
« Reply #6 on: May 09, 2007, 02:47:03 am »

Help what?
Logged

Lonelybizkit

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Fatal error
« Reply #7 on: May 09, 2007, 03:09:49 am »

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
Logged

Nibbler

  • Guest
Re: Fatal error
« Reply #8 on: May 09, 2007, 03:13:13 am »

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()).
Logged

Lonelybizkit

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Fatal error
« Reply #9 on: May 09, 2007, 03:17:49 am »

ok
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fatal error
« Reply #10 on: May 09, 2007, 06:59:30 am »

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".
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.