Refonte du site Taxi Avoriaz

Le site des taxis Evasan fait peau neuve!

Réservation de transferts en taxi pour Morzine et Avoriaz, mais aussi à destination des stations de ski de Châtel et Abondance, depuis les aéroports de Genève et Lyon.

Des transferts en taxi sont aussi possible depuis les Evian ou Thonon à destination des aéroports de Genève et Lyon.

Service très professionnel!


Afficher l’encoding d’une base mysql


SELECT default_character_set_name FROM information_schema.SCHEMATA WHERE schema_name = "schemaname";


SELECT CCSA.character_set_name FROM information_schema.`TABLES` T, information_schema.`COLLATION_CHARACTER_SET_APPLICABILITY` CCSA WHERE CCSA.collation_name = T.table_collation AND T.table_schema = "schemaname" AND T.table_name = "tablename";


SELECT character_set_name FROM information_schema.`COLUMNS` WHERE table_schema = "schemaname" AND table_name = "tablename" AND column_name = "columnname";

Drupal – css and js aggregation bug

When css and js are compressed, they are returned to the browser which should unzip them. But when it fails, css design is broken. To fix that follow this : 

Edit settings.php and uncomment the lines : 

$conf[‘css_gzip_compression’] = FALSE;
$conf[‘js_gzip_compression’] = FALSE;

Edit .htaccess and delete this call : 

<IfModule mod_headers.c>

« The requested content cannot be loaded. please try again later. » – fancybox

Some times, when you try to load content into a fancybox, you may get this message : 

« the requested content cannot be loaded. please try again later. »

'width': '100%',
'height': '100%',
'autoScale': true,
'transitionIn': 'fade',
'transitionOut': 'fade',
'type': 'inline',
'content': $("#results").html(),

In my case, this hapenned when I tried to load content in ajax from an html element,  whose value wasn’t set yet. To fix that, I added a timer to wait for the results.