Jump to content
thirty bees forum

jnsgioia

Trusted Members
  • Posts

    376
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by jnsgioia

  1. 43 minutes ago, datakick said:

    What theme do you use?

    This is, ultimately, theme responsibility. Core only provides information about images and their associations with combinations to theme. What theme decides to do with those informations is up to theme. 

    I believe that standard thirty bees themes do implement this image hiding. But only if the combination have at least one image associated

    I am using the standard Niara theme.  Each combination has at least one photo associated with it, some have more than one.

  2. 11 minutes ago, x97wehner said:

    That is odd. It sounds like something is overriding the default behavior of how the system should work. Try disabling overrides and non TB modules to isolate if that could be the issue.

    I did that and it did not make any difference.  All images still show.

  3. 10 minutes ago, x97wehner said:

    This you can do. On each combination, you can set the photos that pertain to it in the back office. Then, if user selects a combination with color, it will filter display to just those images.

    I have done this.  It does not make any difference.  All the photos show all the time.

  4. Another possiblity is for the large image to only change temporarily when the mouse is hovering over the thumbnail and not change permanently on mouseover.  It would show the customer the option but not make them think they have changed the selection.  

  5. 1 hour ago, x97wehner said:

     It allows me to split the product by color and present each in my category page separately

    Splitting out the combinations is not an option.  I need to be able to only show the images from the selected combinations if it is not possible to drive attribute selection from the thumbnails.

  6. I am using the Niara theme.  The default product page has thumbnails of all the combinations of a product below the large image.  If you change a color in the selection box the color of the large image changes.  If you click on a thumbnail the color in the large photo changes but the selction box does not so the item added to the cart does not match the photo.

    I need to either have the thumbnail trigger the selection box or only the thumbnails for the chosen selection visible.  I can hide all the thumbnails but do not want to do that as if there is more than one photo for a combination the secondary photos will not be seen.

    Any help would be greatly appreciated.

    Thank you

  7. I am creating a new thirtybees site.  As am adding categories it is not displaying the images for subcategories.  On inspection it is calling for 2x images for those, "Generate High Resolution Images" is not clicked and none of the other images are asking for 2x.  What do I need to do to fix this?

    Thank you.

    Never mind - It was a browser cache problem.  I had cleared the cache on the server, but not my local machine.  Feeling foolish...

    • Like 1
  8. 1 hour ago, datakick said:

    yes, you should.

    At the moment it's not critical, this requirement is for future features. But it's better to be prepared 

    Hi,

    This is the response I received:

    YAML PHP Extension is not within the set of available extensions that can be enabled and if you want to install it for your website, you can do that manually and use it from a Local folder.

    How soon I need to do this?

  9. 18 minutes ago, datakick said:

    Since this is a bug in core, module update won't help. 

    @jnsgioia this is fixed in bleeding edge. You can try to update your store, and retest

    I updated to the bleeding edge and  php version 8.2 and retested the module.  Everything worked without warnings or errors!!  Thank you very much.

    However, when I checked the configuration information after the update the following showed.

    Some required tests failed

    Install the 'yaml' PHP extension on your server.

    I do not see that extension as an option.  Do I need to contact my hosting customer service for this?

  10. This is the stacktrace with TB 1.6 php version 8.0 and higher (I tried it on a couple of versions)

    #0  classes/webservice/WebserviceOutputBuilder.php(829)
    #1  classes/webservice/WebserviceOutputBuilder.php(829): str_repeat("\t", -1)
    #2  classes/webservice/WebserviceOutputBuilder.php(570): WebserviceOutputBuilderCore->setIndent(1)
    #3  classes/webservice/WebserviceSpecificManagementImages.php(1234): WebserviceOutputBuilderCore->renderEntity(Image#1, 1)
    #4  classes/webservice/WebserviceSpecificManagementImages.php(947): WebserviceSpecificManagementImagesCore->writePostedImageOnDisk("", null, null, array(17), "/home/customer/www/stargeezerstuff.com/public_html/img/p/")
    #5  classes/webservice/WebserviceSpecificManagementImages.php(649): WebserviceSpecificManagementImagesCore->manageDeclinatedImagesCRUD(false, "", array(17), "/home/customer/www/stargeezerstuff.com/public_html/img/p/")
    #6  classes/webservice/WebserviceSpecificManagementImages.php(728): WebserviceSpecificManagementImagesCore->manageEntityDeclinatedImages("/home/customer/www/stargeezerstuff.com/public_html/img/p/", array(17))
    #7  classes/webservice/WebserviceSpecificManagementImages.php(739): WebserviceSpecificManagementImagesCore->manageDeclinatedImages("/home/customer/www/stargeezerstuff.com/public_html/img/p/")
    #8  classes/webservice/WebserviceSpecificManagementImages.php(361): WebserviceSpecificManagementImagesCore->manageProductImages()
    #9  classes/webservice/WebserviceSpecificManagementImages.php(226): WebserviceSpecificManagementImagesCore->manageImages()
    #10 classes/webservice/WebserviceRequest.php(633): WebserviceSpecificManagementImagesCore->manage()
    #11 webservice/dispatcher.php(102): WebserviceRequestCore->fetch("fdecdc63747f250c2d33c089db648b26", "POST", "images/products/242", array(0) [], false, "")
    
  11. 8 hours ago, datakick said:

    Hi, 

    can you post the stacktrace from the error message?

    This does not look like a bug in module, but like a bug in the core.

    I got it working on TB 1.6.0 php version 7.4  The error is still there but has been downgraded to a warning.

    This is the stacktrace:

    #0  builtin
    #1  classes/webservice/WebserviceOutputBuilder.php(829): str_repeat("\t", -1)
    #2  classes/webservice/WebserviceOutputBuilder.php(570): WebserviceOutputBuilderCore->setIndent(1)
    #3  classes/webservice/WebserviceSpecificManagementImages.php(1234): WebserviceOutputBuilderCore->renderEntity(Image#1, 1)
    #4  classes/webservice/WebserviceSpecificManagementImages.php(947): WebserviceSpecificManagementImagesCore->writePostedImageOnDisk("", null, null, array(17), "/home/customer/www/stargeezerstuff.com/public_html/img/p/")
    #5  classes/webservice/WebserviceSpecificManagementImages.php(649): WebserviceSpecificManagementImagesCore->manageDeclinatedImagesCRUD(false, "", array(17), "/home/customer/www/stargeezerstuff.com/public_html/img/p/")
    #6  classes/webservice/WebserviceSpecificManagementImages.php(728): WebserviceSpecificManagementImagesCore->manageEntityDeclinatedImages("/home/customer/www/stargeezerstuff.com/public_html/img/p/", array(17))
    #7  classes/webservice/WebserviceSpecificManagementImages.php(739): WebserviceSpecificManagementImagesCore->manageDeclinatedImages("/home/customer/www/stargeezerstuff.com/public_html/img/p/")
    #8  classes/webservice/WebserviceSpecificManagementImages.php(361): WebserviceSpecificManagementImagesCore->manageProductImages()
    #9  classes/webservice/WebserviceSpecificManagementImages.php(226): WebserviceSpecificManagementImagesCore->manageImages()
    #10 classes/webservice/WebserviceRequest.php(633): WebserviceSpecificManagementImagesCore->manage()
    #11 webservice/dispatcher.php(102): WebserviceRequestCore->fetch("fdecdc63747f250c2d33c089db648b26", "POST", "images/products/250", array(0) [], false, "")
    
  12. Hello,

    I tried to add product to my site using the Printful module after upgrading to TB 1.6 and it returned a 500 error and said the product was not added.  I checked the site and it actually added the product but without combinations.  The PHP error log is as follows:

    Message:

    ValueError: str_repeat(): Argument #2 ($times) must be greater than or equal to 0

    Location:

    classes/webservice/WebserviceOutputBuilder.php line 829

    It appears to be a problem with adding the images.

    I reached out to the Printful customer service and after sending it to their "Team" they told me that the problem is on my end.

    The only problem is in adding new product.  Orders are syncing with Printful and they are updating shipping information correctly.

    Any help would be greatly appreciated.

    Laura

  13. 9 hours ago, datakick said:

    1) you have to check permissions for directory /modules/ and all it's subdirectories, recursively -- there may be some directory deep in the directory tree that doesn't have proper permissions

    2) check ownership of the directories / files. Permission 755 means that only owner can write. Maybe some directory is owned by different user -- it needs to be owned by the user used by your php process.

    I figured out how to check the ownership using filezilla.  I found that on both the sites with an error there is a file named .directory-upload which has an ownership of 0.  This file does not exist on the other site.  Is this an important file?  If not can I delete it?  If it is how do I change the ownership?

    Thank you for your help.

  14. 8 hours ago, datakick said:

    1) you have to check permissions for directory /modules/ and all it's subdirectories, recursively -- there may be some directory deep in the directory tree that doesn't have proper permissions

    2) check ownership of the directories / files. Permission 755 means that only owner can write. Maybe some directory is owned by different user -- it needs to be owned by the user used by your php process.

    Thank you, how do I check ownership?

  15. Hello,

    I have three websites with thirty bees installed.  Two of them (the first two I created) after upgrading to 1.6.0 have this error on the configuration page: "Set write permissions for the "modules" folder and subfolders."  The third site does not have any error.  I have checked the write permissions and all sites are 755 and 644.  The reason I found this is the Printful module on one site is no longer syncing to Printful.  How can I resolve this problem?  Thank you for any help.

  16. 8 hours ago, datakick said:

    Indeed, the composer dependency of this module do not work properly with the composer dependencies inside core. We really need some way to have composer dependency isolated (to support different versions in every module). But that will be very hard task to implement.

    Meanwhile, I've released a new version of tbspreadsheetdatasource for thirty bees 1.6.0. Please update the module, and it should work again

    Thank you!  That fixed the problem.

  17. It looks like it is a problem with the spreadsheet module. 

    This is the error:

    Declaration of PhpOffice\PhpSpreadsheet\Collection\Memory::get($key, $default = null) must be compatible with Psr\SimpleCache\CacheInterface::get(string $key, mixed $default = null): mixed

    in file modules/tbspreadsheetdatasource/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory.php at line 40

×
×
  • Create New...