Posts Tagged ‘drupal’
If you are creating a specific site, you wouldnt want anyone Tom and Harry to be able to register in the site. Also you would not want the burden of adding users completely on the admin. The best solution for that is to allow existing users to Invite other users. This will ensure that any time you always have users who are linked to each other.
To enable this feature, you need to enable Invite module, http://drupal.org/project/invite. The settings are very basic. After enabling the invite module, you will have a Invite tab under User management. Change the settings as you want. Also after this, make sure that you go to User settings and change the Public registrations: to “New user registration by invitation only.” This should enable already existing users to see a link “Invite a friend” on their main menu.
Now I need to find out how to restrict the number of invites per user.
I got this error when I was trying to get my drupal installation authenticate using the local ldap directory. Initially, I had thought that I was getting error because of my ldap settings. Then I enabled error reporting on my site, that is when this error was displayed to me.
This error is caused, I suppose due to the missing package php5-ldap in the system. After I installed this package using apt-get and restarted apache2, LDAP authentication wroked fine.
Occasionally a site user or developer will navigate to a page and suddenly the page content disappears, and is completely blank. No content. No errors. Nothing. This often, but not always, happens after updating a module, theme, or Drupal core. This is what is referred to by most members of the Drupal community as the White Screen of Death or WSOD. There are several reasons why this might occur, and therefore several possible solutions to the issue.
For how to solve this problem, look here.
Enable Error Reporting
Although it may be turned off on commercial hosts and production sites (for good reason, so that users do not see the errors), these errors are one of your best tools for troubleshooting. To enable error reporting, temporarily edit your index.php file (normally located in your root directory) directly after the first opening PHP tag (do not edit the actual file info!) to add the following:
// $Id: index.php,v 1.94 2007/12/26...
You will now be able to see any errors that are occurring directly on the screen. Memory problems may still not be displayed, but it’s the first step in a process of elimination.
If you are using a multi-site setup and only want errors to appear for one site, then check the name of the host first as in: