Debugging

MySQL Slow Query Log error

In setting up Slow Query Logs on my server, I ran into the following error:

mysqldumpslow
Can't determine basedir from 'my_print_defaults mysqld' -c -c /etc/mysql/my.cnf output:  at /usr/bin/mysqldumpslow line 38.

It's a bug. Turns out there's an extra -c in the /usr/bin/mysqldumpslow file. Remove it and it should work.Found that solution here.

Tags: Debugging | MySQL

Gallery2 "Error (ERROR_MISSING_OBJECT) : Parent 7 path" Error

I've got an embedded Gallery2 installation within my Drupal website at greg-willis.com/gallery. Once configured, it runs along pretty smoothly. But setting it up can be a bear -- especially if you want those SEO friendly clean URLs. It's been my experience on a couple of different servers that you have to tweak the main .htaccess file to get everyone playing nicely.

Tags: Debugging | Drupal 5 | Drupal 6 | Gallery2
Syndicate content