Jump to content
thirty bees forum

datakick

Administrators
  • Posts

    3,144
  • Joined

  • Last visited

  • Days Won

    497

Everything posted by datakick

  1. what's your php version?
  2. @Traumflug how do you plan to tackle database migration? Say 1.0.9 will introduce new db column for table A, and foreign key to this column from table B. how will be these db changes created when migrated from 1.0.8 to 1.0.9? what happen when you downgrade from 1.0.9 to 1.0.8 what about order of modification (for example we need to drop constraint before we drop column itself)?
  3. @rubben1985 these particular changes are fine. We don't know, of course, how does the external file look like. I really think that some module or vendor library introduces class named Validate, and that this class gets loaded at the very beginning of the request. That would prevent loading Validate core class, and results in this kind of error. Search for class Validate
  4. as long as the module is for ps16, it should be compatible
  5. Search for 'prestashop checkout extra fields module', you should be able to find few of those (paid).
  6. datakick

    Checkout error

    That seems to be problem related to supercheckout module. I'm afraid nobody can help you without the knowledge of its source code
  7. Also, the same error message is also saved inside your log directory within your thirtybees root. So you can always ftp and look for errors there.
  8. That does not help much. Copy error, then go to Advanced Parameters > Logs, and paste it to Decrypt an exception message. It will show you the error message in readable format.
  9. What does the error log says?
  10. @Chandra please look into tb_configuration table and verify that PS_MAIL_PASSWD is correct. Maybe this problem is related to configuration escaping issue... although not likely
  11. Not necessary, it's simple fix, already submitted
  12. It's probably problem with your infrastructure. I've just tested stmp (mailgun) on 1.0.8, and it works as expected.
  13. This problem originates from referralprogram module. I'm pretty sure this exception will be thrown even on tb1.0.7, if this module is installed and url does not contain &sponsor=xxx parameter. The reason this exception is thrown is because Tools::getValue('sponsor') returns false when 'sponsor' parameter is not part of the request. This invalid value is then passed to cipher tool for decryption. Blowfish would return null for invalid input (boolean type), while PhpEncryption will throws exception. This should be fixed in the core -- the behaviour should be consistent. But the module itself should be fixed as well -- there's no need for decryption call, if we don't have anything to decrypt.
  14. The error message is complaining about missing method Validate::isJSON. That's very strange, because this method is clearly there. There are only two explanations I can think of. you have modified core class classes/Validate.php and removed/renamed this method. That's very unlikely. The other possibility is classname conflict. It's possible that some module have class with name Validate, and this class gets loaded at the very beginning of the request. Thirtybees uses lazy loading autoloader, which means it will load any core class only when needed. In this case the core class would never be loaded, because class with the same name exists. But this third party Validate class does not contain isJSON method. This is another way to override core classes. Unlike normal overrides, which extends core class, this method replace the whole core class. Very dangerous, and officially not supported. But some module developers do this kind of things
  15. @movieseals you can download release 1.0.7 and use Configuration.php file from that version
  16. @wakabayashi unfortunately it's a real problem in tb core with incorrect escaping of configuration value. This module stores serialized json object into configuration table. Due to improper escaping, this json can't be decoded when read back from the configuration. That triggers cascade of errors and problems, one of them manifests as smarty notices. But the module is indeed unusable because of this bug
  17. I've tracked this to another issue in 1.0.8 release. @movieseals if you need immediate fix, you can revert this commit: https://github.com/thirtybees/thirtybees/commit/12d2d6c5f9f8c6d821603fba011e9de03eb1f70d
  18. @elund it seems to me that the captcha is working on your site. I've just performed simulated attack -- tried to submit new message via curl, with invalid captcha validation token. My attack attempt was successfully intercepted by the captcha module, see the screenshot. How many spams are you receiving? PS: from your screenshot it's apparent that you are not using latest version of the module. Maybe that would help
  19. @movieseals sure, send it to me. I'm curious.
  20. hard to tell without the module source code
  21. I've just went over the code and found one bug. If the Login attempts is set to non-zero number, the validation for Contact controller is always skipped. So make sure it's zero until this bug is fixed.
  22. If it's an intermittent problem, then it's most definitely mysql server connection limit issue, as @lesley said. Basically, your database server rejects another connection. The very first sql statement that is executed on every connection is setting the utf8 mode. When this sql statement is executed on closed connection it results in failure. The real / underlying issue is obscured by the no UTF-8 support error message. This seems like a database misconfiguration. While it's not a bug in tb itself, the misleading error message should be fixed
  23. It does perform backend validation, but it depends on override. Please ensure that the override for ContactController is installed (you can use overridecheck module to do this), and that you do not have override disabled in settings.
  24. @rubben1985 this philosophy is not new, and it's used in every software I know. It's called exception handling, and the gist is simple - if the code discovers an error, and can't safely recover from it, then it should throw the exception and transfer the responsibility to the caller. That's the best way to deal with this problem I know of, and I've been developing software for 20 years now. When we throw an exception in the code, we do it because we really don't know how to solve the situation at hand. Imagine if you received an email order for product you don't sell. Would you just send different product to the customer?... Because this is what you are asking thirtybees to do -- to ignore the problem and carry on like noting happened. But something happened, we know that much.
×
×
  • Create New...