Jump to content
thirty bees forum

mbc_3

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by mbc_3

  1. Thank you so much! That's all very helpful, I appreciate it. I'm going to try this later today. Thank you for all the work you do!

     

    EDIT: Changing the prefix worked perfectly! Thank you again!

  2. I was wondering if anyone knew where 30 Bees stores information like customers, products, etc. so I can try to restore my store from before the upgrade to 1.3 (long story, mostly it was my fault for not backing up correctly).

    I did a fresh installation and have a working store, but would prefer to have my customer info / products, if possible. I have a backup of all the files from the old installation (essentially just the snapshot of the directory on my web host), and my MySQL database (I used a different prefix for this new installation, but it's the same database). If anyone can point me in the right direction, I'd appreciate it.

  3. After updating to 1.3, my entire storefront was getting a 500 error. I enabled the debug mode and saw this error:

    Class 'Thirtybees\Core\DependencyInjection\ServiceLocator' not found
    
    in file config/bootstrap.php at line 32

     

    any help on resolving this would be appreciated.

     

     

     

  4. Also, in regards to my original issue, replacing "large_default" with "Niara_large" in the og:image tag in /modules/socialsharing/views/template/hooks/socialsharing_header.tpl fixed my issue, and now product images are displayed on Twitter cards.

    Upgrading to 1.1.x did not fix this without this edit, so I'll open up an issue on Github. Thanks to everyone for helping me solve this!

  5. 14 minutes ago, datakick said:

    Look into classes/Translate.php that it contains method getFrontTranslation: https://github.com/thirtybees/thirtybees/blob/21b15c3e17188037e4862ddf357b6a3d65f1c3bd/classes/Translate.php#L403

    If not, use core updater again to fetch the changes. If the changes are not there even after core updater, check file permissions -- maybe your server don't have permissions to write to that file.

    If the method is there, then it's your server cache. Go to Advanced Parameters > Performance and clear cache. That might help

    I could not find getFrontTranslation and I cleared the cache, ran the core updater again, and made sure I had permissions to write the file.

    By copying and pasting the classes/Translate.php file from the github into my server, it worked, and I ugraded to 1.1.x Perhaps it's an issue with the core updater?

  6. I tried updated my shop to 1.1.x, but my shop returned an error. I turned on debug mode and here is what I got:

    Call to undefined method Translate::getFrontTranslation()
    in file config/smartyfront.config.inc.php at line 66

    and the line in question is:

    66:    return Translate::postProcessTranslation(Translate::getFrontTranslation($params['s'], $basename, $params['sprintf'], $params['js']), $params);

    Any ideas? Thank you so much.

  7. 8 hours ago, datakick said:

    Thank you so much! This is exactly where it is.

    One other question: so the reason Twitter card images are not working is because this module is pulling the wrong Image URL: I'm using the Niara theme, but it's generating a URL from the /30-large_default directory instead of /30-Niara_large, where my product images are:

    {if isset($link_rewrite) && isset($cover) && isset($cover.id_image)}
    <meta property="og:image" content="{$link->getImageLink($link_rewrite, $cover.id_image, large_default)}" />
    {/if}

    I'm new to Thirty Bees and I'm not sure what to change - my  gut is telling me large_default should be replaced with Niara_large - is that right? Also, is there somewhere else I should report this issue? I'm sure other people have run into the socialsharing module not generating Twitter card images for their products if they're using the Niara theme.

  8. I'm running into an issue where Twitter cards for my products aren't displaying the product image.

    I looked at the HTML for the product page and I saw the open graph tags (ie, og: type, og: title, og: image), so I know they exist and are being generated. The og: image code doesn't appear to be pulling the correct image for my product, explaining my issue. However, I can't find the .tpl file that generates this code, and I've looked everywhere. Does anyone know how thirty bees generates open graph tags for products?

     
       
       
       
×
×
  • Create New...