- Domain Name
- Web Hosting Account - Opening and Basic Setup
- Web Hosting Account - Installation Drupal 5.7 (Applicable for 5.12 Too)
- Welcome To Your New Drupal Website!
- 'Standard Web Site' - 4 Pages
- Basic Concepts In A Nutshell
- Basic Site Settings, File Configurations
- Web Site 'Looks' Or Default Templates
- Contributed (External) Modules/Themes In 'public_html/sites' Folder
- Add Theme (External) - Aberdeen
- Adding 'External'/Contributed Module - Nodewords For Search Engine Keywords
- Feedback Form For Visitor To Send
- Image Gallery
- Learn To Put An Image Using HTML Image Tag
- Changing Background, Styling of Themes
- For Multiple Websites With One Drupal Installation
- Trouble Shooting
- Login Twice problem
- Block Header Error Messages
- Fatal error: Can't open file: 'sessions.MYI'
- Disable RSS Feed Icon
- Error "Cannot Modify Header ......."
- Fatal error: Call to undefined function: civicrm_initialize()
- Indentation - Left Justification Problem
- Invalid argument foreach()
- Parse error... unexpected T_DNUMBER
- Unable to connect to database server
- A Word About Taxonomy
- Some Basic Tools We Need
- Creating Book Content - Using Book Module
- User Settings And Our 3rd 'Login' (Authenticated) User 'Sam'
- Creating Blog Content With Attached Image Module
- Security, Security, More Security
- How To Upgrade Drupal 5.7 To 5.8
- Storage And Bandwidth - How Much We Need?
Login Twice problem
When I first wrote this, I did not mention anything about the Drupal software version installed automatically by Fantastico. At that time the Drupal version was 4.6.3.
Today the Drupal version is 4.7.2 found in most cPanel/Fantastico installation.
There's a bug though after installing the Drupal website when we first login. We have to login twice before we 'get in'. First time we logged in, it's like nothing happened. This is due to some cookies problem.
If you are interested in the login problems, read this.
The remedy is this (it works for me).
Go to your account at:-
http://www.my_domain.com/cpanel
Press Enter or Select 'Go'.
Enter username, password.
Select > File Manager > [folder icon]_public_html > modules > user.module (wait for details appear upper right hand corner) Edit File > [scroll down and look for codes below and COMMENT OUT the three lines (by putting double forward slashes) > Save
user_module_invoke('login', $form_values, $user);
// $old_session_id = session_id();
// session_regenerate_id();
// db_query("UPDATE {sessions} SET sid = '%s' WHERE sid = '%s'", session_id(), $old_session_id);
Logout of your cPanel.
The "login twice" problem will go away.