Cannot upgrade Parallels Web Presence Builder: "Invalid UTF-8 sequence in argument"

Created:

2016-11-16 12:51:31 UTC

Modified:

2017-04-24 12:09:33 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot upgrade Parallels Web Presence Builder: "Invalid UTF-8 sequence in argument"

Applicable to:

  • Web Presence Builder 12.0 for Linux
  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux
  • Web Presence Builder 11.5 for Linux

Symptoms

Parallels Web Presence Builder does not work after upgrading to version 11.5.

For Standalone edition : open the " Try " page in web browser http://%wpb_hostname%/Try . The following error appears in the log ( /usr/local/sb/tmp/sitebuilder.log ):

SB_Exception: Site version are not latest

Troubleshooting

Database of Parallels Web Presence Builder was not upgraded to version 11.5:

[root@wpb ~]# mysql -u%mysql_user% -p%mysql_password% sitebuilder5 -e"select * from config_param"
+----+-------------------+----------+------------+-----------+
| id | config_section_id | name | value | in_backup |
+----+-------------------+----------+------------+-----------+
| 1 | 1 | version | 11.0.11 | 0 |
| 2 | 1 | build | 2012073117 | 0 |

The following error is shown in the upgrade log file ( /usr/local/sb/tmp/upgrade.log ):

2013-06-25T04:06:20+03:00       [EMERG]         Base_SyntaxException: PHP Warning : json_encode(): Invalid UTF-8 sequence in argument

Cause

Custom locate fi_FI is installed (the name may be different). His locale has incorrect symbol for UTF-8 in some files.

According to Localization Files Structure and Format : " Encoding of the locale files must be UTF-8. ".

Find the invalid symbols in locale files with the following command:

[root@wpb ~]# cd /usr/local/sb/resources/locale/fi_FI
[root@wpb fi_FI]# for i in `find -type f -name '*.lng' ` ; do echo $i; iconv -o /dev/null -f UTF-8 $i; done

Note : path for locale directory /usr/local/sb/resources/locale/fi_FI may be different - it depends on customized locale name.

Resolution

Change the files and restart upgrading (reinstall rpm packages of Parallels Web Presence Builder 11.5).

Additional information

Database of Parallels Web Presence Builder was not upgraded to version 11.5

Cannot configure a promotional footer: "Table 'sitebuilder5.promo_footer' doesn't exist"

Parallels Web Presence Builder 11.5 does not work after upgrade: "An internal Parallels Presence Builder error has occurred"

Have more questions? Submit a request
Please sign in to leave a comment.