Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/classes.php on line 1199 Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/classes.php on line 1199 Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/classes.php on line 1199 Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/classes.php on line 1199 Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/classes.php on line 1244 Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/classes.php on line 1391 Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/classes.php on line 1391 Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/classes.php on line 1391 Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/classes.php on line 1391 Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/classes.php on line 1442 Strict Standards: Redefining already defined constructor for class wpdb in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/wp-db.php on line 306 Deprecated: Assigning the return value of new by reference is deprecated in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/cache.php on line 103 Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/cache.php on line 431 Deprecated: Assigning the return value of new by reference is deprecated in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/query.php on line 61 Deprecated: Assigning the return value of new by reference is deprecated in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/theme.php on line 1109 Strict Standards: Declaration of Walker_Comment::start_lvl() should be compatible with Walker::start_lvl(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/comment-template.php on line 1266 Strict Standards: Declaration of Walker_Comment::end_lvl() should be compatible with Walker::end_lvl(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/comment-template.php on line 1266 Strict Standards: Declaration of Walker_Comment::start_el() should be compatible with Walker::start_el(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/comment-template.php on line 1266 Strict Standards: Declaration of Walker_Comment::end_el() should be compatible with Walker::end_el(&$output) in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/comment-template.php on line 1266 Strict Standards: Redefining already defined constructor for class WP_Dependencies in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/class.wp-dependencies.php on line 31 Strict Standards: Redefining already defined constructor for class WP_Http in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/http.php on line 61 Deprecated: Non-static method WP_Http_ExtHTTP::test() should not be called statically, assuming $this from incompatible context in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/http.php on line 94 Deprecated: Non-static method WP_Http_Curl::test() should not be called statically, assuming $this from incompatible context in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/http.php on line 97 Deprecated: Non-static method WP_Http_ExtHTTP::test() should not be called statically, assuming $this from incompatible context in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/http.php on line 142 Deprecated: Non-static method WP_Http_Streams::test() should not be called statically, assuming $this from incompatible context in /storage/content/74/1007074/heracleums.org/public_html/pages/wp-includes/http.php on line 145 2007 April - Archivio - Heracleum Pages

Archivi per il mese April, 2007

Aggiornato Wordpress (da 2.1 a 2.1.3)

Thursday, 5 April, 2007

Finalmente la buona novella che attendevo: l’ultima versione del plugin multilingua Gengo 0.9 compatibile con i recenti wordpress. Avevo WP 2.1 Ella, ho pensato: Ok, aggiorniamo Gengo… eh no no. Altra buona nuova era che Spam Karma 2 aveva anche rilasciato un’ultima release Gengo-compliant, quindi scarico anche SK2 2.3… ma(!) ho scoperto presto che «Gengo 0.9 funziona solo su WordPress 2.1.2 o superiore» e orsù aggiorniamo tutto il cucuzzaro!

Ed eccomi, scrivendo un nuovo post per testare quel che non funzionava su WP2.x di Gengo 0.8 (se vuoi leggi qui sulla non completa compatibilità della versione precedente) dopo che l’aggiornamento generale è stato -spero- compiuto senza intoppi.

Il problemone iniziale è stato, ancor prima dell’upgrade, riprendere il codice nuovo di Gengo e ri-modificarlo, visto che l’avevo pesantemente “craccato” per gestire la mia personale esigenza: determinare la lingua corrente in base al sotto-dominio e non in base a parametri in querystring e rewrite vari di url (quel pessimo /en/ o /it/ in coda a tutti i link del blog). Quindi ho direttamente uploadato la mia versione ritoccata (che impavido eh) e stupefacentemente funzionante… all’apparenza, ora vediamo…

Wordpress upgrade (2.1 to 2.1.3)

Thursday, 5 April, 2007

At last, the announcement I was waiting for: the latest release of the wp multilanguage plugin Gengo 0.9 compatible with recent wp release. I was running WP 2.1 Ella, I thought: Ok, let’s just upgrade Gengo… eh no no. Other good news was that Spam Karma 2 released a Gengo compliant version, so let’s download SK2 as well… but(!) I soon discovered that «Gengo only works for WordPress 2.1.2 or greater» so let’s upgrade the whole bunch!

And here I am, writing this new post also to test the working features of Gengo (you can read here my post about Gengo 0.8 not fully WP 2.1 compliant) after the whole upgrade is successfully -hope so- done.

My main trouble before upgrading was that I hacked heavily Gengo -as described in the post I just linked- to determine the language by subdomain and not by passing querystring parameter or rewrite-url (that awful /en/ or /it/, or whatever, trailing all links). So I had to study again the new gengo.php code, obviously changed specially where I touched it eheh. I upgraded directly my customised Gengo version (how brave) and it seems to work… let’s see…