Drupal is up and running but how do I ...?

access log stopped working

Hi,
Recently my access log stopped working. When I go to "admin/logs/recent hits", nothing shows up. When I look in "admin/logs", I am seeing database errors but I'm not sure what the remedy for them is. Here's a sample error:

Duplicate entry '6223' for key 1 query: INSERT INTO drupal_accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('recent hits', 'admin/logs/hits' [edited for privacy]) in [edited]/includes/database.mysql.inc on line 120.

Also seeing this one:

Logged in status from different server

In svr-A, my Drupal is serving http://www.example.com

In svr-B, I have a package that does Directory Listing. This is served thru http://dir.example.com. I want to make it such that users must be logged in thru Drupal in svr-A before they can access a script that adds records to the Directory, http://dir.example.com/add.php

Help With Views

I've searched the website here for about 40 minutes and can't find anything that helps me with my problem. I've also read the docs on the views module and am still confused. Hopefully someone here can help...

Using category module I've created a container called "Resources" and within this container I've created a bunch of categories. See http://www.webhelpzone.com/resources

Using CCK I've created a node type called "directory link" which is a node with 4 fields: Title, Link URL, Link Description, and Link Rating. I've limited the "Resources" container to only be allowed to hold directory_link nodes and made each newly added node be required to have one category under the "Resources" container.

Now when I add a new directory_link node everything works fine except for the actual display. I want to display a table for each category showing each directory_link. For example, the URL Redirection category can be seen here: http://www.webhelpzone.com/resources/url_redirection

I've created a view, clicked the page view, set it to tabular display, entered the fields to be displayed, and set a filter to show only directory_links (as without this filter, it was displaying the categories as well).

My problem is that the same 3 directory_link nodes currently in the database are showing on all of my category pages and not just for the category they should be displayed under (URL Redirectors).

changing from "public" to "private" files directory path

Can someone tell me, in a nutshell, what's required to switch from a "public" to "private" files directory path?

My site presently has zero uploaded files so there shouldn't be any legacy file URL issues.

I have created my new "files" directory above the web root. Under admin/settings I have updated the "files" directory path and switched from "public" to "private".

Tax feature: Related Terms (parent -> child relationships)

Drupal 4.7.2

I'm not sure if this is something I can fix or work around --- or if it is just something we have to live with - based on Drupals structure.

I generally don't use Related Terms, but on this site it would be very useful.

I'll show you what I'm trying to do - before I explain the end result.

I have set-up a Vocab called Locations (this will carry over into international countries)

Under locations I have a Primary Term called United States (selected to use Related Terms)

Under the United States - I have Related Terms such as North Carolina, Tennessee and such - with the United States being the Parent

when entering data into a Flexnode created Node and using Free Tagging - I have two options

a) I can enter the Catagory as "United States, Tennessee"
or
b) I can enter Catagory as "Tennessee"

The issues:

option (a) this will give Two Node Catagory Links - one for United States and one for Tennessee. However, Site Map will see two United States Catagories - one for the Related Terms Parent and one for the seperate United States Catagory (and rightly so probably) but it counts the United States twice - once as the Parent and once as a proper Catagory

Site Map (display for option a)

United States (2)
- Tennesse (1)

option (b) I will only get one Node Tax link for Tennessee, does not show the Related Terms Parent as a Catagory Link option. However, Site Map does see the Parent and returns a very nice display to the realtionship - such as

#145 - Table './colliny2k_neo/cache' is marked as crashed and should be repaired

Okay so my site recently crashed saying the Cache table crashed and should be repaired. Is there anything specific that may have caused this? And how should I go about fixing it?

Also got a bunch of errors like this:

user warning: Table './colliny2k_neo/cache' is marked as crashed and should be repaired query: DELETE FROM cache WHERE cid = 'variables' in /var/www/includes/database.mysql.inc on line 120.

[kbahey -- moved to correct forum. this is not scalability]

Pages

Subscribe with RSS Subscribe to RSS - Post installation