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.

No attributes for virtual products/services

Featured Replies

  • Author

@wakabayashi When I look in the files the sql queries always has a DBPREFIX_ in them. In my world that is a kind of set variable. Am I right it must be set somewhere, or?

  • Replies 57
  • Views 34.2k
  • Created
  • Last Reply

Top Posters In This Topic

Yes, it's defined. It's _DB_PREFIX_, defined in config/settings.inc.php. PrestaShop has the same definition, so no excuses to not use this definition properly :-)

  • Author

But then it must be crap coding, because when it crashes it does it because the sql is pscombinationdownload ......... That table does dot exist because it is created as tb_comb....... and so on

  • Author

Strange, that SQL query should take the DBPREFIX_ but it uses ps_. OK the developer will hopefully solve the problem

But then it must be crap coding

Happens often. Sometimes due to sloppiness, sometimes due to laziness, sometimes due to a lack of knowledge.

  • Author

OK. Now I will add some more mystery on the table. Just to be sure when I contacted the developer I installed a fresh PS 1.6.1.11. During installation I changed the Db prefix to tb_. But after installing the module it worked flawlessly also with the Db prefix as it should do. But why not the other way round

  • Author

So to conclude. The module brake the tbshop if the DBPREFIX is tb_. A tb-shop with ps_ prefix works without a problem. A PS shop works without a problem with both prefixes Suggestions anyone?

@Havouza said in No attributes for virtual products/services:

So to conclude. The module brake the tbshop if the DBPREFIX is tb_. A tb-shop with ps_ prefix works without a problem. A PS shop works without a problem with both prefixes Suggestions anyone?

I think this should be put in bug reports because if the db_prefix doesn't work, it may also not work with other modules.

  • Author

I will first hear what the developer say. I am sure it a module problem. I have found a couple of others that is in the PS shop also

  • Author

I will call them tomorrow. Cant be too harsh, its a free module

  • Author

If they solve the problem that problem dont have to be solved until later by tb

Just got back at the office, you guys are working on weekends ? ;-)

Please let me know what the dev says, i'm very anxious to give this a try :-)

Thanks ! Great find !

  • Author

It is no problems anymore. works perfect. My test shop crashed the first time but it must have been some other reason. I restored it and installed the module again without problem

I've just tried to install it but it crashed at first then the second time I got this:

Parse error: syntax error, unexpected '{', expecting function (T_FUNCTION) in /Applications/XAMPP/xamppfiles/htdocs/tbquebecamerique/classes/module/Module.php(1859) : eval()'d code on line 22 [PrestaShopException]

Class ProductOverrideOriginal_remove593e9ebf16602 does not exist at line 1860 in file classes/module/Module.php

  • Author

Strange. Mine worked flawless when I installed. I hope you have a backup

It's only my desktop dev installation no worries.

I know why.. it is because I had some of the same files already in the override folder and it breaks it, can't install if files are there already. Renamed mine and I could install.. but now i cant log to update it, says this domain is already associated with another account :-/

  • Author

I used the email I used when I created the account with "seller"

Says 'this domain belongs to another account', security is working ;-)

  • Author

meaning he see what domain he is on. But not everyone has emails from the domain they use. fex

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.