WordPress database error: [INSERT, UPDATE command denied to user '51213-2'@'10.10.20.212' for table 'wp_options']
INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_doing_cron', '1714610123.9256520271301269531250', 'yes') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)


Warning: Cannot modify header information - headers already sent by (output started at /home/lexiqued/www/WordPress/wp-includes/wp-db.php:1502) in /home/lexiqued/www/WordPress/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/lexiqued/www/WordPress/wp-includes/wp-db.php:1502) in /home/lexiqued/www/WordPress/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/lexiqued/www/WordPress/wp-includes/wp-db.php:1502) in /home/lexiqued/www/WordPress/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/lexiqued/www/WordPress/wp-includes/wp-db.php:1502) in /home/lexiqued/www/WordPress/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/lexiqued/www/WordPress/wp-includes/wp-db.php:1502) in /home/lexiqued/www/WordPress/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/lexiqued/www/WordPress/wp-includes/wp-db.php:1502) in /home/lexiqued/www/WordPress/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/lexiqued/www/WordPress/wp-includes/wp-db.php:1502) in /home/lexiqued/www/WordPress/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/lexiqued/www/WordPress/wp-includes/wp-db.php:1502) in /home/lexiqued/www/WordPress/wp-includes/rest-api/class-wp-rest-server.php on line 1372
{"id":1555,"date":"2016-04-12T10:28:39","date_gmt":"2016-04-12T08:28:39","guid":{"rendered":"http:\/\/www.jonathanantoine.com\/?p=1555"},"modified":"2016-04-12T10:28:39","modified_gmt":"2016-04-12T08:28:39","slug":"windows-app-bundles-and-the-subsequent-submissions-must-continue-to-contain-a-windows-phone-8-1-appxbundle-error-message","status":"publish","type":"post","link":"http:\/\/www.jonathanantoine.com\/2016\/04\/12\/windows-app-bundles-and-the-subsequent-submissions-must-continue-to-contain-a-windows-phone-8-1-appxbundle-error-message\/","title":{"rendered":"#Windows app bundles and the ‘Subsequent submissions must continue to contain a Windows Phone 8.1 appxbundle’ error message"},"content":{"rendered":"

Some days ago when uploading my Windows app to the Store, I’ve got a strange error message : “A previous submission for this app was released with a Windows Phone 8.1 appxbundle. Subsequent submissions must continue to contain a Windows Phone 8.1 appxbundle.”. Here’s how I fixed it !
\n<\/p>\n

About appxbundle<\/h3>\n

When you build an app, you can choose to translate it and add ressource dedicated to a special environments. Images\/Logo specific to each pixel density plateau is one example of it. If you create bundles, your final package uploaded on the Store will be one “main” package and satellite package for each “specific target”. <\/p>\n

It also means that the user will download only what is necessary to their devices<\/strong> : less bandwith used, smaller apps : happy users !<\/p>\n

Creating app’s bundle is easy, in the last step of the Visual Studio package wizard, you choose either “If Necessary” or “Always”.
\n\"appbundle\"<\/p>\n

Choosing to use app bundles has some consequences. The one which I was not happy with was that you won’t be able to let the user choose the language of your app since only the languages installed on it’s device will be available.<\/p>\n

In my last update of TV Show Tracker<\/a>, I wanted to let this freedom to my users so I used the wizard and choose to never create a bundle. I uploaded my package to the Store and I then get the previously mentionned error \ud83d\ude41
\n\"error\"<\/p>\n

Creating my own appbundle<\/h3>\n

The solution is then to create my own app bundle with the SDK tools and upload it to the Store. <\/p>\n

Here are the steps :<\/p>\n

    \n
  1. Create a package using Visual Studio without app’s bundle.<\/li>\n
  2. Go to the created package folder and find the appx file (it can be in a subfolder).<\/li>\n
  3. Copy this file in a separate folder, all alone.<\/li>\n
  4. Use the MakeAppx tool to create a bundle aiming this directory.<\/li>\n
  5. Upload the created bundle to the Store.<\/li>\n<\/ol>\n
    \r\nmakeappx bundle \/p NameOfTheCreatedBundle.appxbundle \/d FolderWithTheAppxInside\r\n<\/pre>\n

    The name of the bundle can be anything as the name of the folder with the appx inside.<\/p>\n

    What did I lost in the process ?<\/h3>\n

    The whole app with all ressources will now be downloaded by my users. This can be frightening : how much more will they have to download ? Let’s take a look inside the app bundle…<\/p>\n

    \"zip\"<\/p>\n

    So an user on a standard density pixels, english phone will now download the not used “scale-140” assets, the “scale-180” assets and french language : 300 more kb –> 2,85 %. So for 2,85% more package size, my user will be able to choose the language of their app.<\/strong> That’s ok for me \ud83d\ude42<\/p>\n

    Happy coding !<\/p>\n","protected":false},"excerpt":{"rendered":"

    Some days ago when uploading my Windows app to the Store, I’ve got a strange error message : “A previous submission for this app was released with a Windows Phone 8.1 appxbundle. Subsequent submissions must…<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,49,7,28,35,5],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/posts\/1555"}],"collection":[{"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/comments?post=1555"}],"version-history":[{"count":13,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/posts\/1555\/revisions"}],"predecessor-version":[{"id":1571,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/posts\/1555\/revisions\/1571"}],"wp:attachment":[{"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/media?parent=1555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/categories?post=1555"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jonathanantoine.com\/wp-json\/wp\/v2\/tags?post=1555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}