Saturday, September 18, 2010

Learn Latex in 20 minutes - Latex Tutorials for beginners

I had tried to learn Latex from books, tutorials and websites but nothing has ever worked. Finally, I found John and he helped me learn Latex starting at the very basics and then taking me to the advanced features of Latex. Lest I forget I have it recorded in Video and I feel all of us can benefit from this video therefore I am putting it up here. Hope you all will like it. 

Monday, September 13, 2010

Drupal crashed after update.php run

I recently had an issue with my Drupal installation. After I run the update.php script my installation crashed. I only installed a few modules but then that should not have crashed it as the modules run fine on my other websites. Being an optimistic person I did not have a backup of my database to fall back on. I was totally royally screwed as that was a website for school and it should not have gone down at any cost. 

It took me some time to get back to my senses and think calmly as to why Drupal will behave so erratically. I tried running the update.php script again but the error would not go away. I tried deleting the module and updating but even that wouldn't help. 

Then I looked into the settings.php that resides in sites/default folder. I changed my memory limit for php by changing the line ini_set('memory_limit', '32M'); to have 64 Megabytes of memory for my installation. I ran update.php again and the website worked fine. 

Here, I would like to tell you that the update.php script was running fine every time I tried it but just that it wouldn't let me access my home page or any other admin page for that matter. Hope this will help someone.