FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » Don't create backup
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Don't create backup [message #160101] Sat, 25 July 2009 05:32 Go to next message
Alexey is currently offline  Alexey   Germany
Messages: 70
Registered: June 2005
Karma: 0
Member
Please help me. When I create backup forum I see this mistake:

Compressing forum datafiles
Processing directory: /home/h

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4147719169 bytes) in /home/h/adm/admdump.php on line 67
Re: Don't create backup [message #160102 is a reply to message #160101] Sat, 25 July 2009 06:14 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Open admdump.php with a text editor and add:
@ini_set('memory_limit', '256M');


BTW: What versions of FUDforums and PHP are you using?
Re: Don't create backup [message #160103 is a reply to message #160102] Sat, 25 July 2009 06:29 Go to previous messageGo to next message
Alexey is currently offline  Alexey   Germany
Messages: 70
Registered: June 2005
Karma: 0
Member
Fudforum 2.7.7
PHP 5.2.6

admdump.php - set this parametr - no resultat.

(in phpinfo show: memory_limit 164M 164M)

[Updated on: Sat, 25 July 2009 06:35]

Report message to a moderator

Re: Don't create backup [message #160104 is a reply to message #160103] Sat, 25 July 2009 06:51 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
In that case, try to increase it in your php.ini file and restart Apache.

BTW: You really need to upgrade!
Re: Don't create backup [message #160106 is a reply to message #160104] Sat, 25 July 2009 06:59 Go to previous messageGo to next message
Alexey is currently offline  Alexey   Germany
Messages: 70
Registered: June 2005
Karma: 0
Member
Set memory_limit 256M

After backup mistake too:

Compressing forum datafiles
Processing directory: /home/h

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4149239143 bytes) in /home/h/adm/admdump.php on line 67
Re: Don't create backup [message #160107 is a reply to message #160106] Sat, 25 July 2009 07:04 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
If you have large files in the forum's directories that doesn't belong there, remove them.

BTW: This is not a FUDforum problem. You may want to report it on a PHP support forum.
Re: Don't create backup [message #160736 is a reply to message #160107] Sun, 18 October 2009 15:18 Go to previous message
Alexey is currently offline  Alexey   Germany
Messages: 70
Registered: June 2005
Karma: 0
Member
Thanks.

This large file is access log apache. I move it and backup is up.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: About Pagination
Next Topic: Failed loading /usr/lib/php/modules//php_ioncube_loader_lin_5.1.so
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 11:20:33 GMT 2024

Total time taken to generate the page: 0.02469 seconds