Jump to content
thirty bees forum

movieseals

Gold member
  • Posts

    432
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by movieseals

  1. Yes, same goes for css files - if you put css files in the themes directory, it will override it. Works for modules as well.
  2. For those who might have ran into the same issues I did, here is how I fixed all my issues: I tried several prestashop elastic search modules after my failures with the free TB elastic search module and the various hoops it is associated with. These modules either had the same limitations as the TB one, or they just plain did not work. I found this one however, which actually is compatible with elasticsearch up to the current version 7: https://addons.prestashop.com/en/search-filters/19527-elasticsearchconnector.html The module is pricey but well built and worth every penny in my honest opinion. The only thing that does not work for some reason with TB is the function for error logging. The developer actually had to disable it entirely. Everything else works like a charm. I was able to use the latest version of elastic search, which is blazing fast. The module allows you to use the default search engine if you want while indexing but once the indexing is done, since it is not using the DB, you can actually delete the content of the default search engine tables - and in my case, clear several hundreds of MB from my DB! I now have a DB light as a feather and I tremendously improved the speed of my website and queries. And if somebody searches something, no matter what, it is lightning fast!!! Very impressive. The module requires some tweaking to insure the best results in search, it is so encompassing that you actually need to limit what it searches at times to get more accurate, focused results. But it is worth the time investment to figure it out. Also, if you have a lot of products like me, it takes a while to index but once it is done, there is practically nothing left to do but run a cron job to automatically index new products. I am very happy with the end result and I stopped the never ending ballooning of my Database. That being said, I do want to thank everyone who tried to help me. This forum is lightyears ahead of any other ecommerce platform in terms of helpfulness and response. I really, really appreciate it. Thank you all.
  3. No, I have a theme that used to work fine before with other versions of TB, will try to go back using core updater as wakabayashi suggests. Will keep you guys posted on results.
  4. I have a new issue since migrating to 1.1: - The first two pages of any products pages in categories are the same. If you click on page 2, you get the same listing as page 1. Only when you click on page 3 would you get what would normally be on page 2. Example: https://www.librairiezbookstore.com/en/new-products I tried several categories and I get the same result everywhere. Looked at the code and cannot figure out what is causing this. Any help would be appreciated.
  5. Just select the cms pages tables in your old prestashop database and export those via PHPmyAdmin. Then modify the sql tables names in any text editor to reflect the name of your TB table - ex. ps_cms to tb_cms Then import those tables in your TB database using the import function of PHPmyAdmin and you are done.
  6. We have been using the Canada Post PS 1.6 module from Presteo-Changeo for three years. It is very accurate, does a great job overall, not too pricey and very good support: https://www.presto-changeo.com/prestashop-shipping-modules/73-176-prestashop-canada-post-module.html It plays well with TB as well.
  7. Every time I make a change, I try to refresh the cache. Or I set it to force recompile (with cache off) if I am doing a lot of tweaks - and I disable all the other means of caching: CCC, system cache, full page cache, etc.
  8. First of all, I love the new HTML block module in version 1.1 of TB. It helped me get rid of so many modules. Love it. I also noticed in 1.1 that instead of uninstalling modules, it suggests to disable them instead. However, not for all modules but for a lot of them, granted most are prestashop modules, even if they are disabled, their hooks still appear to do something. For example, I had a category module for my homepage. It has a hook in home. It is disabled but still loads the images on the page, even though we do not see them! So I had to go ahead and unhook it from home so that it does not load useless content. What is the logic there? If the module is disabled, why does its hook is still active? Also, I notice that a lot of modules have hooks everywhere, even modules who do not appear visually on the front end. I assume those in footers and headers are to load some javascript. But some of the positions for the rest do not make any sense. How can we determine what is safe to unhook and what is not? Thank you!
  9. I am getting the following errors in my php log: PHP Warning: Use of undefined constant _TB_IMAGE_MAP_ - assumed '_TB_IMAGE_MAP_' (this will throw an Error in a future version of PHP) in config/defines_uri.inc.php on line 66,67,68,69,70,71,72,73,74,75,76,77,78 PHP Warning: Illegal string offset 'categories' in defines_uri.inc.php on line 66 I get a 500 Error in the backend when I try to access Catalog>Products and Preference>Duplicate URLs. Eveyrthing else appears to work fine.
  10. Interesting. It at least gives me a direction to investigate. Thank you so much!
  11. Modules and themes catalog is empty for me. Normal? One page checkout was broken but got it fixed with the proposition that can be found on page one. Now, I have the same problem as Slick: All carriers logos are a no show.
  12. That is interesting. However, I only use the auto generated htaccess created by TB.
  13. If you guys went this morning (my time zone), all the caches were disabled. I was busy replacing some modules with the brand new HTML block module! I was able to replace about a dozen modules so far! Great touch! Caches should be back to normal now.
  14. Sorry! It used to be in my signature: https://www.librairiezbookstore.com. Thanks for the help.
  15. Hi guys! I have a problem that puzzles me. My website is really slow: clicking a link, even a link with barebones stuff in it, is very slow. But if I test pages directly, most of them load super fast. I have optimized my images, still have work to do to combine css and javascript but it is getting there, I score high on time to first byte for most of the pages and get high score for optimization and compression overall. Yet, clicking on a link can take up to ten seconds before the page is show. Entering the link directly in the browser is ten times faster. Anybody knows why? It does not matter what page. I have all the caches enabled, so I am at a loss for the probable cause. I also installed mod_page speed, which help with some of the css and javascript issues, but still does nothing for the very slow linkage. Could it be related to SSL? I checked the SSL and we score high too there for connectivity. Any clues will be appreciated.
  16. OK. I shall look into those. Thanks.
  17. I am using the Bleeding Edge version of TB. While trying to remove Custom CSS from the Custom Code menu, I get a 500 error. When I decode the exception error, I get this: Call to undefined method Configuration::updateValueRaw() in file classes/controller/AdminController.php at line 4479 Needless to say, I cannot remove the code I was trying to remove.
  18. I had this problem before. To simplify your life, use this script: <?php /*prepare list of broken images*/ require(dirname(__FILE__).'/config/config.inc.php'); // you might need to change the path to the file 'config.inc.php' if you are not in the root folder $id_lang = 1; //getting links for one language. This is enough to identify empty images $i = 0; $limit = 100; $filename = 'broken_urls.txt'; file_put_contents($filename, '', LOCK_EX); //remove old content //file_put_contents($filename, '', FILE_APPEND | LOCK_EX); //append content do { $images = Db::getInstance()->executeS(' select * from `'._DB_PREFIX_.'image` i limit ' . (int)($i++ * $limit) . ', ' . (int)$limit . ' '); //receiving the stack of images foreach ($images as $image) { $imgObj = new Image($image['id_image'], $id_lang); $image_path = _PS_PROD_IMG_DIR_ . $imgObj->getImgPath() . '.' . $imgObj->image_format; if (!file_exists($image_path)) { //verifying, whether the file with the image exists $productObj = new Product($image['id_product'], NULL, $id_lang); //creating a product object for link generation print_r($image['id_product'] . ' => ' . Context::getContext()->link->getImageLink($productObj->link_rewrite, $image['id_image']) . chr(10)); //die; file_put_contents($filename, $image['id_product'] . ' => ' . Context::getContext()->link->getImageLink($productObj->link_rewrite, $image['id_image']) . chr(10), FILE_APPEND | LOCK_EX); echo '<br>'; } } } while(count($images)); echo 'success'; ?> By visiting the script (saved as a PHP file - I call mine broken_image_TB.php), the script will generate a text file called broken_urls. You can then go and fix them.
  19. Seems like the blockbanner module will not update - it keeps the yellow button requesting an update no matter what I do. All the others updated flawlessly.
  20. I had read about that. They got wiped too! I was also told to add !important; at the end, but that did not work either...
  21. Is there a way, for example, to remove a product from a category after a certain date is reached? For example, I have a preorder category. I would like the products to automatically get removed from that category when their availability date is reached.
  22. Personally, I think it is way overdue and a great idea!
  23. The reason I am asking is that I have a module that needs to use fontawesome and something systematically strips anything that is placed inside /modules/slider/css. If I change the folder name, nothing gets stripped but for some reason, the CSS changes and it does not treat the images the same way. It is very odd. If I look at the code, all the forward slashes are stripped from the CSS, causing things to appear as F0... instead of the image it should be. HTML purifier is disabled. For example, the CSS should be: .tab-content .bx-controls-direction a.bx-prev:before { content: "\f0d9"; font-family: FontAwesome; padding: 0; } However, if put in a folder called css, no matter what I do, even adding !important;, the forward slash gets stripped: .tab-content .bx-controls-direction a.bx-prev:before { content: "f0d9"!important; font-family: FontAwesome; padding: 0; } If I change the name of the css folder to say views, then the arrows appear correctly but the rest of the CSS, which I did not change at all, does not behave like it does in the CSS folder, instead the images are cut off around the edges... Changing the folder name back to css seems to fix the issue. Very odd.
×
×
  • Create New...