Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

movieseals

Members
  • Content Count

    275
  • Joined

  • Last visited

Community Reputation

26 Excellent

About movieseals

  • Rank
    Christian Viel

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. movieseals

    carrier modules/integrations

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

    Can someone enlighten me on the logic of hooks?

    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.
  3. 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!
  4. movieseals

    thirty bees 1.1.0 is released!

    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.
  5. Interesting. It at least gives me a direction to investigate. Thank you so much!
  6. movieseals

    thirty bees 1.1.0 Preview

    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.
  7. That is interesting. However, I only use the auto generated htaccess created by TB.
  8. 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.
  9. Sorry! It used to be in my signature: https://www.librairiezbookstore.com. Thanks for the help.
  10. 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.
  11. movieseals

    Issue with removing Custom Code

    OK. I shall look into those. Thanks.
  12. movieseals

    Issue with removing Custom Code

    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.
  13. movieseals

    Lots of module releases

    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.
  14. movieseals

    Lots of module releases

    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.
  15. movieseals

    Is there a CSS purifier somewhere that might cause troubles?

    I currently have it disabled.
×