Jump to content
thirty bees forum

Beeta

Trusted Members
  • Posts

    399
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Beeta

  1. I'm trying it configuring google workspace routing without success.

    It replies with:

    Send Email Error: SMTP Error: Could not authenticate. 

    Is it normal that the password in the smtp password field of the module configuration is visible?

    image.png.ace838150d58083d341a7f7a0b157e2f.png

  2. @datakick

    I'm on edge

    I just updated TB and now prestabay give me critical errors:

    Context: {"task":"autoList","errorText":"Unknown column 'fl.public_name' in 'field list'","trace":"#0 \/home\/nginx\/domains\/domain.it\/public\/classes\/db\/Db.php(441): DbCore->displayError()\n#1 \/home\/nginx\/domains\/domain.it\/public\/classes\/db\/Db.php(1102): DbCore->query()\n#2 \/home\/nginx\/domains\/domain.it\/public\/classes\/Product.php(2164): DbCore->getArray()\n#3 \/home\/nginx\/domains\/domain.it\/public\/classes\/Product.php(6358): ProductCore::getFrontFeaturesStatic()\n#4 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/helpers\/ReplaceHelper.php(878): ProductCore->getFrontFeatures()\n#5 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/helpers\/ReplaceHelper.php(422): PrestaBay\\Helpers\\ReplaceHelper::buildFeaturesTable()\n#6 [internal function]: PrestaBay\\Helpers\\ReplaceHelper::replaceCallback()\n#7 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/helpers\/ReplaceHelper.php(130): preg_replace_callback()\n#8 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/models\/ProfileProductModel.php(568): PrestaBay\\Helpers\\ReplaceHelper::parseAttributes()\n#9 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/models\/ProfileProductModel.php(432): PrestaBay\\Models\\ProfileProductModel->parseAttributes()\n#10 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/services\/Ebay\/Item\/ItemAbstractRequest.php(949): PrestaBay\\Models\\ProfileProductModel->getDescription()\n#11 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/services\/Ebay\/Item\/ListRequest.php(57): PrestaBay\\Services\\Ebay\\Item\\ItemAbstractRequest->isDescriptionEmpty()\n#12 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/helpers\/EbayListHelper.php(96): PrestaBay\\Services\\Ebay\\Item\\ListRequest->validate()\n#13 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/services\/Synchronization\/Tasks\/AutoList.php(76): PrestaBay\\Helpers\\EbayListHelper::sendList()\n#14 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/services\/Synchronization\/BaseTask.php(53): PrestaBay\\Services\\Synchronization\\Tasks\\AutoList->execute()\n#15 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/services\/Synchronization\/Run.php(211): PrestaBay\\Services\\Synchronization\\BaseTask->run()\n#16 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/services\/Synchronization\/Run.php(157): PrestaBay\\Services\\Synchronization\\Run->executeCronJobs()\n#17 \/home\/nginx\/domains\/domain.it\/public\/modules\/prestabay\/controllers\/front\/cronGeneral.php(51): PrestaBay\\Services\\Synchronization\\Run->execute()\n#18 \/home\/nginx\/domains\/domain.it\/public\/classes\/controller\/Controller.php(196): PrestabayCronGeneralModuleFrontController->postProcess()\n#19 \/home\/nginx\/domains\/domain.it\/public\/classes\/controller\/FrontController.php(251): ControllerCore->run()\n#20 \/home\/nginx\/domains\/domain.it\/public\/classes\/Dispatcher.php(851): FrontControllerCore->run()\n#21 \/home\/nginx\/domains\/domain.it\/public\/index.php(33): DispatcherCore->dispatch()\n#22 {main}"}.

    Is there a new column fl.public_name in 1.5?

  3. On 6/20/2023 at 8:25 PM, papagino said:

    Ok I managed to do an easy way around by editing the tbhtmlblock.php so the HTML Block module is able to be transplanted to the displayBanner hook.

    Could the Thirtybees developers make this change so this can be used by others.

    Attached is the modified tbhtmlblock.php files

    Cheers

    Dan

    tbhtmlblock.php 22.85 kB · 2 downloads

    you should do a PR in github here:

    https://github.com/thirtybees/tbhtmlblock

  4. 27 minutes ago, the.rampage.rado said:

    Here's a simple and short guide to make a simple accordion style FAQ section using HMTL5 and few rows of CSS. Not the perfect solution but a workaround for those waiting to find it.

    https://www.stechies.com/create-accordion-html-without-javascript/


    I combined it with section headers using h2 as title for the sections and it looks pretty fine. It's a simple list, but it's working on all modern browsers and very easy to implement.

    Adaptation:

    Put the custom CSS in Thirtybees' Custom Code section or your theme's custom CSS code field (Warehouse has one). If you have a theme solution go with it, as it will combine the custom rules with the main css file and not embed them in the html. Adjust to your liking.

    details {
        border: 1px solid #d4d4d4;    
        padding: .75em .75em 0;
    	margin-top: 10px;
    	box-shadow:0 0 20px #d4d4d4;
    }
    
    summary {	
        font-weight: bold;
        margin: -.75em -.75em 0;
        padding: .75em;
        background-color: #5f75a4;
        color: #fff;
    }
    
    details[open] {
        padding: .75em;
    	border-bottom: 1px solid #d4d4d4;
    }
    
    details[open] summary {
        border-bottom: 1px solid #d4d4d4;
        margin-bottom: 10px;
    }

    Open a text editor as Notepad++ and format your html code for your CMS page there. Every Q&A is a separate <details></details> tag.
    When you're done with your code go to tinymce's source code editor and paste your code.

    image.png.81f63be52f5eb11d48a9196d5efa8163.png

    Using the usual WYSIWYG editor does not work (you can edit the text after you imported the source but you can't make the element).

    The only fault is that this workaround is not using .js and when you one new question, the already opened one does not close. But for its simplicity and robustness it's a solid solution for me, no bootstrap shenanigans, etc.

     

    	<details>
    		<summary>Question 1</summary>
    		Answer 1
    	</details>
    	<details>
    		<summary>Question 2</summary>
    		Answer 2
    	</details>



    image.thumb.png.88ae739543006a244826e391e6c2260d.png

    In my case is not working, it continue to change the html to

    <p></p>
    <p>Accordion One Body Content 1 Accordion Two Body Content 2</p>
    <p></p>

    after I save the cms article

    p.s. I think this topic have to be moved to Tips and Tricks forum as in this forum the replies are answers.

  5. With professional you pay 29€ per month or 12 months upfront for 228€ (19€ per month). You can see those price change switch the annually and monthly button on the left.

    The deprecated "startup" license was lifetime but without the possibility to get updates (only bugfixes).

    • Like 1
  6. On 3/19/2023 at 7:15 PM, veganline said:

    @Beeta
    About whether I got the module working.
    Never with PHP 7.4 and TB 1.3 or 1.4.. Then it lost all signs of life with PHP version 8. It was the €199 Starter Integration module version 1.8.8 which they now list as "out of stock". Their web site lists updates ending at version 1.8.1 and just an import version available now.

    mine is working

    TB 1.5
    NGINX 1.17.1 (old)
    PHP 7.4.33

    Prestabay version 4.2.1

    The price difference from startup and professional are about 30€.
    https://involic.com/prestabay-prestashop-ebay-integration/pricing

    • Like 1
  7. meanwhile involic replied suggesting to edit the "if" from:

            if (!$dbInstance instanceof DbPDO) {
                throw new DBException(
                    sprintf('DB Instance should be instance of DbPDO, we get %s', get_class($dbInstance))
                );
            }

    to:

            if (!$dbInstance instanceof Db) {
                throw new DBException(
                    sprintf('DB Instance should be instance of DbPDO, we get %s', get_class($dbInstance))
                );
            }
    • Like 1
  8. Update to 7.4 done, now I'm getting this loading the module page:

    
    Exception
    
    Message:
    Involic\Exceptions\DBException: DB Instance should be instance of DbPDO, we get Db
    
    
    Location:
    modules/prestabay/library/PSR4/Involic/Repository/AbstractRepository.php line 48
    
    Stacktrace
    
    #0  modules/prestabay/library/PSR4/Involic/Repository/AbstractRepository.php(48)
    #1  modules/prestabay/library/PSR4/Involic/Model/AbstractModel.php(53): Involic\Repository\AbstractRepository->__construct()
    #2  modules/prestabay/library/PrestaBayContainer.php(188): Involic\Model\AbstractModel::getRepository()
    #3  modules/prestabay/library/PSR4/Pimple/Container.php(115): PrestaBay\Library\PrestaBayContainer::PrestaBay\Library\{closure}()
    #4  modules/prestabay/library/PrestaBayContainer.php(240): Pimple\Container->offsetGet()
    #5  modules/prestabay/library/PSR4/Pimple/Container.php(115): PrestaBay\Library\PrestaBayContainer::PrestaBay\Library\{closure}()
    #6  modules/prestabay/library/PrestaBayContainer.php(363): Pimple\Container->offsetGet()
    #7  modules/prestabay/services/Synchronization/Tasks/Order.php(53): PrestaBay\Library\PrestaBayContainer->get()
    #8  modules/prestabay/services/Synchronization/Factory.php(37): PrestaBay\Services\Synchronization\Tasks\Order->__construct()
    #9  modules/prestabay/services/Synchronization/Run.php(203): PrestaBay\Services\Synchronization\Factory::getTask()
    #10 modules/prestabay/services/Synchronization/Run.php(157): PrestaBay\Services\Synchronization\Run->executeCronJobs()
    #11 modules/prestabay/controllers/front/cronImportant.php(51): PrestaBay\Services\Synchronization\Run->execute()
    #12 classes/controller/Controller.php(191): PrestabayCronImportantModuleFrontController->postProcess()
    #13 classes/controller/FrontController.php(243): ControllerCore->run()
    #14 classes/Dispatcher.php(851): FrontControllerCore->run()
    #15 index.php(33): DispatcherCore->dispatch()
    

     

    this is the interested part of modules/prestabay/library/PSR4/Involic/Repository/AbstractRepository.php

        public function __construct(array $definition)
        {
         	$this->tableName = _DB_PREFIX_ . bqSQL($definition['table']);
            $this->primaryKey = $definition['primary'];
    
            $dbInstance = Db::getInstance();
            if (!$dbInstance instanceof DbPDO) {
                throw new DBException(
                    sprintf('DB Instance should be instance of DbPDO, we get %s', get_class($dbInstance))
                );
    	}
    
    	$this->dbInstance = $dbInstance;
            $this->pdoLink = $this->accessProtected($dbInstance, 'link');
        }
    • Like 1
×
×
  • Create New...