Jump to content
thirty bees forum

datakick

Administrators
  • Posts

    3,106
  • Joined

  • Last visited

  • Days Won

    479

Everything posted by datakick

  1. I looked in the source page and there is no link containing p=2?p=2 anywhere, so this doesn't seem to be related to build-in paging mechanism. Most likely there is some link somewhere in the web (not necessarily on your site) containing this bad url parameters. You need to look at your site and check everywhere if you could spot this link, and fix it. If the bad link is on third party website, well there is not much you can do. You could propose fix to FrontController that could gracefully solve this situation.
  2. Yes, you shouldn't encounter any issues or problems Nope, core update does not touch third party modules at all
  3. Oh, I found a bug in the server tooling. @ariom please try update now
  4. What version of core updater do you use? I just tried it, and it works fine for me. In server logs I can see that your core updater module sends request to list content of revision 1.1.x, but that doesn't exists anymore. But your module evidently believes it does, which is strange. Maybe some caching issues -- try to delete file /cache/GitUpdateStorage.php and try again.
  5. What languages do you have installed in your shop? What is the actual warning/error message?
  6. Every action have some parameters, and you need to somehow provide values for these parameters. The easiest way is to use Constant value - every time the action run it will pass this value as action parameter. Sometimes, you need to provide dynamic data. For this, you can use Bind -- you will bind parameter value to some information provided by Trigger (Every trigger provide different set of information). For example, trigger 'Stock quantity changed' provides information about 'new quantity', and you can use this information in action. Interpolation is something between Constant and Bind - you provide constant text, but part of this text will be replaced with dynamic values from (possibly multiple) action variables. This is useful for example if you want to construct email subject like "Hello {{firstname}}, your order {{order.reference}} has been shipped" Note that when you writing value for Interpolation, you need to pres @ and then select the variable to be inserted. And that's all. Simple.
  7. datakick

    Demo site

    @SLiCK_303 / @30knees - you know, just a regular maintenance you already do on your own website. Upgrading to new versions, installing selected thirtybees modules, setting up products etc -- with the goal to showcase most of the thirtybees features in an appealing way.
  8. datakick

    Demo site

    Is anyone willing to help maintain the demo sites? I'm sure there are a lot improvements that could be done, but unfortunately I don't have time to do it.
  9. Try to edit file /modules/opartdevis/opartdevis.php, line 87, and change Configuration::updateValue('OPARTDEVIS_SHOWFREEFORM') to Configuration::deleteByName('OPARTDEVIS_SHOWFREEFORM');
  10. Hello everyone, if you are still running your store on PHP 5.6 then please note that thirtybees version 1.2.x is the last one to support this version. Since thirty bees 1.3.0 we will require php 7. You still have some time to upgrade your php environment. You shouldn't encounter any problems or issue, as version 1.2.0 is fully PHP 7 compatible.
      • 4
      • Like
      • Thanks
  11. file permissions maybe?
  12. I'm running latest version of paypal module on my demo site and it works just fine for me. You can check yourself https://demo.getdatakick.com If it doesn't work on your site then there must be some interference there
  13. This will be fixed in next major version
  14. No. I originally wanted to implement this functionality into the datakick module, but I dropped the idea. I'm not sure how big of a market is there for such module.
  15. @moaai Yeah, I know that this is the 'common presta' way to implement custom fields, unfortunately. I have seen this kind of recommendation in many posts on prestashop (and even on thirtybees) forum. But that doesn't make it right. Object model definition is a shared class property, not instance property. Constructor (or any other instance method) should not modify it. Redefining the whole property in product override is not an ideal. It can cause a lot of problems in case we change the model definition in core. But I believe it's a lesser of two evils. Regarding restoring the original code in initProcess method -- I (reluctantly) agree to do that. This code was removed probably because the object model is instantiated later (int processSave or processAdd method) anyway. But the instantiation is conditional -- i the object already exists, it will not be loaded again -- so it should not pose any performance issue. And it will make thirtybees codebase a little bit more compatible. I still don't like it because it feels like rewarding bad behavior 😉 The code will be in bleeding edge soon.
  16. Yep. main branch represents future major release (1.3.0). All new features will be committed there. Updating to this branch will give chance to test you new functionality early on. you could also use 1.2.x branch. This is a bleeding edge for upcoming bugfix release 1.2.1. This branch will not contain any new feature work, only selected bug fixes
  17. This is not a problem with tbupdater, this is some other issue with your server. Your thirtybees is probably using wrong version of GuzzleHttp library. This library is part of /vendor directory. First, check (using core updater) that this directory is properly synchronized. If it is, then there is probably some module that includes old version of GuzzleHttp library, and thirtybees is using this version instead of build-in version.
  18. Yes, unfortunately that happens sometimes. There can be various reasons why this happens: Your customer might close the browser before the redirection is done they can have some browser 'security' plugin installed that prevented the final redirect if you use cloudflare (or similar) then they could have mark your visitor as an attacker and block the access to your site your server could have been overloaded and did not accept new connection at the time there could be error inside payment handler on your site etc... All you can do is look into the server logs (both server and thirtybees logs) to see if there was any error in the timeframe of the payment
  19. Related discussion: https://github.com/thirtybees/thirtybees/issues/1157
  20. Try to disable Auto Format on the currency:
  21. You probably have some javascript error on your product page. Look into js console to find out more.
  22. @moaai the cause of the problem is that you choose wrong way to extend object metadata. If I understand correctly, you modify static product metadata definition inside constructor. That's really not ok. Instantiating object should not have side effects. If you depends on product constructor to change metadata, then we have following problem: echo Product::productFieldExists('my_custom_field'); // prints false $product = new Product(); echo Product::productFieldExists('my_custom_field'); // prints true In other words, system is aware of the custom field only after constructor is called. And this is a big problem that can cause a lot of issues. As an example, consider following two code snippets. Because of the side effect of constructor, both would behave very differently, even though they are both perfectly valid: $fields = $this->getDefinedFields('product'); $product = new Product($id); for ($field: $fields) { $output->addOutputField($field, $product); } $product = new Product($id); for ($field: $this->getDefinedFields('product')) { $output->addOutputField($field, $product); } My recommendation is for you to change your code. Unfortunately there is no easy way to extend object model definition (it will be soon, it's on my todo list). Meanwhile, I recommend you use solution #2 - to redefine "definition" variable in the child class.
  23. The check simply verifies that following conditions are met: return extension_loaded('bcmath') && function_exists('bcdiv'); So either bcmath extension is not loaded, or it does not expose bcdiv function. What PHP version are you using? What is the version of bcmath extension?
  24. datakick

    Demo site

    No problem at all. The actual update of the demo site(s) is trivial, thanks to core updater. The time consuming part is to figure out how to log in, how to manage the servers, etc. That's why some of the tasks take more time than it should. We also need to document all processes so we can do them much more faster next time. Or ideally automate them Anyway, both front and back servers have been updated now. Enjoy
  25. look at the image id -- 3616, and then construct path /img/p/<d1>/<d2>/...../id.jpg, where <d1> is first digit, <d2> is second digit, etc... For example: /store/img/p/3/6/1/6/3616.jpg
×
×
  • Create New...