Posts tagged: drupal

mysql.sock vanished on my vserver

Listen to this Post. Powered by iSpeech.org

ManMan reviewsMan reviews,

the horror story no one wants. My mysql server stopped working. And I got a warning message from my “server watch” service.
First I thought, ok lets see whats up.  And browsed to my site. To see:

The mysqli error was: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2).

Man, and then I tried to fix this problem, but something must gone wild. Cant reinstall mysql, no way to purge it. Or remove it.
Every time I tried to reinstall a new problem went up. Nothing worked. The problem stays. Try to link it, recreate it, reinstalled, purged,
copied and so on. No chance…. I have no clue whats wrong. Even the “almighty” google wasnt a help. All solutions doesnt worked. so I have
to reinstall my vserver :(

And I still dont know why my mysql.sock vanished. I dont touched the server in the time where it could happened….

GD Image Rotation Low Quality / Poor Performance error on debian

Listen to this Post. Powered by iSpeech.org

If you get a error message like this one:

The installed version of PHP GD does not support image rotations. It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHPPHPPHP. You should recompile PHP –with-gd using the bundled GD library. See: http://www.php.net/manual/en/image.setup.php. An implementation of imagerotate in PHP will used in the interim.

And you run a debian LinuxLinuxLinux server and you have access to it. And you don´t want to recompile (it) . Here is the solution for it:

You could use the dotdeb repository. It has everything you need. Just set this sources:

deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all

In your:  /etc/apt/sources.list file

RunRun reviewsRun reviews apt-get or aptitude, and your done

Drupal domain access module

Listen to this Post. Powered by iSpeech.org

Well, tried hard to get the fine module to work. But I cant… ProblemsProblems reviewsProblems reviews I run into:

After adding a node returned to wrong domain ( main domain ) fixed by ucommenting out the $base_url variable
in settings.php

ContentContent reviewsContent reviews not shown on right site ( all sites ), every time all “pages” are shown on all sites.
Or they where only shown on one site, even when all sites are selected.
This could be fixed by using “views”. But this would mean much work.
Cause you have to create MANY views…

well, I will use the normal, multi site setup of DrupalDrupalDrupal

Drupal and multiste

Listen to this Post. Powered by iSpeech.org

TodayToday reviewsToday reviews I tried to install a multi site setup of drupalDrupalDrupal. And tried the “domains access” module. So far everything runs fine. But I cant
get the “domain” sharing of “nodes” activated. So that news from the main site are everywhere, and from the subsites are only
there available.

At this moment every node is everywhere available. Not really what I want…

But enough for today. Have to take some sleep :)

LouiseBrooks theme byThemocracy