Jump to content
thirty bees forum

MichaelEZ

Members
  • Posts

    111
  • Joined

  • Days Won

    7

Posts posted by MichaelEZ

  1. Hmmm very good idea, will try out tomorrow, byt the thing is we already have over 16 000 product, it will be time consuming

    sorry didnt saw picture before, and im still new to thirty/presta.. had to google those expressions, and i have kind of mixed feeling now 

    oh, noooow i got it, silly me. Gona look into that 😄

  2. Okay so lets put it this way: 

    product#1 has set weight to 0,01 that means shipping on it is free

    product#2 has weight set to 1kg, thats means shipping cost 3,60 € 

     

    now if i already have in shopping cart product#1 (shipping is free) and i add product#2, shipping now cost 3,60 €

     

    and we really cant work with all items free shipping, that way we woud lost o lot of money, on many products we have like 2-3 €...product with weight set to 0,01 can have free shipping because we still earn money on them

  3. Hello,

    so I´v this problem with shipping, We are using this system :

    WEIGHT : 
    0.001 - 0.1 kg = free  
    0.1kg - 1kg  = X €

    < 1kg = X €
     

    When someone add  "free shipping"  item to shopping cart (it works), but when another item without free shipping ( with wegiht set to 1 for example)  is added then shipping is no longer free. I woud like to change it to stay free.

  4. depends on categories - fiter

    for example in chainsaws length of slip in cm from, in grinders rpm and so on

    // sorry coundt descibe it better, had no time to do that yesterday

    I need it to many different values which i want to have for example in centimeters from 20cm to 150cm, performance/power in kW, and so on

     

  5. tried on my demo, working fine on mobile/tablet but redirecting on pc.

    "working fine" means - redirecting in order confirmation, unable to make order.

    Also "categories" not working

  6. Well, can u than just run localhost so they can know for sure its not hosting problem? I had same issue, but in my case it was done by external module, where uninstall nor disabling overrides/modules did not help and i had to fix DB manually. My case was migration too.  Well and no one is holding you, but GL. 

  7. Gonna do that, hopefully some new clues will appears, one more Q, I dont want to start new topic. Shoud i go for TB build in cache system or is there paid option? Currently im tryin  xtreme cache, seems to be working but only sometimes, once it load under 2sec but that again around 5sec. 

  8. So i better contact them about it. I have one more Q, we have problem with modules like bestsellet, news etc on homepage, they took 7 s to load, even when theres is only few products.. We bought new theme - new modules on homepage but loading time is still big, yet on category, product page it okay-ish. We had problem with slow queries, somehow we manage to fix that. I cleared whole DB from 1gb to 300mb but still its slow as it was before.

     

    Also I´m unable to support TB : There was an error processing the payment. Please try a different payment method or contact us for assistance.

    All datas inpet were right. I own Visa cart.

     

    // so hosting prov. replied back sayin thats its forbidden on shared hosting, and so i shoud ho for VPS. Well theirs VPS prices are 🤢 🤮 

  9. Was thinking same about 1st, i googled opcache - it is often forbidden .. 

     

    " I own a hosting company and many of my clients complain about this error.

    I can not remove the opcache restriction for obvious security reasons.
    Could not you hide this alert? "

    At hosting provider panel i can turn off/on opcache (PHP 5.4+, 7.x) - [turned on]

    Thanks for quick reply 

  10. Hi,

    after transfer from PS to TB i v got some errors, at first i did not notice, but when i wanted try out build in TB cache system - it crashed. 

    But even with dev mode ON a only see this error when cache is on : [ThirtyBeesException] Unknown resource type ' 

    But after turning off build in TB cache  system - different errors catch my sight - those pop up [dunno how i didnt notice before]

     

    /web/classes/Tools.php on line 1317 - >  line -> trigger_error($error, E_USER_WARNING);

       protected static function throwDeprecated($error, $message, $class)
        {
            if (_PS_DISPLAY_COMPATIBILITY_WARNING_) {
                trigger_error($error, E_USER_WARNING);
                Logger::addLog($message, 3, $class);
            }
        }

     

    Warning: Invalid argument supplied for foreach() in  /web/classes/Dispatcher.php on line 519  - >  line ->  foreach ($moduleRoute as $route => $routeDetails) {

     

     protected function loadRoutes($idShop = null)
        {
            // Load custom routes from modules
            $modulesRoutes = Hook::exec('moduleRoutes', ['id_shop' => $idShop], null, true, false);
            if (is_array($modulesRoutes) && count($modulesRoutes)) {
                foreach ($modulesRoutes as $moduleRoute) {
                    foreach ($moduleRoute as $route => $routeDetails) {
                        if (array_key_exists('controller', $routeDetails) && array_key_exists('rule', $routeDetails)
                            && array_key_exists('keywords', $routeDetails) && array_key_exists('params', $routeDetails)
                        ) {
                            if (!isset($this->default_routes[$route])) {
                                $this->default_routes[$route] = [];
                            }
                            $this->default_routes[$route] = array_merge($this->default_routes[$route], $routeDetails);
                        }
                    }
                }
            }



    Warning on the row 1647 /controllers/admin/AdminPerformanceController.php
    [2] Zend OPcache API is restricted by "restrict_api" configuration directive  - >  line -> opcache_invalidate(_PS_ROOT_DIR_.'/config/defines.inc.php');

     

     if (function_exists('opcache_invalidate')) {
                opcache_invalidate(_PS_ROOT_DIR_.'/config/defines.inc.php');
            }

     

    Warning on the row 132 /classes/PrestaShopAutoload.php
    [2] Zend OPcache API is restricted by "restrict_api" configuration directive   - >  line ->  opcache_invalidate($filenameTmp);

     

    // Write classes index on disc to cache it
            $filename = $this->normalizeDirectory(_PS_ROOT_DIR_).PrestaShopAutoload::INDEX_FILE;
            $filenameTmp = tempnam(dirname($filename), basename($filename.'.'));
            if ($filenameTmp !== false && file_put_contents($filenameTmp, $content) !== false) {
                if (!@rename($filenameTmp, $filename)) {
                    unlink($filenameTmp);
                } else {
                    @chmod($filename, 0666);
                    if (function_exists('opcache_invalidate')) {
                        opcache_invalidate($filenameTmp);
                    }
                }
            } // $filename_tmp couldn't be written. $filename should be there anyway (even if outdated), no need to die.
            else {
                Tools::error_log('Cannot write temporary file '.$filenameTmp);
            }

    So I woud rather solve those, or atleast gain some intel on them - are they harmful? Runnin on thirty bees version: 1.0.8 

  11. Those are 2 shops, one is old and super slow and full of bugs, second new 1.1.0 clean with new design. It was presta 1.6 week ago, bought module to transfer data to new TB but wastn working. So when i updated presta to TB atleast its little bit faster, but now Im stuck at migrating data to new shop. When i copy table i got missing root dir. I thought store manager work out, but i just find out he changed categories ID.. 

     

    When i upload tables its like this : 

    pic1   [ AdminCategories&id_category=1&viewcategory              seems like #id1 but thats not root? ]

    pic2   [ AdminCategories&id_category=2665          in category it shows "root" ]

    pic3   [ AdminCategories default cat page - 24 cat are forbidden  ]

     

    cat1.jpg.a433e6a082a16cb090f554be024d772b.jpgcat2.jpg.76dbedcd868c90fe23818356acca0d62.jpgca3.jpg.e0fe300ed05c7b98f3c652856337708a.jpg

     

    // Too many hick ups, problems, decided to upgrade on 1.1.0 and try to resolve slow queries problem, somehow 😄 

  12. Hi,

    I´m trying to export and import products from TB 1.0.8 to 1.1.0 but problem is root category, Im unable to make it work. I tried to export categories via db, then upload it. I can see cat. in backend, but I ´m getting

    Root category must be an integer valuein file classes/helper/HelperTreeCategories.php at line 350Source file: classes/helper/HelperTreeCategories.php331:        if (!isset($this->_node_item_template)) {332:            $this->setNodeItemTemplate(static::DEFAULT_NODE_ITEM_TEMPLATE);333:        }334:335:        return $this->_node_item_template;336:    }337:338:    /**339:     * @param int $value340:     *341:     * @return $this342:     * @throws PrestaShopException343:     *344:     * @since 1.0.0345:     * @version 1.0.0 Initial version346:     */347:    public function setRootCategory($value)348:    {349:        if (!Validate::isInt($value)) {350:            throw new PrestaShopException('Root category must be an integer value');351:        }352:353:        $this->_root_category = $value;354:355:        return $this;356:    }357:358:    /**359:     * @return mixed360:     *

    Which means root dir is missing. But its not atleast i think

    Same happens via store manager, or I can leave old root fold, and edit it - still not working.

    1st img from 1.0.8 (exporting) and second is importing one.

    image.png.b7bd6042976977f4a48027edd13af6ea.pngimage.png.b8f3c9698ceff750aa7fcbd03adfe707.png

     

    Sure why nopt spend XX hours, then write this, when all i had to do is change parental ID od main categories 😄 

    // i take that back 😄 its just became subfolder...

  13. Hi ,

    I just found out that when customer make and order, it´s sending confirmation emal, even if i turn it off in backend, or change templete  to different one, but then it send 2 emails, one that i changed to different status and again order confirmation. 

    1.1.0 - did not make any changes.

×
×
  • Create New...