Recent Topics

Upgrade troubles

Started by on Jun 24, 2017 – Contents updated: Jul 14, 2017

Jun 24, 2017 21:32    

Hi folks,

I just tried performing an upgrade and ran into trouble with the following error. Any ideas?

Thanks,

  • Ethan

Checking default locale...
Notice: Undefined index: en-US in /home/ed8287/humanrally/blogs/inc/locales/_locale.funcs.php on line 1680

Notice: Undefined index: en-US in /home/ed8287/humanrally/blogs/inc/locales/_locale.funcs.php on line 1681

Notice: Undefined index: en-US in /home/ed8287/humanrally/blogs/inc/locales/_locale.funcs.php on line 1682

Notice: Undefined index: en-US in /home/ed8287/humanrally/blogs/inc/locales/_locale.funcs.php on line 1683

Notice: Undefined index: en-US in /home/ed8287/humanrally/blogs/inc/locales/_locale.funcs.php on line 1684

Notice: Undefined index: en-US in /home/ed8287/humanrally/blogs/inc/locales/_locale.funcs.php on line 1685

Notice: Undefined index: en-US in /home/ed8287/humanrally/blogs/inc/locales/_locale.funcs.php on line 1686

Notice: Undefined index: en-US in /home/ed8287/humanrally/blogs/inc/locales/_locale.funcs.php on line 1687

Notice: Undefined index: en-US in /home/ed8287/humanrally/blogs/inc/locales/_locale.funcs.php on line 1688

Notice: Undefined index: en-US in /home/ed8287/humanrally/blogs/inc/locales/_locale.funcs.php on line 1689

Notice: Undefined index: en-US in /home/ed8287/humanrally/blogs/inc/locales/_locale.funcs.php on line 1690
An unexpected error has occurred!
If this error persists, please report it to the administrator.

Go back to home page

Additional information about this error:
MySQL error!

Column 'loc_datefmt' cannot be null(Errno=1048)

Your query:

INSERT INTO evo_locales ( loc_locale, loc_datefmt, loc_longdatefmt, loc_extdatefmt, loc_input_datefmt, loc_timefmt, loc_shorttimefmt, loc_input_timefmt, loc_startofweek, loc_name, loc_messages, loc_priority, loc_transliteration_map, loc_enabled )

VALUES ( 'en-US', NULL, '', '', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, '', 1 )

Jul 01, 2017 14:05

Hope you've sorted this by now. Hopefully you have backups of your database.
Looks like an error as the database is being updated.
Just looking at my table [evo_locales] loc_datefmt

#    Name                    Type                Collation                  Attributes    Null    Default    
3    loc_longdatefmt       varchar(20)           ascii_general_ci                           No      Y-m-d

Jul 01, 2017 20:10

I haven't figured this out - not sure what to do - I'm stuck and the site is down :(

Jul 02, 2017 13:51

What was the upgrade version? to version? and did you do it via the auto update of ftp manually etc.? Do you have a backup of the database?

Jul 04, 2017 01:20

@ethan5150 can you go back and restore a backup, as @amoun mentioned? What was your previous version? What upgrade method did you use?

Your site is looking for a locale pack that doesn't exist. Maybe the FTP upload is not complete and there are some missing folders / files (in case you used this upgrade method).

Jul 14, 2017 03:02

@ethan5150 Please double check all the new files have properly uploaded (FTP again if needed) and try to re-run the upgrade (even on current DB) to see if it can auto-recover. If not, you need to restore a backup.


Form is loading...

powered by b2evolution free blog software – This forum is powered by b2evolution CMS, a complete engine for your website.