Reggie Thomson’s Diary

Diary of a Digital Photographer

June 1st, 2007

Best to uninstall gengo - not deactivate it

I was having problems with my test website after deactivating the gengo plug-in. Whenever I clicked on a link, I got a “Woops - the server tried all options but could not find the page you requested” (or similar) message.

To solve it, I reactivated gengo (this meant that the admin panel disappeared - blank page because I haven’t enabled phperrors). I then used phpmyadmin to put the gengo plug-in as the last in the list in “active_plugins” on the table “wp-options”. This allowed me to navigate to the “gengo” page and perform an “uninstall”, which simultaneously deactivated the plug-in. I now have all my permalinks available again.

May 30th, 2007

Gallery2 and Gengo problems

When I activate the plug-in “gengo” after activating “geo”, “wp-amazon”, “wp-contact-form” and “wpg2″ (which all seem to work prior to activating gengo), I get the following error (in the admin page):

Call to undefined function get_currentuserinfo() in /wordpress/wp-content/plugins/gengo/gengo.php on line 1080

I then go the phpmyadmin and edit the “active_plugins” on the table “wp_wordpress_options”, putting the gengo to the last item in the list. This seemed to solve the problem in wp-admin.

However, the site itself gets the error:

Call to a member function wp_rewrite_rules() on a non-object in /wordpress/wp-includes/classes.php on line 33

Also, on visiting the wpg2 admin page, the following error shows:

Checking System Status…

Warning: main(/tmp/gallery2/embed.php) [function.main]: failed to open stream: No such file or directory in /gallery/embed.php on line 3

Fatal error: main() [function.require]: Failed opening required ‘/…/gallery2/embed.php’ (include_path=”) in /gallery/embed.php on line 3

Oops. I didn’t follow the instructions in the readme.txt file

3. Move the file “wp-gallery2.php” from the /wpg2/root/ directory to your wordpress root directory, the directory that contains wp-config.php.

The gallery problems seem to be in gallery itself, not in WordPress. For the moment, I will disable both gengo and gallery2 (wpg2).

May 3rd, 2007

WordPress plug-ins that don’t work with gengo

The following plug-ins do not appear to work with gengo 0.9 (multi-language plug-in) and WordPress 2.1.3:

geo 1.9.1
organizer 1.2.1
wp-amazon 1.3.2
wp-contact-form 1.4.3
January 15th, 2007

Upgrading to WordPress2.0.6 - Gengo error - blank page for French

I’ve upgraded my WordPress test website to WordPress2.0.6.

Now, the French language page is blank.

I enable PHP errors to be visible by updating the .htaccess to include:

php_flag  display_errors  on

The error is reported as

Fatal error: Class ‘CachedFileReader’ not found in /…./wp-includes/wp-l10n.php on line 67

A local search of the contents of all the files on the wordpress directory gave this clue in wp-content/plugins/gengo/readme.txt

= I get “Fatal error: cannot instantiate non-existant class cachedfilereader” =

You have to set WPLANG in your wp-config.php file to be the default language locale.

I edit config.php to put the default language to English


// Change this to localize WordPress.  A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', 'en');

And everything works (even though there is no corresponding en.MO file in the wp-includes/languages directory).

December 27th, 2006

Gengo giving a database error

I’ve updated another blog, and get the following error


WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
SELECT category_nicename AS original, sanitised FROM wp_chinese_categories c INNER JOIN wp_chinese_cat2syn syn ON c.cat_ID = syn.cat_id WHERE c.category_nicename IN ('classes') AND syn.language_id =....

I thought it was an Ultimate Tag Warrior problem, but it is just a Gengo installation problem - I had the plug-in activated, but hadn’t set the default languages.

|