Recent Topics

1 Jul 19, 2007 06:02    

My b2evolution Version: 1.9.2

I've discovered the following error messages while browsing cpanel:

[Wed Jul 18 23:54:59 2007] [error] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 141 bytes) in /home/comlist/public_html/inc/MODEL/sessions/_session.class.php on line 394

[Wed Jul 18 23:12:49 2007] [error] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 214 bytes) in /home/comlist/public_html/inc/_misc/_db.class.php on line 580

[Wed Jul 18 22:56:31 2007] [error] PHP Warning: imagettftext() [<a href='function.imagettftext'>function.imagettftext</a>]: Problem rendering glyph in /home/comlist/public_html/plugins/captcha_img_plugin/_captcha_img.plugin.php on line 1091

2 Jul 19, 2007 06:52

You should adjust the available memory. You can do this in php.ini or in a .htaccess file:

# Increase memory limit
php_value memory_limit 24M

or:

Add or adjust in ../blogs/conf/_basic_conf.php:

ini_set('memory_limit', '24M');

You seem to have 16Mb available. Try 20Mb or 24 Mb. You might run into a maximum set by your host. If the problem persist, try to disable some functions like plugins you do not use.

Good luck

3 Jul 19, 2007 11:49

Thanks! What I found was in _advanced.php:

// If you get blank pages, PHP may be crashing because it doesn't have enough memory.
// The default is 8 MB (set in php.ini)
// Try uncommmenting the following line:
   ini_set( 'memory_limit', '16M' );

I changed the 16 to 24.

4 Jul 20, 2007 00:35

Note: If you're using PHP newer than 5.2.1, the default memory limit is 128M already (the memory management/reporting is different).
Then, you need to undo your change.
See the end of http://www.php.net/releases/5_2_1.php (or search for "memory limit").

5 Jul 20, 2007 01:50

It appears I'm using 4.4.7.

6 Jul 20, 2007 02:42

Ok. Good to know.
It's just that 24M is far less than the default with 5.2.1 - which you may get in about 200 days (see http://gophp5.org/).

7 Jul 20, 2007 03:07

To my knowledge, cslepage is the first to break the 16Mb barrier. All problems with memory are the 8Mb limit set by php.ini. I advise an upload to 16Mb (not anymore)
I have seen the panel on B2evo 2.0 and oh boy, does that look wonderful. All critical information on one page. With B2evo 2.0 coming up and PHP 4 obsolete, we have one problem less to worry about.

8 Jul 20, 2007 04:27

blueyed wrote:

Ok. Good to know.
It's just that 24M is far less than the default with 5.2.1 - which you may get in about 200 days (see http://gophp5.org/).

Unfortunately, HostIcan is not on that list.


Form is loading...