Closed (works as designed)
Project:
Internationalization
Version:
7.x-1.4
Component:
Upgrade
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2012 at 23:38 UTC
Updated:
27 Mar 2012 at 16:37 UTC
Just updated the module. When after calling update.php, to preform database 7001 - Refresh caches and rebuild menus, the UI finish with no error. Trying to get back to admin resolve with an error The website encountered an unexpected error. Please try again later.. The website front page still works OK.
Looking at the public_html/error_log file show this error:
[06-Feb-2012 10:31:41] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /home/ecodev/public_html/includes/database/database.inc:2135
Stack trace:
#0 /home/ecodev/public_html/includes/database/database.inc(2135): PDOStatement->execute(Array)
#1 /home/ecodev/public_html/includes/database/database.inc(664): DatabaseStatementBase->execute(Array, Array)
#2 /home/ecodev/public_html/includes/database/database.inc(2314): DatabaseConnection->query('select name, d...', Array, Array)
#3 /home/ecodev/public_html/sites/all/modules/elysia_cron/elysia_cron.module(424): db_query('select name, d...', Array)
#4 /home/ecodev/public_html/sites/all/modules/elysia_cron/elysia_cron.module(478): elysia_cron_get('backup', true, 'running', 0, false)
#5 /home/ecodev/public_html/sites/all/modules/elysia_cron/elysia_cron.module(1154): elysia_cron_is_channel_running('backup')
#6 [internal function]: elysia_cron_cleanup()
#7 {main}
thrown in /home/ecodev/public_html/includes/database/database.inc on line 2135
Only way to continue is to roll back to the prior version.
Thanks.
Comments
Comment #1
shaisamuel commentedRolling back to the files of 1.3, without touching the database, solve the problem. Here is the .info. Hope it can help.
Comment #2
soelver commentedI get the following on admin pages (frontend is fine):
Notice: Undefined index: menu_name i menu_set_active_trail() (linje 2343 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: href i menu_set_active_trail() (linje 2380 af /var/www/drupal7/includes/menu.inc).
Der findes en sikkerhedsopdatering til din version af Drupal. Du bør opgradere så hurtigt som muligt. Se siden med tilgængelige opdateringer for at få flere oplysninger om og kunne installere de manglende opdateringer.
Notice: Undefined index: menu_name i menu_tree_page_data() (linje 1249 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: menu_name i menu_tree_page_data() (linje 1249 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: menu_name i menu_set_active_trail() (linje 2343 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: menu_name i menu_tree_page_data() (linje 1249 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: p1 i menu_tree_page_data() (linje 1253 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: p2 i menu_tree_page_data() (linje 1253 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: p3 i menu_tree_page_data() (linje 1253 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: p4 i menu_tree_page_data() (linje 1253 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: p5 i menu_tree_page_data() (linje 1253 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: p6 i menu_tree_page_data() (linje 1253 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: p7 i menu_tree_page_data() (linje 1253 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: p8 i menu_tree_page_data() (linje 1253 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: href i menu_set_active_trail() (linje 2380 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: type i menu_get_active_title() (linje 2551 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: title i menu_get_active_title() (linje 2552 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: href i menu_get_active_breadcrumb() (linje 2516 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: title i menu_get_active_breadcrumb() (linje 2538 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: href i menu_get_active_breadcrumb() (linje 2538 af /var/www/drupal7/includes/menu.inc).
Notice: Undefined index: localized_options i menu_get_active_breadcrumb() (linje 2538 af /var/www/drupal7/includes/menu.inc).
Recoverable fatal error: Argument 3 passed to l() must be an array, null given, called in /var/www/drupal7/includes/menu.inc on line 2538 and defined i l() (linje 2307 af /var/www/drupal7/includes/common.inc).
Can I find 1.3 somewhere?
I tried changing the .info file as suggested but that didn't help, so I assume I should do something more than just that.
If I had done what is right, I had taken backup, but I didn't, so don't know where to find it.
Comment #3
soelver commentedFound it (duh): http://drupal.org/node/1400896
Replaced the 1.4 with 1.3 (just files - no database update), and it was fine. Thank you for that suggestion :)
Comment #4
shaisamuel commentedGood.
By the way, I didn't suggested to change the .info file. It's never a good way. The reason why I pasted it to here, was to show the details of what works, so it will help the amazing people who are seeking to resolve the bugs.
Comment #5
soelver commentedYes, my bad. I should just read properly :)
But very glad to come here to find this, so I could continue working on something else, and I'll wait a bit for the awesome people working on this module to find the bug on the newest version. I'm not really good with code (clearly), but learning new stuff every day :)
Comment #6
webflo commentedIs this issue still present? Looks like a misconfiguration in elysia_cron or your mysql server.
Comment #7
shaisamuel commentedYes it is! can you help in any way?
Comment #8
soelver commentedSame here. My files are still rolled back to 7.x-1.3.
Comment #9
jose reyero commentedThe only database update in 1.4 is a cache refresh.
So maybe there's something else wrong with your other modules and you just notice when there's a cache refresh?
Comment #10
soelver commentedAfter update of Drupal core to 7.12 and a new update to Internationalization 1.4, it was fine for me.
I had Drupal 7.10 when I tried to update this the last time.
Don't know if it was because of the core 7.10 or something else, but it looks good now for me :)
Comment #11
idflood commentedI had the same issue. Tried upgrading i18n to 1.4 on a drupal 7.8 install and got the "undefined error". I then updated to drupal 7.12 and luckily it fixed the issue. When the site was broken I only had access to the frontpage and the update.php, all the other pages I tested had the error.
Comment #12
jose reyero commentedI think I've already wrote this somewhere but:
We are only developing / working / testing / etc with latest stable version of Drupal core. If you try any other version and find any issue, please keep it for yourself.
Thanks.
Comment #13
ayalon commentedIts because of the php bug 48034.
https://bugs.php.net/bug.php?id=48034
A file in this release is exactly 8192 Bytes long.
Adding or uncommenting anything in the file solved the bug.
The bug has nothing directly to do with i18n.
You can solve it by changing the file size.
I was too lazy to search for the file. In the VBO module I had the same problem. Using the latest dev solves thr problem because the file size probably changes.
http://drupal.org/node/1430532