All Activity
- Past hour
-
bsbd74 joined the community
-
Suga Sean Merch joined the community
-
Asweoeu joined the community
-
Problem with importing products that have WebP images
gouna replied to pad420's topic in Core developers
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 ! -
Miaolivia joined the community
-
Belial started following Le contrôleur AdminCarrierWizard est manquant ou non valable.
-
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 !
-
StanleyGreaves joined the community
-
acursivememorymerch joined the community
-
greenglow24 joined the community
-
1.6.1.24
Prestashop Addict replied to DESİNGLED's topic in PrestaShop Download : installation et mise à jour
w/o site url, not easy to help you -
Cart not refreshed automatically in PS 1.7.8.11
Eros eros replied to Eros eros's topic in General topics
Error is this, could this be good or do you need the link.... I have to ask - Today
-
Andrei H started following Cart not refreshed automatically in PS 1.7.8.11
-
Cart not refreshed automatically in PS 1.7.8.11
Andrei H replied to Eros eros's topic in General topics
Hello, Can you provide a link for your website, please? It might be easier getting to the bottom of the issue this way. -
Cart not refreshed automatically in PS 1.7.8.11
Eros eros replied to Eros eros's topic in General topics
I have another issue, in addition to not refreshing, the quantity in the cart is not aligned with the arrows.... see attach -
dkdagasv388 changed their profile photo
-
dkdagasv388 joined the community
-
adls33 started following impossible d'ouvrir le gestionnaire de module prestashop 1.7.8.9
-
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 !
-
Mediacom87 started following [Advanced Top Menu] Mode Widget
-
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.
-
fedesib started following errore improvviso
-
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
-
0123winnet joined the community
-
Problem with importing products that have WebP images
Talbi ConSept replied to pad420's topic in Core developers
Yes it is working -
Off Grid Solar joined the community
-
AcidLava started following [Advanced Top Menu] Mode Widget
-
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.
-
Kapadia Orthodontics changed their profile photo
-
vloneshirt1212 changed their profile photo
-
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.
-
MATRONE started following Yann - Prestaplugins
-
Je recommande FORTEMENT YANN de PRESTAPLUGINS pour son efficacité, rapidité
-
JOB CLOSED AND WELL FINISHED
-
Problem with importing products that have WebP images
gouna replied to pad420's topic in Core developers
Does this solution work with Prestashop 1.7.8.11? THANKS -
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
-
1.6.1.24
DESİNGLED replied to DESİNGLED's topic in PrestaShop Download : installation et mise à jour
How can I make DNS correct? It also gave this error ns1.dns-parking.com -
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?
-
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.
-
Edycja zakładki kontakt na stronie głównej
AdamMagmar replied to AdamMagmar's question in Wsparcie i pomoc użytkowników
Super, dziękuję serdecznie za podpowiedzi i już wiem co działać dalej. Pozdrawiam, Adam -
1.6.1.24
Prestashop Addict replied to DESİNGLED's topic in PrestaShop Download : installation et mise à jour
Check .htaccess redirection and also in your dns records -
This is an Elementor clone. Most developers rebrand Elementor as their own builder, but essentially they are all the same.
-
Edycja zakładki kontakt na stronie głównej
endriu107 replied to AdamMagmar's question in Wsparcie i pomoc użytkowników
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. -
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.