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

Moved site to new host, now cannot save content

Hello all,

I recently moved my Drupal 4.7.2 installation from a temporary server to our permanent server, and am having some issues.

I restore the db, and set the proper settings in the config file, and the site loads up. However, I cannot create content, or make site changes, the changes are not saved.

I can log in as admin, and when I do, I do notice that a session is created and logged by Drupal. However, earlier I was having an issue with not having LOCK TABLE permissions, which has since been fixed by my hosting provider.

Database error on administer > content

(Drupal 4.6.8)

After I made some changes to some of the categories/taxonomy on my site, I started getting database errors whenever I try to administer content (admin/node):

Not unique table/alias: 'tn'
query: SELECT COUNT(*) FROM drupal_node n INNER JOIN drupal_term_node tn ON n.nid = tn.nidINNER JOIN drupal_term_node tn ON n.nid = tn.nid INNER JOIN user u ON n.uid = u.userid WHERE tn.tid = 39 AND tn.tid = 20

If I run the query manually, I'll get an error:

SELECT COUNT( * )
FROM drupal_node n
INNER JOIN drupal_term_node tn ON n.nid = tn.nid
INNER JOIN drupal_term_node tn ON n.nid = tn.nid
INNER JOIN user u ON n.uid = u.userid
WHERE tn.tid =39
AND tn.tid =20
LIMIT 0 , 170

MySQL said: Documentation
#1066 - Not unique table/alias: 'tn' 

However, if I remove that second "inner join" query, there's no error.

SELECT COUNT( * )
FROM drupal_node n
INNER JOIN drupal_term_node tn ON n.nid = tn.nid
INNER JOIN user u ON n.uid = u.userid
WHERE tn.tid =39
AND tn.tid =20
LIMIT 0 , 170

Repairing and optimizing tables didn't fix the error. There are no messages about this error on drupal.org, and Googling produced no results.

So, what's causing the second "inner join" to happen? Why did it begin only after I altered the taxonomy? What's the ultimate fix?

How to display User Profile instructions without custom user_profile.tpl.php?

Is there a way to display some instructions to help a user fill in the "my account" profile page? The profile module allows for field-specific hints, but I'd like to put some general directions on the default "edit" page.

I'm also using CiviCRM, which adds its own categories into user profiles, so I'd rather avoid having to integrate by creating a custom user_profile.tpl.php.

Thanks.

Members can change eachothers blogs - how to prevent this?

Hi
I have made a blog-site where about twenty people have their blogs. I have also made a role which I call member. Now suddenly we found out that they can change and erase in eachothers blogs. That is not good. And the only choice in rights is change blog. And you have to have that one checked otherwise they can't reach their own blog.

Anyone have a solution for that problem??

less blog more static content

Im trying to use Drupal to design a site containing a hierarchy of mostly static information pages. I am using the front_page and category modules. What I would like to do is create the navigation hierarchy I assume using containers (adults, kids, teens) with each container having something of a home page of its own. Then set things up so that other administrators would be able to post static pages under a chosen container. Where I run into trouble is setting up the initial containers so that child containers do not get listed at the bottom of the parents pages (like a blog).

Multiple Sites in multiple directories

i have a single drupal site running on a win2003 server with xampp. it's the first time i've tried drupal and i'm loving it. i dumped the drupal folder under xampp's htdocs directory so i can browse to it via the url 127.0.0.1/drupal

i need to have several drupal sites, each under a separate subdirectory (as opposed to subdomains)- 127.0.0.1/drupal/site1, 127.0.0.1/drupal/site2 etc.

Pages

Subscribe with RSS Subscribe to RSS - Post installation