1
voltan
Allowed memory size of 16777216 bytes exhausted
  • 2008/7/16 6:04

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


hello
I changed my site server . in new server when i try to get backup by backup 3 module i see this error

Fatal errorAllowed memory size of 16777216 bytes exhausted (tried to allocate 10634461 bytesin /home/*******/public_html/modules/backup/admin/backup.php on line 131


and i add this line to .htaccess
php_value memory_limit 32M


and i see this error in my site
Internal Server Error
The server encountered an internal error 
or misconfiguration and was unable to complete your request.

Please contact the server administratorwebmaster@*******.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionallya 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at *******.org Port 80

2
voltan
Re: Allowed memory size of 16777216 bytes exhausted
  • 2008/7/16 6:09

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


xoops version 2.0.18.1
PHP version 5.2.3
MySQL version 5.0.51a-community
Apache version 1.3.41 (Unix)

3
phppp
Re: Allowed memory size of 16777216 bytes exhausted
  • 2008/7/16 6:52

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


which modules do you use?

4
blueteen
Re: Allowed memory size of 16777216 bytes exhausted
  • 2008/7/16 7:50

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


Hello,
The change to the memory limit with a htaccess file is not authorized by all hosts.
Can you detail what you want to do exactly ? (database transfer ? else ?)

5
voltan
Re: Allowed memory size of 16777216 bytes exhausted
  • 2008/7/16 8:22

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


hello
we have :
altsys.55 - protector 3.16 - backup 3 - backpack .93 - multimenu - d3pipes .58 - news 1.61 - newbb 3.06 - martfsq 1.08 - wfdownloads 3.2 - xoopspoll 1.1 - mylinks - sitemap - smartparent 1.2 - xhelp

6
voltan
Re: Allowed memory size of 16777216 bytes exhausted
  • 2008/7/20 8:59

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


please help us

7
Anonymous
Re: Allowed memory size of 16777216 bytes exhausted
  • 2008/7/20 15:20

  • Anonymous

  • Posts: 0

  • Since:


Try to add:

ini_set(’memory_limit’, ‘12M’);

to mainfile.php

8
voltan
Re: Allowed memory size of 16777216 bytes exhausted
  • 2008/7/20 18:14

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


hello
i edited mainfile.php like this
if ( isset( $_REQUEST[$bad_global] ) ) {

            
header'Location: '.XOOPS_URL.'/' );

            exit();

        }

    }
ini_set(’memory_limit’‘32M’);

    include 
XOOPS_TRUST_PATH.'/modules/protector/include/precheck.inc.php' ;

    if (!isset(
$xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {

        include 
XOOPS_ROOT_PATH."/include/common.php";

    }

    include 
XOOPS_TRUST_PATH.'/modules/protector/include/postcheck.inc.php' ;

    include 
XOOPS_ROOT_PATH."/logusernav.php";

}

?>


and saw this errors

Fatal errorAllowed memory size of 16777216 bytes exhausted (tried to allocate 11534325 bytesin /home/*******/public_html/modules/backpack/admin/backup.inc.php on line 158


and this
Fatal errorAllowed memory size of 16777216 bytes exhausted (tried to allocate 10660868 bytesin /home/*******/public_html/modules/backup/admin/backup.php on line 131

9
Marco
Re: Allowed memory size of 16777216 bytes exhausted
  • 2008/7/20 20:47

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


it seems the "backup" module generates such errors.
try to uninstall it. if no more errors detected after its uninstallation, you'll have to analyse why it generates memory messages
marco
Do synergy or die.

Login

Who's Online

277 user(s) are online (186 user(s) are browsing Support Forums)


Members: 0


Guests: 277


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits