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

Review my.cnf server configuration file

Hey guys...first off Happy New Years!

I have been trying to tweak / optimize my sites my.cnf based on suggestions from this site and via google searches. I just wanted to post what I currently have to get some second opinions. The site is currently running on a dedicated pentium dual core with 4GB RAM. The current my.cnf are as follows:

[client]
port = 3306
socket = /var/lib/mysql/mysql.sock
[mysqld]
server-id=1
port=3306
socket=/var/lib/mysql/mysql.sock
key_buffer=64M
max_allowed_packet=16M
join_buffer_size=1M
sort_buffer_size=2M
read_buffer_size=1M
myisam_sort_buffer_size=64M
thread_cache=1024
thread_cache_size=80
interactive_timeout=30
wait_timeout=40
connect_timeout=10
query_cache_limit=1M
query_cache_size=64M
query_cache_type=1
tmp_table_size=512M
thread_concurrency=2
pid-file=/var/run/mysqld/mysqld.pid
# memory=key_buffer+(sort_buffer_size+read_buffer_size)*max_connections
max_connections=600
max_user_connections=400
max_connect_errors=10
table_cache=2400
old_passwords=1
key_buffer_size=256M
log-slow-queries = /var/log/mysql-slow.log
long_query_time = 1
low_priority_updates=1

concurrent_insert=2

skip-bdb
skip-name-resolve
skip-locking

#skip-locking
#skip-innodb

[mysqld_safe]
err-log=/var/log/mysqld.log
open_files_limit = 8192

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash

[isamchk]

Registering users

I'm setting up my site to accomodate unmoderated feedback & forum posts from registered users and need a bit of help with a small bit of customization.

Hierarchical taxonomy question

Hi

I've tried to understand how a hierarchical taxonomy works. I thought that a selection/search of a parent term would also list the children? Let me exemplify:

I have a vocabulary named 'Subject'.

The Subject taxonomy hierarchy looks like this, (just a bit of it)

1. Cardiology (url: taxonomy/term/7)
1.1 Heart physiology (url:taxonomy/term/23)
1.2 Heart pathology (url:taxonomy/term/24)
1.2.1 Symptoms (url:taxonomy/term/28)

An HTML (img tag) question

Hope someone can help with this html formatting question. Browser - Firefox. Input - Full HTML.

<img src="http://superjacent.net/drupal/files/20061225-XmasLesleys-023.jpg" alt="Xmas at Lesley's" title="" width="300" align="left" hspace="8" vspace="10" />Well I didn't get out for a run today, just too much to do. Therefore I didn't crack 2800 km for the year. Maybe next year.

The above can be found here My trail drupal site.

"menus" missing from administer menu

I've just installed a copy of another Drupal 4.6.x website on a new host and notice that the menu module isn't available under the Administer menu. I've tried the following:

Going into Administer/Modules, disabling menu and re-enabling it,

Disabling the menu module, FTPing a fresh menu.module file from a downloaded new 4.6.0 archive, re-enabling it.

Going into the database with phpMyAdmin and making sure that /admin/menu existed.

Deleting cache and sessions in the database.

Checking file permissions in the modules directory (chmod). They're all 755.

Only display link in menu if user has access to admin panel

I want to add a link to the admin panel to a menu (just one single link, not the tree of links for the admin panel) but of course this link should only be visible for users who can actually access the admin panel. How would I do this? I've searched in the admin panel for ages to find an option to do this, but (guess what) I couldn't find anything. I now have the idea to edit the template file and add a bit of code for this specific link, but how do I check if a user has access to the admin panel?

Pages

Subscribe with RSS Subscribe to RSS - Post installation