optimizing apache/php for D6/D7

Hi,
I have decided to make a setup with 3 servers. One for Drupal 6, Drupal 7 and a DB-server. Are there any recommendations on how to optimize php and apache against Drupal 6 and Drupal 7?

regards
Lars Nielsen

Error PDO::__construct(): [2002]

A catalogue of problems today.

After updating Views to 3.0 on my Drupal 7.10 installation, I couldn't run the update.php script. That was resolved using this solution (not really a solution - reinstalling all the files...) - http://drupal.org/node/1373022

Anyway - I got the site running fine again, but have just been struck with this error:


Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in DatabaseConnection->__construct() (line 304 of /home/sites/stellagoddardconsulting.co.uk/public_html/includes/database/database.inc).

Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in DatabaseConnection->__construct() (line 304 of /home/sites/stellagoddardconsulting.co.uk/public_html/includes/database/database.inc).

Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in DatabaseConnection->__construct() (line 304 of /home/sites/stellagoddardconsulting.co.uk/public_html/includes/database/database.inc).

Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in DatabaseConnection->__construct() (line 304 of /home/sites/stellagoddardconsulting.co.uk/public_html/includes/database/database.inc).

SQL as a view

I am just six weeks in to my Drupal experience. I certainly agree it was the right choice, but have come across a problem that I would like to tackle the Drupal way, but can not see how.

I have some custom content fields that users enter data on a daily basis. I want to tally up the sum of those fields, grouping one field by values in another field. I have written the output as an SQL query inside php, and then pushed it inside a block, but I though it would be better to do this as a View?

When i add <a href> tag into the header region it adds another main menu tab.

Hi,

When i add tag into a block in my header region it adds another main menu tab.

Could this be to do with the css recognising the "a" tag and creating another tab?

Thanks for the help.

Rob

What's the best module/s to create a calendar with users and rooms asociated?

Hi everybody!

I've been looking for calendar and scheduler modules, and don't find any specific module that permits me create a calendar where I can asociate a group of users of two diferent roles with a room in a specific time.

What i want a do is like outlook reserve room aplication.

Is there any specific module/s to accomplish this?

Thanks in advance.

og_migrate module error

I'm a new user of Drupal and I was doing a trial and error with it and below is the error message I got when I try to enable the og_migrate module.

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal710_lagrohighschool.lhsog_migrate' doesn't exist: SELECT ogm.plugin AS plugin FROM {og_migrate} ogm; Array ( ) in og_migrate_register_plugins() (line 176 of /hermes/web10/b741/pow.alamave/drupal710lagrohighschool/sites/all/modules/og/og_migrate/og_migrate.module).

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x