Installing Fireboard in Joomla 1.5
Fireboard is a forum application that integrates with Joomla. It works without any problems in Joomla 1.0, but when you try installing it in 1.5, you get the following error (the folders may be different on your installation):
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 58368 bytes) in /var/www/joomla15/libraries/joomla/installer/adapters/component.php on line 548
What’s happening here is that PHP is running out of memory and more needs to be allocated for the installation to succeed. There are two ways you increase the memory.
- Modify php.ini
If you are using your own server, find the php.ini file (on Linux, type locate php.ini) and add the following command:memory_limit = 12M
If this command already exists, the increase the memory to 12M.
- Modify .htaccess
Chances are that you won’t have access to php.ini if you are on a shared hosting plan. The alternative is to edit the .htaccess in the root folder of your Joomla installation. The default installation of Joomla has the file named as htaccess.txt. You will need to rename it to .htaccess before adding to it. Add the following command to the .htaccess file:php_value memory_limit 12M
If the memory problem persists, increase the value until it works.
As a side note, you need to have the System – Legacy plugin activated before you can install Fireboard. The application was written for Joomla 1.0 and won’t run natively in 1.5. You can find the plugin through the Extensions menu, and then select Plugin Manager.