Hi,
I'm new to Drupal, installed 5.1 on my 'shared host', but ran into a few problems. Here are my solutions if anyone runs into the same problems.
1. Problem: mbstring.http_input was enabled on my host.
Solution: I added the following to my .htaccess file in the Drupal root directory:
<IfModule mod_php4.c>
php_value mbstring.http_input "pass"
php_value mbstring.http_output "pass"
php_value mbstring.encoding_translation 0
</IfModule>
2. Problem: admin page went blank after I enabled a few new modules.
Solution: I added the following to my .htaccess file again:
<IfModule mod_php4.c>
php_value memory_limit "32M"
</IfModule>
3. Problem: default theme 'Garland' had a warning in W3C Validator.
Solution: in the file themes/garland/page.tpl.php (on line 76) I changed ...
<span class="clear"></span>
... to ...
<span class="clear"> </span>
4.Module: addtofavorites caused a few validation errors because of generated markup.
Solution: found and fixed numerous XHTML specific markup problems.
- onClick should be onclick
- href="javascript: ... should be href="#" onclick="javascript: ...
- br should be br/
- img tags should end in /