Post

Visualizzazione dei post da 2014

Importare dump di database Mysql InnoDB ed errore “foreign key constraint fails”

Con tabelle InnoDB impostate con foreign key constraints e dover spostare i database da un server all’altro. Se proviamo ad importare un dump di un database Mysql con tabelle Innodb potremmo imbatterci nelle errore di tipo foreign key constraint fails . La soluzione è molto semplice, basta disattivare il controllo di foreign key constraint inserendo all’inizio del file contenente il backup del database Mysql la seguente query : SET FOREIGN_KEY_CHECKS = 0; Non dimenticate di riattivare il controllo mettendo alla fine del file contenente il dump del database la query: SET FOREIGN_KEY_CHECKS = 1; Ora potrete caricare il dump senza nessun problema.

[Archivio ] 9 Steps to Sync your FileMaker data with Drupal

Immagine
If you read my first blogpost on using WSClient and Rules to push your Drupal data to FileMaker, then you're ready for the rest of the story: How to get your FileMaker data into Drupal . Well, sir or madam, there are two ways: write FileMaker scripts to push data to Drupal, or use Drupal to pull data from FileMaker. We suggest the latter, and here’s why. FILEMAKER SCRIPTING IS A MAJOR PITA Pushing field-level data to Drupal with the OnObjectSave trigger sounds like such a great idea at first blush, but major blockers surface pretty quick. Guess what happens every time you modify any FileMaker field: OnObjectSave calls your custom script to push a REST request to Drupal services, and the FileMaker client interface locks up for the duration of the request! That's about a three second "freeze" every time your client edits a field. “Well, let’s simply log the change for later processing by a server-side FileMaker script.” Great idea. But there still remains t

[Archivio] Featured Recipe: FileMaker and Drupal

Do you love  FileMaker ? Do you work with (or for!) someone who does? I’m now a Drupal Developer at Mediacurrent, but my last position (at  Georgia Tech ’s  Office of International Education ) involved a lot of FileMaker work, and this FileMaker integration would have been a lifesaver, so here goes! First, a bit of background on FileMaker for the unindoctrinated: “Tackle any business task... Powerful, easy-to-use database software for yourself or a team. Create forms, reports and labels. Share on a network or over the web.”  Lots  of non-technical folks love to use FileMaker; it's a cheap and intuitive alternative to more expensive visual database solutions, like Microsoft Access. It's the #1 best-selling standalone database for both Macintosh and Windows and has won dozens of awards in the industry. (Source:  ScottWorld.com ). At Mediacurrent, we recently integrated a client's existing FileMaker database with a freshly-launched Drupal 7 website. Here’s an overview of the

Come disattivare la segreteria telefonica su iPhone

La segreteria telefonica rappresenta quasi sempre un fastidioso intoppo  sia per chi chiama, costretto a pagare lo scatto alla risposta solo per scoprire che il destinatario non è raggiungibile, sia per chi riceve, ridotto a spendere bei soldoni per ascoltare messaggi che molto spesso consistono in una semplice pausa di silenzio. Per non parlare, poi, dei tocchi accidentali all’icona  Segreteria  nell’app  Telefono  degli  iPhone  con conseguente chiamata automatica e, anche in questo caso, assottigliamento del credito residuo.   Per la maggior parte di noi, la segreteria telefonica è quindi un’inutile ed inopportuna sanguisuga succia-soldi.  Come fare per disattivarla definitivamente dai nostri iPhone?  In generale, se si desidera disattivare qualsiasi tipologia di segreteria/trasferimento di chiamata si può  comporre la stringa ##002# e premere il pulsante di chiamata . Se la procedura non dovesse andare a buon fine o se si desidera personalizzare l’uso della segreteria in