The subject says it all really - when I change the language, all the text vanishes and I just get an empty page - with the correct colour scheme etc.
I had to delete the module to be able to use the site again.
Tracy
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | modules.txt | 1.03 KB | Tracy Dean |
Comments
Comment #1
owahab commentedDid you try enabling error reporting in PHP and let me know what it says?
Comment #2
Tracy Dean commentedErr, it didn't say anything.
There were no error messages on the screen or sent to watchdog.
Comment #3
Tracy Dean commentedI just tried installing again and as soon as I enabled the module I got the attached page. As you'll see, Google has translated the title of the page but as soon as it gets to the main content it stops. There is also an entry in watchdog as follows:
access denied 21 Oct 2006 - 11:54am admin/modules denied access. Anonymous viewThis suggests to me that google is obtaining the page as an anonymous user even when the real user is logged in and therefore is unable to obtain the page. This also speaks to http://drupal.org/node/90228
This is not the whole answer though as I get the same when I try it with an anonymous user.
Comment #4
owahab commentedNow it's clear.
Google accesses the page as anonymous, thus it gets 404, access denied, since the requested page is in the admin area.
I will fix this by disabling translation for admin area.
Comment #5
owahab commentedadmin area is no longer translated unless you tried yourself translating it :)
Please let me know it's OK to close the issue.
Comment #6
Tracy Dean commentedHave you committed the fix, 'cos it's over 24 hours and the website is still showing the same version (4.7.0, 18/10/2006 - 09:10, 8.86 KB)?
Comment #7
owahab commentedSorry for the mistake: I have fixed the bug in CVS version only thus you didn't see the new commits.
I have commited the fix now to 4.7
Comment #8
duntuk commentedstill only displays blank page when language is changes... and no errors in watchdog ... (have to clear cache to get back to normal; so just disabled it for now.... but other than that, this seems like a clever module if it actually works)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">Comment #9
owahab commentedNow the module will log an error instead of showing a blank page.
Comment #10
hadishon commentedI'm still having this problem with the current 4.7 module. After the first translate attempt, the module breaks the site and the module has to be deleted to get the site back. When I re-upload the module, the site automatically breaks. Any suggestions?
Comment #11
owahab commentedSure you're using the last version? Sure there's no message in the log?
Comment #12
hadishon commentedI've tried both 4.7 and cvs versions.
Drupal does not display an error message.
On the server error logs, I get:
PHP Fatal error: Cannot break/continue 1 level in httpdocs/modules/gtrans/gtrans.module on line 199
I have i18n installed, could this be a problem?
Any suggestions?
Comment #13
hadishon commentedI'll add that the page I tried to translate was a public page that google shouldn't have a problem getting to.
Comment #14
owahab commentedFirst this was really helpful.
Second it has no conflict with any other module, don't worry.
The error in line 199 was fixed IN THE CVS VERSION, so please test and let me know to put an end for this issue.
Comment #15
owahab commented