Jump to content
thirty bees forum

Havouza

Trusted Members
  • Posts

    1,521
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Havouza

  1. Solved. Missing php package
  2. @datakickcan you tell me what is missconfigured? The message came from TB. And I have 2 shops that is copies and the otherone has no problem
  3. @datakick Hi! Anyone understand what is wrong here Decoded exception Call to undefined function curl_init() in file modules/klarnaofficial/libraries/commonFeatures.php at line 205 Source file: modules/klarnaofficial/libraries/commonFeatures.php 186: $url = $this->getKlarnaUrl(Configuration::get('KCO_TESTMODE')).$endpoint; 187: $headers = $this->getKlarnaHeaders($version); 188: $ch = curl_init($url); 189: curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); 190: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); 191: curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); 192: curl_setopt($ch, CURLOPT_USERPWD, $mid.':'.$sharedSecret); 193: curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0); 194: curl_setopt($ch, CURLOPT_HEADER, 0); 195: curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 196: $contents = curl_exec($ch); 197: curl_close ($ch); 198: return $contents; 199: } 200: 201: public function postToKlarna($data, $mid, $sharedSecret, $version, $endpoint, $patch = false) 202: { 203: $url = $this->getKlarnaUrl(Configuration::get('KCO_TESTMODE')).$endpoint; 204: $headers = $this->getKlarnaHeaders($version); 205: $ch = curl_init($url); 206: if (true === $patch) { 207: curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PATCH'); 208: } else { 209: curl_setopt($ch, CURLOPT_POST, 1); 210: } 211: curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); 212: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); 213: curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); 214: curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); 215: curl_setopt($ch, CURLOPT_USERPWD, $mid.':'.$sharedSecret);
  4. @datakick Hi! I tried to upload the module file in BO but get a 500 error I attach the txt file if you can decrypt it please exception_202271019222.txt
  5. Hi Sorry but I forgot to update the fpm settings so that was default to 2 mb. Now it works Thanks
  6. TB 1.4 I am trying to install a new module but get an error that the file is too big. The module is 2.16 mb and the allowed upload sixe is 20 mb. Is there any setting in tb that I must change or what can be wrong. php.ini say max-upload is 20 mb
  7. I looked into that long ago but decided against it. What we need is really only a good module to upload new pricelists. I have found what seems a very good one that can do much more from Myprestamodules. I have very good experience of the developer, we have more modules from him, and he also test them against tb. So it will be that one. Thanks anyway.
  8. We have used a ps module called ba importer all the time since v 1.0 but after update tp 1.4 edge it has stopped working and the developer is not around anymore. Is there any other such module that works with tb. I have tested the csv importer but the problem is that i cant import the images. And if I want to import an updated version with new prices I either have to choose take away all products before import which also take away the pictures or if I upload the file again it create a duplicate without the manually uploaded picture.
  9. Havouza

    .00 possible?

    Is it possible to set the rounding so the price ex vat always will be .00? TB Edge
  10. If you have a vps you can install what ever version you need. There is no Linux that does not support all versions
  11. @the.rampage.rado 2 lines I cant change from BO or phpmyadmin. get this error Column ps_shop_url.virtual_uri should use character set utf8mb4/utf8mb4_unicode_ci instead of utf8/utf8_general_ci Specified key was too long; max key length is 1000 bytes
  12. Ok I will upgrade to edge when I have fixed all the db problems. I tried to fix the charset problem using sql but it wont work so now I sit and click apply fix row by row and with 2 shops it will take some time Thanks
  13. This is from my update to 1.3. This is an example, the db has to have a different charset all over. I tried to solve in by running sql ALTER DATABASE db_jv80 CHARACTER SET utf8_general_ci COLLATE utf8mb4_unicode_ci But get error #1115 - Unknown character set: 'utf8_general_ci' Any sql guru here TIA
  14. @datakick Hi! I have updated our 2 shops to 1.3 and if finally went flawless. But when I check db after update it show a lot of problems. There is 3 differen categories 1. critical 2. recommended 3. recommended dangerous Which ones should I fix and what means dangerous? Attach the whole list db_diff_jv74.txt
  15. @datakick Morning I tried to decrypt the message but nothing came up. I have now updated the shop to 1.3.without errors. Hope the db also got updated if necessary Thanks for all your help
  16. Hi @datakick Its interesting. The mod_php is depreached but I have forgot to purge it from this server. Now I did that and switche to fpm and now it seems to work again
  17. what kind of file should that be?
  18. When I try to activate developer mode I get the above error. Permission is set to 0644 as all the other config files Any suggestions?
  19. @the.rampage.rado Its i virtual server and only me has any access to it. The firewall is set to only accept ftp and ssh connections from my static ip. I will take a snapshot of the server before I try to be sure. Backups can be hit and miss
  20. @datakick Can you look at my first screenshot about the upgrade errors. Can I still try to upgrade it and see what happens. I will take a snapshot of the server so I can roll back if something goes wrong. I still cant get to the logs to read the textfile you sent.
  21. Done and that worked
  22. @datakick So its the cache and compile directories I should delete and recreate?
  23. If I enable cache again ThirtyBeesException RecursiveDirectoryIterator::__construct(/home/jv80/public_html/cache/smarty/compile/3a/c7): failed to open dir: Permission denied in file vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_clearcompiledtemplate.php at line 76 Source file: vendor/smarty/smarty/libs/sysplugins/smarty_internal_method_clearcompiledtemplate.php 57: $_resource_part_2 = str_replace('.php', '.cache.php', $_resource_part_1); 58: $_resource_part_2_length = strlen($_resource_part_2); 59: } 60: $_dir = $_compile_dir; 61: if ($smarty->use_sub_dirs && isset($_compile_id)) { 62: $_dir .= $_compile_id . $_dir_sep; 63: } 64: if (isset($_compile_id)) { 65: $_compile_id_part = $_compile_dir . $_compile_id . $_dir_sep; 66: $_compile_id_part_length = strlen($_compile_id_part); 67: } 68: $_count = 0; 69: try { 70: $_compileDirs = new RecursiveDirectoryIterator($_dir); 71: // NOTE: UnexpectedValueException thrown for PHP >= 5.3 72: } catch (Exception $e) { 73: return 0; 74: } 75: $_compile = new RecursiveIteratorIterator($_compileDirs, RecursiveIteratorIterator::CHILD_FIRST); 76: foreach ($_compile as $_file) { 77: if (substr(basename($_file->getPathname()), 0, 1) === '.') { 78: continue; 79: } 80: $_filepath = (string)$_file; 81: if ($_file->isDir()) { 82: if (!$_compile->isDot()) { 83: // delete folder if empty 84: @rmdir($_file->getPathname()); 85: } 86: } else {
  24. ThirtyBeesException Unable to load template 'file:controllers/logs/employee_field.tpl' in file vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php at line 195 Source file: vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php 176: * render template 177: * 178: * @param bool $no_output_filter if true do not run output filter 179: * @param null|bool $display true: display, false: fetch null: sub-template 180: * 181: * @return string 182: * @throws \Exception 183: * @throws \SmartyException 184: */ 185: public function render($no_output_filter = true, $display = null) 186: { 187: if ($this->smarty->debugging) { 188: if (!isset($this->smarty->_debug)) { 189: $this->smarty->_debug = new Smarty_Internal_Debug(); 190: } 191: $this->smarty->_debug->start_template($this, $display); 192: } 193: // checks if template exists 194: if (!$this->source->exists) { 195: throw new SmartyException( 196: "Unable to load template '{$this->source->type}:{$this->source->name}'" . 197: ($this->_isSubTpl() ? " in '{$this->parent->template_resource}'" : '') 198: ); 199: } 200: // disable caching for evaluated code 201: if ($this->source->handler->recompiled) { 202: $this->caching = Smarty::CACHING_OFF; 203: } 204: // read from cache or render 205: if ($this->caching === Smarty::CACHING_LIFETIME_CURRENT || $this->caching === Smarty::CACHING_LIFETIME_SAVED) {
  25. It seems this all has to do with some cache problems. A couple of days ago we got an error whatever we tried to do. I sent a ticket to the forum with screenshots. I got no reaction but saw that it seemed to have to do with the snarty cache, so I tested with switching off all cache and it started to work again.
×
×
  • Create New...