Migrate Legenda theme to thirtybees



  • Hi!

    I am eager to migrate to thirtybees but unfortunately I have some errors with my theme.

    The theme is called legenda and is made for Ps 1.6.
    https://themeforest.net/item/legenda-responsive-multipurpose-prestashop-theme-16-theme-blog/12021802?s_rank=2

    On a testserver I have already tried some migrations, but the all failed due to some native theme modules.
    After migration I had somer errors with the blog menu, the visual composer, and the slider…
    So it was very buggy and it would not make sense to work with.

    Has anyone ever managed to migratea a theme from smartdatasoft?


  • administrators

    I’ve never seen this before, but I am wondering what’s up with that. The only change during the migration is the engine basically.

    Doesn’t the migration go a lot better if you temporarily rename the theme modules during the migration then change them back afterwards? Also might have to enable them again (disable non-native modules switch on the performance page).



  • I will try another migration as soon as possible and show you the errors I have mentioned earlier…



  • Hi,
    So I made the migration again updated to 1.0.2.
    Would be great if you could help.

    1_1500452003303_tb1.png 0_1500452003302_tb2.png

    An other issue I am facing is with url rewrites. I was using this free module, and it was working great.
    https://github.com/faktiva/prestashop-clean-urls
    However, my URL structure is now slightly different.

    Before “/category/” now "/category"
    Before “/product.html” now "/product"
    Before “/cms.html” now “/cms”

    How can I change that again?

    Best regards


  • administrators

    thirty bees has native Clean URLs, so it’s better to remove that module.

    I would also remove the smartblog module. It doesn’t seem to be working at all and is not related to thirty bees.



  • I have already removed it, but now I have a different URL structure. So it would be nice to keep this structure.

    I would love to remove smartblog module, honestly :) It is soo buggy.
    But It takes so much time to copy and past the blogs we have written…


  • administrators

    You should be able to apply the same structure with thirty bees’ native features. Visit the page Preferences > SEO & URLs to get it right. I think this is what you need:

    • Category: {rewrite}/
    • Product: {rewrite}.html
    • Supplier: {rewrite}.html
    • Manufacturer: {rewrite}.html
    • CMS: {rewrite}.html
    • CMS category: {rewrite}.html
    • blocklayered: {rewrite}.html{/:selected_filters}

    I would take the time to copy and paste the blogs to the native thirty bees blog module. It is definitely worth it because it’s a lot more stable!



  • Ok, that was easy…Just copy&paste from prestashop url structure and works!

    Regarding blog, best will be to migrate…May take some time, but ok…

    The only real issue right now is the “smartlegendaaddons” from picture 1.
    As this is hooked in backoffice I can not do very much, as I always get this error.


  • administrators

    Yeah, the database table is missing. Do you know how to create a database table manually? Because that would be the only solution to make the module work again. Or reprogram the module :/

    But then you still have the array to string conversion errors. I wonder if this module works at all…



  • I have acess to the database, so If you tell me what I shall do, I think i can handle it…


  • administrators

    I can’t tell you what to insert. I don’t have access to the module.


  • Global Moderator

    @mdekker said in Migrate Legenda theme to thirtybees:

    Yeah, the database table is missing. Do you know how to create a database table manually? Because that would be the only solution to make the module work again. Or reprogram the module :/

    But then you still have the array to string conversion errors. I wonder if this module works at all…

    The problem isn´t a missing table, it´s a bug in thirty bees 1.0.2.

    Notice his error message “Table ps_ps_smart_blog_category_shop doesn´t exits”

    See the double _DB_PREFIX!

    It´s a bug in HelperForm.php in function renderAssoShop(), it shouldn´t pass the _DB_PREFIX down to the from() as it is also added by from()


  • Global Moderator

    @Chrisi1321 said in Migrate Legenda theme to thirtybees:

    Ok, that was easy…Just copy&paste from prestashop url structure and works!

    Regarding blog, best will be to migrate…May take some time, but ok…

    The only real issue right now is the “smartlegendaaddons” from picture 1.
    As this is hooked in backoffice I can not do very much, as I always get this error.

    The function name must be a string error in smartlegendaaddons.php looks to me like you´re now using PHP 7.0 and that this module only supports PHP 5.x

    The line it crashes on has a syntax that changed it´s meaning from PHP 5 to PHP 7.

    Pls check this with the addon developer, they might have a newer version that supports PHP 7.



  • Hi!
    Downgraded to php 5.6 and it works like charme.
    Thanks guys!


  • administrators

    and applied your changes @roband7

    Good one. Thanks!


Log in to reply
 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.