Difference between revisions of "Drupal"
From Blue-IT.org Wiki
(→Troubleshooting) |
(→Memory Limits) |
||
Line 6: | Line 6: | ||
The contact form module has an entry in the "navigation" (!) menu which is NOT aktivated by default. Simply | The contact form module has an entry in the "navigation" (!) menu which is NOT aktivated by default. Simply | ||
− | == | + | == PHP memory mimits == |
If error messages occur about memory linmit, then add: | If error messages occur about memory linmit, then add: | ||
vim sites/default/settings.php | vim sites/default/settings.php | ||
Line 12: | Line 12: | ||
ini_set('memory_limit', '24M'); | ini_set('memory_limit', '24M'); | ||
− | The other way is to edit apache's '''php.ini''' and customize the value there. Image processing needs - for drupal 6 - a minimal amount of 96M memory size! | + | The other way is to edit apache's '''/etc/php5/apache2/php.ini''' and customize the value there. Image processing needs - for drupal 6 - a minimal amount of 96M memory size! |
+ | memory_limit = 96M ; Maximum amount of memory a script may consume (16MB) | ||
== Not satisfied with Translation (.po files) == | == Not satisfied with Translation (.po files) == |
Revision as of 19:01, 24 May 2009
Contents
Troubleshooting
Color module not working
File permissions has to be set to public !
Contact form
The contact form module has an entry in the "navigation" (!) menu which is NOT aktivated by default. Simply
PHP memory mimits
If error messages occur about memory linmit, then add:
vim sites/default/settings.php
to the
ini_set('memory_limit', '24M');
The other way is to edit apache's /etc/php5/apache2/php.ini and customize the value there. Image processing needs - for drupal 6 - a minimal amount of 96M memory size!
memory_limit = 96M ; Maximum amount of memory a script may consume (16MB)
Not satisfied with Translation (.po files)
Edit the .po files for the translation and add them via the translation module.
You can also add the following module which filters active content:
Alter Strings
Go to Setting->Translation and click to the Search button.
Search for
@username's blog
and add your own translation.
Cron
On your sit enable cron
crontab -e -u www-data
and enter a line like (45 runs every hour)
45 * * * * /usr/bin/lynx -source http://example.com/cron.php