Having problems installing Drupal? See the Installation Guide for more information.

Internal Server Error -> Too many entries in {locales}?

I ran into some trouble today. I got an internal server error (500) while trying to visit my drupal site. I figured out, that the problem came due to the entries in the locales table. I removed all entries which have not been translated into german (delete from locale where de="") after that, the site works again.

I think the problem is my webserver config (Memory for PHP-Scripts?) but I am not able to admin it. My Provider won't do that so I am asking for a better solution here.

mysql error

Can anyone tell me what this means:

Warning: MySQL: Unable to save result set in /home/virtual/site585/fst/var/www/html/includes/database.mysql.inc on line 73

Fatal error: Got error 127 from table handler query: SELECT * FROM variable in /home/virtual/site585/fst/var/www/html/includes/database.mysql.inc on line 90

And how i can fix this.

TIA

Taxonomy vocabularies vs. parents for books

I was wondering why and when I should use taxonomy vocabularies for books - because I know I can create vocabularies made of book pages.

If I'm not mistaken the book module has a built-in facility for building hierarchies which is called "parents". This seems to eliminate the need for taxonomy vocabularies.

Problems with book.module

I have a site that uses Drupal 4.3.0, I have given authenicated users "maintain books" access but they don't have "access admin pages" access. This used to work well (or nobody complained about it when I was using 4.2.0) until I upgraded.

The problem was that the book.module admin pages appear in the navigation menu for authenicated user and when they clicked on them they'd get an access denied error because they don't have the "access admin pages" right.

I looked through the book.module code and found the following in the book_link function:

if ($type == "system") {
  if (user_access("maintain books")) {
    menu("node/add/book", t("book page"), "book_page", 0);
    menu("admin/node/book", t("books"), "book_admin", 4);
    menu("admin/node/book/orphan", t("orphan pages"), "book_admin_orphan", 8);
    menu("admin/node/book/help", t("help"), "book_help", 9);

    $result = db_query("SELECT n.nid, n.title FROM {node} n INNER JOIN {book} b ON n.nid = b.nid WHERE b.parent = 0 ORDER BY b.weight, n.title");
    while ($book = db_fetch_object($result)) {
      menu("admin/node/book/$book->nid", t("'%title' book", array("%title" => $book->title)), "book_admin");
    }
  }
}

The problem was that people with "maintain books" gets to see the admin pages for it, so I went and changed the if statement to this and it seems to work fine.

if ((user_access("maintain books")) && (user_access("access administration pages"))) {

Now people with maintain books can't see the admin pages for the books, any better solutions or did I do something seriously wrong?

how to modify xtemplate to fixed width?

can anyone help me?
thx!

error in title

i use multibyte char in my drupal, but all thread in frontpage have a error show of title:
the first char is what i cannot recognized char,but it is ok on content admin page,why?

where do the frontpage title was formated?

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal