setting up a mirror of a Drupal site

Hi guys,

I'm new to Drupal and I have looked through the forums/handbook for this and couldn't find anything relevent.

What I'm trying to do is;

(a) Setup a mirror of a Drupal site on a second host so if something goes wrong with the first (primary) host, I can simply switch servers (change the Name Servers to point to the secondary/backup host)

All new content is showing "36 years 13 weeks ago" as the last post date

Hi all!

I'm just setting up a new Drupal website, and am having an interesting problem. I've searched for similar problems, and found a couple of posts from others with a similar issue, but no real answers.

Signaling the user has a special profile

I've been searching but I couldn't find anything regarding this...

Is there any way of me putting nearby the comment of a user or the post of a user that the user as a specific profile, or that he has a special atribute on this profile?

Basically I want to make it public certain users are members of my organization or that they contribute money to the site...

Miguel

Make Clean URLs work on 1&1 Internet web hosting

I recently found out that Clean URLs might simply not work on some web hosters, e.g. 1&1 Internet, although mod_rewrite is enabled on these systems. This is because these hosters might have some special ways of enabling mod_rewrite.

All seems set up correclty, your web hoster says that mod_rewrite is working and can be used, still Drupal complains that your web hoster does not allow the rewriting of URLs and that the system administrator should be contacted.

This is what happens:

In Drupal's .htaccess file you might find a statement just above the Rewrite rules. Now, some web hosters, especially 1&1 Internet, seems to "hide" the module although it is there (I am not an expert on large scale web hosting technology and setting up Apache Servers in typical large scale web hosting environments, so if anyone has an explanation, please let me know!)

So to make Clean URLs work in such an environment, simply delete the line or place a # in front of it to comment it out, look all the way down and find and delete that to (or palce an # in front of it). Also, especially for 1&1, it's vital to tell the server where the RewriteBase is, even if it is in the web root, so change "#RewriteBase /drupal" to "RewriteBase /" if your site's right in the web root or "RewriteBase /drupal" if it is in the subdirectory "drupal"...

Please help with mysql query!

Hello,

I am about to finish my first module, which turned out to be nearly as big as system.module!

Unfortunately, I have very poor SQL skills. I haven't dealt with SQL directly in years.
So... well, I need some quick help with a query.
I have two tables. One is the normal "node" one:


+----------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------+------------------+------+-----+---------+----------------+
| nid | int(10) unsigned | | PRI | NULL | auto_increment |
| vid | int(10) unsigned | | MUL | 0 | |
| type | varchar(32) | | MUL | | |
| title | varchar(128) | | MUL | | |
| uid | int(10) | | MUL | 0 | |
| status | int(4) | | MUL | 1 | |
| created | int(11) | | MUL | 0 | |
| changed | int(11) | | MUL | 0 | |
| comment | int(2) | | | 0 | |
| promote | int(2) | | MUL | 0 | |
| moderate | int(2) | | MUL | 0 | |
| sticky | int(2) | | | 0 | |
+----------+------------------+------+-----+---------+----------------+

How to install Drupal on multiple sites from a single codebase

I have seen people having trouble install multiple sites from a single codebase.
That is why I have posted this.
Pros of a multisite installation:
•Less room taken
Cons of a multisite installation:
•You need certain features not all hosts have

I hope this helps.

Hosting requirments:
SSH access
FTP access

Directions:
1. If you don't have an FTP client, get one, or use the one you have. For Mac OS X 10.3.9 or later, use Cyberduck, and you see the website at http://www.cyberduck.ch, and download it at http://cyberduck.ch/Cyberduck-2.5.5.dmg. For Windows, use Firezilla, at http://firezilla.scourceforge.net, and downloadable at http://prdownloads.sourceforge.net/filezilla/FileZilla_2_2_19.zip?download.
2. With your FTP client, connect to the FTP server.
3. Install Drupal in the main directory of your site. In this example, we'll say this is in the main directory, or /main. For those of you that don't know, / seperates directories, and the directory / is the directory that you first see when you log in to FTP, also called root.
4. Using whatever service you host has (e.g. CPanel, 1&1 Control panel, ect.) create the subdomain you want(In 1&1, you will need to change the destination.
5. Using your FTP client, look for the folder that your host created. Here we will assume it is /subdir
6. Open up your shell program. On Mac OS X, it is the Terminal. I'm not quite sure as to wat it is on Windows, because I don't use it, but I'll find out.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.5.x or older