Jump to content
thirty bees forum

Traumflug

Members
  • Posts

    1,665
  • Joined

  • Last visited

  • Days Won

    82

Posts posted by Traumflug

  1. 2 hours ago, Script-Fu said:

    My database is almost 400mib

    No fear of big databases. phpMyAdmin doesn't load this DB into memory, just connects to the db server.

    That said, you can go to phpMyAdmin and sort the database by table size. There are a number of tables getting huge over the years, but essentially collect just data for statistics. One can clear (but not delete) these tables.

    For even better performance, look up a thing called 'Adminer'. It's kind of a lightweight phpMyAdmin.

    Using MySQL command line is actually the best idea.  One can pipe its output right into a compressor, like:

     mysqldump db_name | gzip -c > db_name.sql.gz

  2. 16 hours ago, 30knees said:

    @Traumflug's updater is working and connects to his repository.

    It connects to both. To the Merchant's Edition repository for Merchant's Edition releases and to the thirty bees repository for thirty bees releases. It's perfectly fine to use this updater to update from one thirty bees release to another thirty bees release, one gets a genuine thirty bees installation.

  3. 4 hours ago, luksl said:

    I'm sorry, I don't get your point of view. I think if a merchant finds a bug, according to you, then should do all work except the development and pay for it. In this case TB would lose what's important about it.

    Of course you get it. Just like you ship orders in your shop only after payment, developers ship code only after payment. If you want code for free, ship orders in your shop for free. That's about the equivalent.

    - - - - -

    Alright, I'll stop this discussion at this point. Trying to explain reality to a crowd of people which simply doesn't want to accept this reality just too disencouraging. Preparing the next Merchant's Edition release is much more fun, even with the certain knowledge that people in this discussion thread will yell at it again. Happy yelling, all of you 🙂

  4. 3 hours ago, the.rampage.rado said:

    it's getting the project nowhere!

    I think all these "recommendations" and "ideas" are actually driving developers away. A call for "democracy" in such a context is just kind of an euphemism for "you're obliged do my work for free!".

    If there is kind of a democracy, ballots aren't forum postings, but code contributions.

    • Like 4
  5. 15 hours ago, Mark said:

    There's not a proper mechanism by which merchants pay, it's still some half assed donation thing.

    The mechanism goes like this:

    1. Recognize a bug.
    2. Approach a developer and say "There is this this bug, here are the steps to reproduce it (1. ..., 2. ..., 3. ..., 4. ..., ...). Please fix it, offer the result as a pull request on Github and send the invoice to me."
    3. Pay the invoice and enjoy.

    Pretty simple and effective.

    • Like 1
  6. On 7/1/2021 at 3:35 PM, RabbitZzZ said:

    "parsererror: SytaxError: Unexpected token < in JSON at position 0"

    One should fix such things. JavaScript has influence on what gets saved.

    A typical reason for this kind of error is thirty bees sending back an (HTML) error page as answer to an Ajax request. To find out what's going on, open developer console and look at the raw response.

  7. On 4/15/2021 at 2:28 AM, 30knees said:

    But what about commenting on the reason that the copyright notices you introduced apparently make the incorporation of your code illegal?

    There is no such reason, no idea on where you picked this up. Merchant's Edition is just as open source as thirty bees, which includes coming with the same license.

  8. 13 hours ago, wakabayashi said:

    I notice myself, that it's much more efficient to develop only for one business.

    For the short term, that's certainly true. Long term not so much, because one deviates more and more from public sources. Eventually it's no longer possible to fetch public sources, one has to skip all the enhancements appearing there.

    13 hours ago, wakabayashi said:

    But finally always the same question arises: why should I do that?

    This question applies to core developers as well 🙂 For me, it certainly needs some addiction and love for this blob of nice software.

    13 hours ago, wakabayashi said:

    And merchants don't give back anything at all. 

    ... or worse, they post extended wishlists here, which they expect to be implemented for free 🙂 Some even yell around if they don't get donated what they want (looking at you, @Briljander).

    And then there are merchants which got the idea: they engage developers for this or that task, happily pay an extra hour for solid solutions in favor of barely working ones and happily see the result of this work going public.

    That said, one reason for not so much appearing in core is that most work on shops goes into third party modules. Some are quite fragile and break as soon as used together with another module.

    Another reason is that new features aren't ready for prime time the moment they get implemented. Core Updater had to be written three times until it was good enough. Err, I mean until it was as great as it's now. Merchant's Edition's next new feature, recognition of updateable PrestaShop modules, currently gets implemented for the second time as well. First version simply didn't work out in some details, so it doesn't make sense to push these commits to public 🙂

    • Like 1
  9. 2 hours ago, Wartin said:

    in order to make changes in email templates, I had to edit .txt and .html located in /themes/niara/mails/es

    That's true. If the theme comes with an email template, this one overrides templates in /mails/es/. This applies to .txt and .html templates separately, one can override one, but not the other.

    On top of this, modules can come with their own templates. These don't override default templates, though.

  10. Most content is generated by modules. Without modules, front office shows up almost empty.

    Whether a module is enabled is a per-shop setting. A module can be enabled in one shop, but not in another.

    Which means, if you go multishop, you might have to enable some modules for one shop or the other.

  11. 1 hour ago, veganline said:

    Doesn't decrypt in my copy of TB

    Such encrypted exceptions decrypt only in the shop where they were made. That's the entire point of encryption 🙂

    Exceptions sometimes contain sensitive data, handing this out to generic shop visitors might not be what a shop owner wants.

    • Like 2
  12. There's module 'ecbexchange' / 'ECB Exchange Rate Services' which keeps currency conversion rates up to date. Not for every currency on the planet, but for those exchange rates provided by the European Central Bank.

    Find it in your back office, it's a module provided by thirty bees.

  13. Apparently you didn't run

    sudo apt-get install php-mbstring

    That said, latest Ubuntu installs PHP8 by default, which isn't compatible with thirty bees. PHP 7.4 works much better:

    sudo apt-get install --no-install-recommends libapache2-mod-php7.4 php7.4-gd
    sudo apt-get install --no-install-recommends php7.4-bcmath php7.4-xml
    sudo apt-get install --no-install-recommends php7.4-json php7.4-zip
    sudo apt-get install --no-install-recommends php7.4-mysql php7.4-mbstring
    sudo apt-get install --no-install-recommends php7.4-curl

    Then switch Apache and command line to actually use PHP7.4:

    sudo a2dismod php\*
    sudo a2enmod php7.4
    sudo service apache2 restart
    sudo update-alternatives --set php /usr/bin/php7.4

     

×
×
  • Create New...