Jump to content
thirty bees forum

jnsgioia

Trusted Members
  • Posts

    365
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by jnsgioia

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

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

  3. 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, "")
    
  4. 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, "")
    
  5. 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

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

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

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

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

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

  11. I use ~ as the multiple value separator in my csv import.  After I upgraded to 4.0 the features field did not populate and the import failed.  I downgraded to 3.0 and everything worked as normal.  I can not use ; as the multiple value separator.  How can I fix this?  Thank you.

  12. Hello,

    I haven't posted here in years but have been happily using TB almost from the beginning.

    I need to generate an xml file regularly to link our site to a book search site.  Is there a function in ThirtyBees to do that or will I need to get module to do it?  If I need a module do you have any recommendations (my budget is very small at this time).

    Thank you,

    Laura

    LJsBooks.com

×
×
  • Create New...