Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Upgrade error 1.07 to 1.08

Featured Replies

upgraded from 1.07 to 1.08.

 

Received this message

UPGRADE COMPLETE!

Errors

 

SQL 1.0.8 1064 in INSERT INTO `ps_configuration`(`name`, `value`, `date_add`, `date_upd`) SELECT 'TB_MAIL_SUBJECT_TEMPLATE', '[{shop_name}] {subject}', NOW(), NOW() WHERE ( SELECT COUNT(*) FROM `ps_configuration` WHERE `name` = 'TB_MAIL_SUBJECT_TEMPLATE' ) = 0: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ( SELECT COUNT(*) FROM `ps_configuration` WHERE `name` = 'TB_M' at line 3

Solved by toplakd

This error is related to back office "Advanced Parameters / Email" and therefore the "Email subject template field" is left blank, so after migration you have to add [{shop_name}] {subject} into that field and save it. 

  • Author
29 minutes ago, toplakd said:

This error is related to back office "Advanced Parameters / Email" and therefore the "Email subject template field" is left blank, so after migration you have to add [{shop_name}] {subject} into that field and save it. 

Thanks for the reply I have done that but when I save I get this error message

Email template must contains {subject} placeholder
 
 
  • Solution

Its funny. Copying the red formatted text from forum into field gives error,

but copying same text from thirtybees other instalation gives green ok.

Let me try once again without red formatting.
[{shop_name}] {subject}

p.s.

Exactly. Pasting Red formatted text into field with ctrl+v gives red error, but pasting red formated text with ctrl+shift+v gives no error.

Edited by toplakd

  • Author
1 hour ago, toplakd said:

Its funny. Copying the red formatted text from forum into field gives error,

but copying same text from thirtybees other instalation gives green ok.

Let me try once again without red formatting.
[{shop_name}] {subject}

p.s.

Exactly. Pasting Red formatted text into field with ctrl+v gives red error, but pasting red formated text with ctrl+shift+v gives no error.

Weird - but it has worked. Many thanks for your help

On 1/27/2019 at 10:42 AM, toplakd said:

Its funny. Copying the red formatted text from forum into field gives error,

but copying same text from thirtybees other instalation gives green ok.

Some databases like this syntax, others not. Before committing this query I tested it, of course. In my local DB it works.

There is this Gitub issue with a (hopefully) better syntax: https://github.com/thirtybees/tbupdater/issues/15

 

Being knee-deep into the new Gut Updater (which solves this without SQL), I didn't come around to test this, yet.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.