Artisteer - Joomla Theme Generator
Memory Limit Plugin (Joomla! 1.5 Native)  E-mail
Monday, 09 March 2009 18:10

This plugin is for users who are don't know how to configure php and suffering from the error that says:

Fatal error: Allowed memory size of [number] bytes exhausted (tried to allocate [number] bytes) in [filename]

This error is usually fixed by changing the memory_limit parameter in php.ini or in .htaccess file, but some hosting companies do not allow you to modify php.ini, or you can't use .htaccess, or you don't know how to use them to fix this error, so you can use this parameter easily.

This plugin has only one parameter, it is named 'Maximum Memory Size', by entering an integer number , say x,  in this parameter, the plugin sets the memory limit to x MB for the whole joomla website.

The default value for this parameter if not set is 32.

This plugin has only one parameter, it is named 'Maximum Memory Size', by entering an integer number , say x,  in this parameter, the plugin sets the memory limit to x MB for the whole joomla website.

The default value for this parameter if not set is 32.

Download The Plugin

If you set the 'Maximum Memory Size' parameter with a low or wrong value and the site is stopped working and gives you the error described above, you will have to disable the plugin directly from the database.

To disable the 'Memory Limit' plugin from the database, or any other plugin, go to phpMyAdmin and find the table 'jos_plugins', of course replace jos_ with your Joomla installation prefix.

Find the record of the plugin, in this case its name will be 'Memory Limit', change the value of 'published' field to '0' instead of '1', now the plugin is disabled and your website shall work normally. Go to the plugin manager and change 'Maximum Memory Size' to a proper value.

Last Updated on Friday, 08 January 2010 23:08
 

Add comment


Security code
Refresh

Who's Online

We have 6 guests online