Posts

Showing posts from November, 2008

Read about French eZ Developer day with Google Readers inline Translations

Image
There is a wonderful French eZ publish community and many of the members blog. In the past keeping up to date with these has been a quite painful and involved passing the link through an online translator.

Yesterday I read an announcement that Google have added automated translations to their online RSS reader product, Google Reader. Now reading these blogs is as simple as adding the feed and selecting "Translate into my language" from the feed settings options.


I discovered this great new feature at the same time that I read Damien Pobels post pointing out summaries of the eZ Developer day recently held in Paris:
eZ developer day in Paris (November 7, 2008) by Gauthier GarnierEzpublish Developer Day in Paris (November 7, 2008) by Nicolas FreyGauthiers post mentions that there is an International eZ Publish Developer day to be held in Barcelona on January 29, 2009. Can't find anything on the eZ site though.

eZtip: Errors can be misleading...what happens when the DB is dead

Image
I recently received an email from an eZ community member stating after an abnormal system reboot that their working eZ Publish install was reduced to responding with "Error / kernel (1) Access denied"

My suspicion was that there was an issue with the database. More than likely it had not successfully started when the system was brought up again.

I tested this theory by stopping the database in my local development environment and accessing the associated eZ Publish site. Manually editing the settings/siteaccess/eng/site.ini/append.php to turn on debugging confirms the problem and gives an insight into what is happening:

Warning: PHP
mysqli_connect() [<a href='function.mysqli-connect'
>function.mysqli-connect</a>]:
(HY000/2002): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
in /var/www/ezpublish-4.0.0-ezwebmin/lib/ezdb/classes/ezmysqlidb.php
on line 132
Error: eZMySQLiDB
Connection error: Couldn't connect to da…