Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. ps8modules.com recommends this code: public static function isCorrectImageFileExt($filename, $authorizedExtensions = null) { // Filter on file extension //if ($authorizedExtensions === null) { $authorizedExtensions = ['gif', 'jpg', 'jpeg', 'jpe', 'png', 'webp']; //} $nameExplode = explode('.', $filename); $currentExtension = strtolower(end($nameExplode)); if (!in_array($currentExtension, $authorizedExtensions)) { return false; } else { return true; } /*if (count($nameExplode) >= 2) { $currentExtension = strtolower($nameExplode[count($nameExplode) - 1]); if (!in_array($currentExtension, $authorizedExtensions)) { return false; } } else { return false; } return true;*/ } Should it be modified like this ? (for PS 1.7.8.11) : public static function isCorrectImageFileExt($filename, $authorizedExtensions = null) { // Filter on file extension if ($authorizedExtensions === null) { $authorizedExtensions = ['gif', 'jpg', 'jpeg', 'jpe', 'png', 'webp']; } if(!in_array('webp', $authorizedExtensions)){ $authorizedExtensions[] = 'webp'; } $nameExplode = explode('.', $filename); $currentExtension = strtolower(end($nameExplode)); if (!in_array($currentExtension, $authorizedExtensions)) { return false; } else { return true; } /*if (count($nameExplode) >= 2) { $currentExtension = strtolower($nameExplode[count($nameExplode) - 1]); if (!in_array($currentExtension, $authorizedExtensions)) { return false; } } else { return false; } return true;*/ } Thank's !
  3. Hello, Je sèche sur ce cas 😅 Lorsque j'essaye d'ajouter ou modifier un transporteur, j’obtiens ce message d'erreur. J'ai tenté plusieurs choses : Faire la mise à jour de prestashop vers la 8.1.5. Remplacer les fichiers par les fichiers sources dans /src et /controllers/admin Désactiver les surcharges. Désactiver tout les modules non natif. Mode debug actif, je n'ai aucun fichier modifié dans "Informations". Caches vidé. Dans les logs la seul chose qui fait référence a AdminCarrierWizard est : [2024-03-28 17:59:46] php.INFO: User Deprecated: AdminCarrierWizard is a deprecated tab since version 1.7.0 and "Default" will be removed in 1.7.1.. Upgrade module using the docs: http://build.prestashop.com/news/how-we-reorganized-main-menu-prestashop-1.7/. {"exception":"[object] (ErrorException(code: 0): User Deprecated: AdminCarrierWizard is a deprecated tab since version 1.7.0 and \"Default\" will be removed in 1.7.1.. Upgrade module using the docs: http://build.prestashop.com/news/how-we-reorganized-main-menu-prestashop-1.7/. at /home/xxxxx/www/classes/Tab.php:385)"} [] Si vous avez déjà eu le problème ou des idées pour le résoudre je suis preneur !
  4. Error is this, could this be good or do you need the link.... I have to ask
  5. Today
  6. Hello, Can you provide a link for your website, please? It might be easier getting to the bottom of the issue this way.
  7. I have another issue, in addition to not refreshing, the quantity in the cart is not aligned with the arrows.... see attach
  8. Bonjour, Lorsque j'essaie d'accèder au gestionnaire de module, voici l'erreur : Compile Error: require_once(): Failed opening required '/var/www/vhosts/avenuedelasecurite.fr/httpdocs/adls2023/modules/graphnvd3/graphnvd3.php' (include_path='/var/www/vhosts/avenuedelasecurite.fr/httpdocs/vendor/pear/pear_exception:/var/www/vhosts/avenuedelasecurite.fr/httpdocs/vendor/pear/console_getopt:/var/www/vhosts/avenuedelasecurite.fr/httpdocs/vendor/pear/pear-core-minimal/src:/var/www/vhosts/avenuedelasecurite.fr/httpdocs/vendor/pear/archive_tar:.:/opt/plesk/php/7.2/share/pear') [Symfony\Component\Debug\Exception\FatalErrorException 0] le répertoire adsl2023 n'existe plus, il s'agissait de mon répertoire racine, j'ai renommé ce répertoire en httpdocs (répertoire racine de mon serveur) L'accès au gestionnaire fonctionnait après ce déplacement, puis soudain erreur... entre temps j'avais installé 2 modules de paiement que j'ai désactivé, mais pas de changement L'accès est disponible si je suis en mode debug. N'est-il pas possible de modifier le chemin d'accès vers graphnvd3.php dans la requête ? pour obtenir ceci : '/var/www/vhosts/avenuedelasecurite.fr/httpdocs/modules/graphnvd3/graphnvd3.php' (position réel du fichier actuellement) Dans l'attente de vous lire, merci d'avance !
  9. Bonjour, contactez le support de ce module qui sera le plus à même de vous accompagner sur sa configuration ou son utilisation.
  10. Non so come sia successo, ma il modulo con il quale gestisco prezzi, sconti ecc ecc, causava il problema, almeno penso. Ho fatto il ripristino del modulo ed è ripartito. mi ha perso tutte le configurazione ma le ho recuperate da sql.
  11. Ciao, da quello che scrivi c'è un errore nell'override della classe Product alla riga 201 -> per capire cosa succede bisognerebbe sapere anche cosa fa questo override Continuando a leggere sembra che vanga calcolato il prezzo del prodotto che ha ID 41987 -> esiste questo prodotto? Buon pomeriggio, Federica
  12. Bonjour, Je cherche à intégrer le menu desktop du module Advanced Top Menu sur la même ligne que mon logo et icônes panier etc... Le module propose un mode "Widget" mais n'explique pas comment l'exploiter, y compris dans la documentation, et je n'ai plus de support actif. Je suppose qu'il s'agit d'intégrer un hook spécifique dans le template, quelqu'un le connaît-il ? En vous remerciant.
  13. I am looking for a developer who has experience with the ElasticBundle module (Prestashop integration with ElasticSearch), The module was abandoned by the seller on addons and disappeared from the market - so there is absolutely no support. I need someone who can fix some bugs. The module is not encoded. Topic only for people who have had experience with this module. Paid, of course.
  14. Je recommande FORTEMENT YANN de PRESTAPLUGINS pour son efficacité, rapidité
  15. Does this solution work with Prestashop 1.7.8.11? THANKS
  16. Estimados, Junto con saludarlos, al intentar actualizar mi pagina eralon.cl al abrir el modulo me tira todos los ticks en verde y luego al actualizar luego comienza a realizar la copia de seguridad... para luego comenzar la actualización y no alcanza a terminarla mostrando la pantalla en blanco y mostrando el correo electrónico de la empresa [email protected] Agradecería cualquier ayuda comienza el proceso de actualización
  17. How can I make DNS correct? It also gave this error ns1.dns-parking.com
  18. Salve, ho un problema nel visualizzare la pagina ordini del backoffice. Impiega anche 1 minuto a caricare per poi andare in errore 500. Ho provato ad attivare la modalità debug ma la stessa mi va in errore 500 e non riesco a capire cosa causa il problema. Come posso vedere? Il mio sistema è Cloud Hosting Linux di Aruba, php 8.1 con 3GB di RAM, 1 virtual CPU e pannello Plesk. Cosa posso fare per capire cosa causa il problema?
  19. W sumie strona jest nowa i cały czas jeszcze coś się zmienia. Dziwne jest tylko, że błąd występuje tylko na konkretnych odnośnikach np. tylko przy konkretnej kategorii.
  20. Super, dziękuję serdecznie za podpowiedzi i już wiem co działać dalej. Pozdrawiam, Adam
  21. Check .htaccess redirection and also in your dns records
  22. This is an Elementor clone. Most developers rebrand Elementor as their own builder, but essentially they are all the same.
  23. W wersji 1.6 strona kontaktowa nie jest generowana z modułu tylko wbudowana w szablon i nie zawiera takich informacji jak u ciebie więc bardzo prawdopodobne że te zmiany zostały wprowadzone w pliku contact.tpl twojego szablonu, ewentualnie ktoś mógł tam umieścić hook i wyświetlać informacje z jakiegoś modułu html.
  24. Hello everyone, I am currently working with Prestashop 8.1.4. I've read the documentation on how to decorate a core controller https://devdocs.prestashop-project.org/8/modules/concepts/controllers/admin-controllers/override-decorate-controller/#decorate-the-controller but the controller I try to decorate (ProductController) do not match the example (and I can't make it work). I take another exemple with decoration of PrestaShopBundle\Controller\Admin\Sell\Catalog\SupplierController which works fine. But PrestaShopBundle\Controller\Admin\Sell\Catalog\Product\ProductController got a construct function which I can't find how to deal with in my decorating controller which need his own constructor. /** * @param ProductRepository $productRepository */ public function __construct(ProductRepository $productRepository) { $this->productRepository = $productRepository; } Here is the error raised when trying to access the website or launching any console command : You have requested a non-existent service "PrestaShopBundle\Controller\Admin\Sell\Catalog\Product\ProductController". MyModule/config/services.yml : services: Company\MyModule\Controller\Admin\DecoProductController: autowire: true decorates: PrestaShopBundle\Controller\Admin\Sell\Catalog\Product\ProductController Company\MyModule\Controller\Admin\DecoSupplierController: autowire: true decorates: PrestaShopBundle\Controller\Admin\Sell\Catalog\SupplierController Let me know if you need more details, if I have to attach the files I am working on ? Tanks a lot. Best regards.
  1. Load more activity
×
×
  • Create New...