Cron issues on drupal

Well here are some quick ways of solving your “cron not working properly issues in drupal” It has a semaphore which blocks the cron running, in my case the PHP script ran for too long and ate up too much memory. I needed to modify my php.ini to ensure that it could take up more memory. Another issue was that you needed to delete a certain variable in the Drupal database, use the following for a quick resolution to the problem....

March 31, 2010 · 1 min · 117 words · Me

Installing Solr + Tomcat on RHEL5

Installing JDK Download the latest Sun JDK RPM. Go to and navigate to the downloads page. As of this writing it is If you are on a text console, you may want to use the “links” text browser rather than wget or curl. The Sun site requires you to accept a license agreement before it will allow you to access the download. Navigate to the downloads for a recent version of the JDK (e....

March 31, 2010 · 4 min · 649 words · Me

PHP + nice URLS + nginx

Easiest way to get php with good looking urls running on your site . Works for drupal, wordpress and joomla. server { listen 80; server_name; index index.html index.htm index.php; root /path/to/domain/files; location / { error_page 404 = //e/index.php?q=$uri; } location ~ .php$ { include fastcgi_params; fastcgi_pass; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /path/to/domain/files$fastcgi_script_name; } access_log /usr/local/nginx/logs/domain.access_log; error_log /usr/local/nginx/logs/domain.error_log; }

December 26, 2008 · 1 min · 59 words · Me