Category Archives: troubleshoot

Prestashop: Full-width for CMS pages

Warehouse theme. If the display left column option is disabled in the advanced setting of the theme, the center column does not know it is supposed to be in full width. A blank space is shown on the left. Enable … Continue reading

Posted in troubleshoot | Tagged | Comments Off on Prestashop: Full-width for CMS pages

WordPress: Disable plugins from database for troubleshooting

Source: https://www.templatemonster.com/help/wordpress-disable-plugins-via-database-manual-removal.html UPDATE wp_options SET option_value = ” WHERE option_name = ‘active_plugins’;

Posted in troubleshoot | Comments Off on WordPress: Disable plugins from database for troubleshooting

Prestashop: delete customer’s cookies

Solution: https://www.prestashop.com/forums/topic/364875-how-to-delete-cookies-customers/?tab=comments#comment-2348354 Overriding the method __construct (classes/Cookie.php) changing the commented lines override/classes/Cookie.php class Cookie extends CookieCore { public function __construct($name, $path = ”, $expire = null, $shared_urls = null, $standalone = false, $secure = false) { $this->_content = array(); $this->_standalone … Continue reading

Posted in ecommerce, troubleshoot | Tagged , | Comments Off on Prestashop: delete customer’s cookies

Prestashop: category pages noindex

Due to layered navigation block disabling robots by default… Solution: https://www.prestashop.com/forums/topic/866411-category-pages-noindex/ Hi, the problem comes from the “Layered navigation block” module. After the update to v2.2.1 something has changed. To Fix the problem for Prestashop 1.6 go to Modules and … Continue reading

Posted in modules, troubleshoot | Tagged , | Comments Off on Prestashop: category pages noindex

Prestashop: fake customer registrations spam

Source: https://www.prestashop.com/forums/topic/981159-securite-spam-customer-account-solution-13-15/ within your class classes/Validate.php – either in the native code, or into an override, add this function public static function isCustomerName($name) { if (preg_match(Tools::cleanNonUnicodeSupport(‘/www|http/ui’),$name)) return false; return preg_match(Tools::cleanNonUnicodeSupport(‘/^[^0-9!\[\]<>,;?=+()@#”°{}_$%:\/\\\*\^]*$/u’), $name); } Then modify inside classes/Customer.php ‘lastname’ => array(‘type’ => … Continue reading

Posted in troubleshoot | Tagged , | Comments Off on Prestashop: fake customer registrations spam

Acrobat X Pro: PDF Flattener Preview bug workaround

Tried to outline fonts inside Illustrator and the PDF exported shows random distortions like wider Ls here and there. If we export the file as a PDF with the fonts as is, there are no issues. However, have encountered printers … Continue reading

Posted in Adobe, troubleshoot | Tagged , | Comments Off on Acrobat X Pro: PDF Flattener Preview bug workaround

Prestashop: Fix layered navigation block doesn’t keep order position of filters

Solution: https://www.prestashop.com/forums/topic/317265-layered-navigation-block-dont-keep-order-position/?do=findComment&comment=2128180 https://github.com/musicpanda/blocklayered/commit/c53257c6cefcf5551d1f3cd51268fde658c1ad6b?diff=unified Info: It repairs one file: blocklayered_admin.js in the module /modules/blocklayered/blocklayered_admin.js If you’re using other themes look for the corresponding file to make the change e.g. warehouse theme /modules/blocklayered_mod/blocklayered_mod_admin.js look for if (typeof filters !== ‘undefined’) { filters … Continue reading

Posted in troubleshoot | Tagged , , | Comments Off on Prestashop: Fix layered navigation block doesn’t keep order position of filters

Prestashop: How to create admin controller to add link of module to backoffice menu

Troubleshoot: PrestaShop Admin Module Controller Not Found https://stackoverflow.com/questions/37984270/prestashop-admin-module-controller-not-found Whenever this happened to me was because I hadn’t created a menu entry for my new controller. What I’d advise you to do is to go to Administration > Menus then created … Continue reading

Posted in troubleshoot | Tagged | Comments Off on Prestashop: How to create admin controller to add link of module to backoffice menu

Blacklist Check IP

Question – https://www.quora.com/How-exactly-does-a-domain-name-email-get-blacklisted-Whats-the-trigger-or-what-is-responsible-for-it Check: https://www.dnsbl.info/dnsbl-list.php Email needs to have rDNS and FCrDNS, so that it is not blacklisted. What is rDNS? https://spfbl.net/en/rdns/ What is FCrDNS? https://spfbl.net/en/fcrdns/ Remove from blacklist https://www.ndchost.com/wiki/rbl/yahoo https://spfbl.net/en/delist/ Spam check: https://www.spamhaus.org/lookup/ Domain health check: https://mxtoolbox.com/domain/

Posted in servers, troubleshoot | Tagged , | Comments Off on Blacklist Check IP

Prestashop: Fix pagination error on Attributes and Features in Backoffice

https://github.com/PrestaShop/PrestaShop/pull/8638/files https://www.prestashop.com/forums/topic/554037-possible-bug-on-product-attributes-list-pagination-in-1616/ https://www.prestashop.com/forums/topic/507337-backoffice-pagination-error-in-products-attribute-section/ Hi, i fixed this by adding a short code to ‘AdminAttributesGroupsController.php’ in /controllers/admin/ public function setRedirectAfter($url) { $addUrl = ”; if(Tools::isSubmit(‘viewattribute_group’) && Tools::getValue(‘id_attribute_group’)) { $addUrl = ‘&viewattribute_group&id_attribute_group=’ . Tools::getValue(‘id_attribute_group’); } $this->redirect_after = $url . $addUrl; } Function … Continue reading

Posted in troubleshoot | Tagged , | Comments Off on Prestashop: Fix pagination error on Attributes and Features in Backoffice