Jump to content
thirty bees forum

Beeta

Members
  • Posts

    390
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Beeta

  1. I'm getting a lot of this warnings on collect logs (example collect_20230923.log)

    [22:37:50.5050] [OLD] [55e51c73843cffa9ca9dbacb4e3b2ad5] [WARNING] PHP Encryption can't be used because _PHP_ENCRYPTION_KEY_ constant is not defined. Using Blowfish encryption instead. in file classes/Encryptor.php at line 167.
    [22:37:50.5050] [OLD] [1512861597d39c707e1026a3cd042176] [WARNING] Blowfish encryption is deprected and will be removed in next version of thirty bees. Please use PHP Encryption instead in file classes/CryptBlowfish.php at line 487.

    how can I solve this? is this a bug?

  2. On 9/11/2023 at 6:02 PM, Beeta said:

    @datakick

    I think that the issue is not about datakick manager. I can see that the secondary shop is diplaying products from categories not defined in it. how can be possibile?

    Datakick manager set imported product to categories defined in the primary shop only. I'm not understanding why they are displayed in the BO of the secondary shop. The secondary is in a different shop group too.

    Instead it is:

    I checked the DB and in the table

    tb_product_shop

    I can see the rows for shopid 1 and shopid 3 and I suspect is DKM adding them.

    1. Can you suggest me what can I do to delete them from shopid3 asap after they are wrongly imported from Datakick Manager?
    2. I "just" need to delete the rows in tb_product_shop or are there other tables connected?
      2bis. Can I do it  within a massupdate of DataKick Manager so I can schedule it asap after the import?
    3. In the future do you think to update DataKick Manager to avoid this?

    Thank you

     

  3. @datakick

    I think that the issue is not about datakick manager. I can see that the secondary shop is diplaying products from categories not defined in it. how can be possibile?

    Datakick manager set imported product to categories defined in the primary shop only. I'm not understanding why they are displayed in the BO of the secondary shop. The secondary is in a different shop group too.

  4. On 9/6/2023 at 11:39 AM, datakick said:

    Yes, data import is not per store, but for all stores.

    Ok thanks. So now I can stop to search for a missconfiguration and start to find a way to disable the products for the secondary shop every time the cron runs. ^_^

    Do you have some hints on how to do it?
    - Maybe scheduling a mass update asap after the products are imported that delete/disable products without a certain keyword in the reference name in a specific store?

    or

    - Harassing the "@datakick Manager" developer (do you know who is? 🙂) to implement per store imports? I'm not going this way as I think that it is a difficult feature to implement. 😉

    I can see that in the secondary shop all the imported products are with stock not set in the backend "- -" (and displayed as out of stock in the frontend). I think that is because the supplier set from the import task not exists in the primary.

  5. Hello,

    I created a secondary shop with multistore.
    I "duplicate" the main one and when asked I didn't imported categories, supplier and products, and other "product's related" options; but I imported modules.

    Now I noticed that the two shops are importing products, if I go in the secondary shop and change a configuration in the module Data Manager the changes are reflected to the main shop. I would like that the products get imported in the original shop (id 1) and not in the secondary (id 3) as is a totally different shop.

    The shops are in different shop groups and I never enabled sharing stocks and orders beetween the two shop groups.

    Is it possibile?

  6. As said in the previous post, I tried both. number 1 and number 2 options.

    Some time ago gmail lt create app password, but as far I see now it's not. maybe they deprecated?

    How maybe I see, I think I need to activate 2 step auth for that account, I'm going to try asap and update this thread.

  7. 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

  8. @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?

  9. 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

  10. 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.

×
×
  • Create New...