When I enable the translation of the page, and a user clicks on the Language drop down, it results in a blank page.

URL - http://www.ciscolearning.org/pdcenter/
Drupal Version - 5.x
Module Version - 5.x 1.2

Tested in Firefox and IE 6.x

In IE, when the language is changed, it results in a WSOD, but if you press the "Back" button, then you get the following error:
Fatal error: Call to undefined function t() in /var/www/cli_main/pdcenter/modules/gtrans/gtrans.module on line 215

Comments

deadhobo’s picture

Priority: Normal » Critical

Same, running 4.7. The site header appears (and is properly translated), as well as the Breadcrumb and the h1 for the page. Everything after that is blank. It may have to do with the theme (I'm using mollio).

Seems like a great idea though; I hope this can be easily fixed!

deadhobo’s picture

Diving into the watchdog turned out the following:

Location http://www.[mysite].org/admin/settings/gtrans
Referrer http://www.[mysite].org/admin/settings
Message htmlspecialchars() expects parameter 1 to be string, array given in /home/[mysite]/public_html/includes/bootstrap.inc on line 609.
Severity error

owahab’s picture

Assigned: Unassigned » owahab
owahab’s picture

Status: Active » Fixed

shrid:
The HEAD contains the fix.
Let me know if it still pops-up.
deadhobo:
Have you tried increasing your max_execution_time (php.ini)?
Let me know.

owahab’s picture

Status: Fixed » Closed (fixed)