Jump to content

Search the Community

Showing results for tags '500'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Addons
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



  1. Hi! I'm getting totally confused because I can't find a solution for long days for my issue already. What we have: A working PS 1.7.5 production MULTISHOP site with 2 shops, VPS (Apache/Nginx, PHP 7.2) and Transformer theme by S-T themes. The items are updated daily and we can't determine the start of this issue but it started to stop with the "error" message. I figured out that there's an Internal server error 500 by the ajax call. Even if only 2-3 columns are imported! Please see the screenshot below. Sometimes after 5 products, sometimes 15, absolutely random values. The site owner told me that sometimes he managed to finish it for 3rd-4th try, sometimes totally not. The CSV files seem to be perfect. I had a developement version of the site and I couldn't reproduce the issue. (I hardly believed the owner that the issue presists.) The biggest comedy that I cloned the site on the server to figure out what the problem was and after several tries surprisingly it started to work. They are in the same environment and I'm not able to mess it up again -> so I don't know the solution. What I tried: - To find a registry in the server error logs for the 500 error (Apache, Nginx) - PHP memory -> 512Mb - Checked input times (300-600s) - Regenerated .htaccess - Checked the product numbers inside the 2 shops (they are equal) - Turned off memcache - Turned off overrides (btw debug mode isn't working on the import page) - Turned off non-offical PS modules - Fixed all the folder and file permissions (755/644) - Tried to cut back and forth the input CSV-s - Checked for duplicated product references - Read all the forums - Tried to debug the error message with additional informations with no luck - PS service module -> DB fix and optimize - And a lot more.... Please can someone help? What should I check more? Thank you very much. You can save a man going crazy.
  2. Hi I am running PS 1.7 and was busy installing free modules. After one of the modules completed installation the BO gave Error 500: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. I have done some reading about this error and the modules and found one link that said to uncomment 'php_intl.dll' in init.php file. This had made no difference. Another forum advised to clear the cache folder which also made no difference. I also read about manually removing the module folder and then remove the corresponding module's line from the PS DB but according the PS they advised against just deleting the module from the store. I am not sure if there is a way to manually remove modules successfully? I would prefer not to reinstall PS and would like to know if there is something that can be done to remove the modules? The other problem is that I didn't keep track of the free modules that installed so I am not sure which free module caused this problem. Any help would be much appreciated Thanks in advance
  3. Salve, ricevo una serie di errori relativi all'AdminController che mi manda in errore 500 alcune sezioni del backoffice legate ai carrelli abbandonati. Il problema è saltato fuori grazie ad un modulo di terzi che gestisce i carrelli abbandonati che non riusciva a funzionare. A detta dello sviluppatore, il problema è legato al core di PS e nello specifico all'AdminController appunto. In modalità debug, nella pagina dei carrelli abbandonati di PS mi trovo questo: Allego il link alla pagina in html per facilitare la consultazione essendoci diverse voci: https://www.dropbox.com/s/c5wuw2iurnpdjsc/index.php.html?dl=0
  4. Hey. I have two multistore domains, siteone.com and sitetwo. (Strictly speaking, subdomains; a1.b.c.com and a2.b.c.com.) Getting a blank error 500 page at the second one. Debugger says: (1/1) ContextErrorException Notice: Trying to get property 'precision' of non-object in Context.php line 498 at ContextCore->getComputingPrecision()in Cart.php line 2174 at CartCore->getOrderTotal(false, 1)in CartPresenter.php line 334 at CartPresenter->present(object(Cart))in FrontController.php line 524 [...] So perhaps something about some configuration being missing that the second store expects? Any pointers? Cleared cache, disabled nonoriginal modules etc. Install is fairly fresh as well, haven't edited any files directly. A thread I found here on the forums says (and gives as a solution) that multistores ought each to belong to a different store group, but that makes no sense, does it? It would be impossible to unify stocks in such case, wouldn't it. Thanks.
  5. Hello. I'm new in the community and to the platform, but I've been experiencing one particular issue that I just couldn't solve. I've tried everything, but it just won't import unless the each combination's image number is less or equal to one. Not to mention that even when that's only one image it doesn't always import anyway (seems kinda random when I, whether or not, can import without an issue). Here's an example of what's been going on: Imagine a product A, which has 3 colors, red, blue and yellow. In this product, I want (in each combinaton) 2 images, one being the product A respective combination color image, and the other being an image with all variants of the product A. Here's an example of what I've been doing. Product ID || Atribute || Value || Image URLs 1 || Color || Red || http://mydomain.com/images/1-red,http://mydomain.com/images/1-set 1 || Color || Blue || http://mydomain.com/images/1-blue,http://mydomain.com/images/1-set 1 || Color ||Yellow|| http://mydomain.com/images/1-yellow,http://mydomain.com/images/1-set For some reason, everytime I try to import something like this, it just won't import. (Except maybe, a really big maybe, one or two lines, the first and second ones) I already tried to open chrome's console to see whatever is going on but everytime it keeps on coming the same PHP error: No file was uploaded (even when one or two lines were imported, which doesn't make any sense whatsoever). Attached my CSV files for testing. Hope someone can help me. Thanks. combinações_spot.csv produtos_spot.csv
  6. Cree desde 0 una web en el dominio https://dev.atmosferasportllucmajor.es/ Una vez lista la acabo de migrar al dominio real https://atmosferasportllucmajor.es/ Antes de la migración se veían todas las imágenes de los productos. Pero en la url nueva, no aparece la imagen de los productos. Mirando en el inspector veo que la url es la correcta, pero me aparece un error 500. ¿Cuál puede ser el problema? Dejo aquí dos urls, de la web antigua y la nueva: https://dev.atmosferasportllucmajor.es/166-home_default/equipacion-joma-toletum-ii-white-royal.jpg https://atmosferasportllucmajor.es/166-home_default/equipacion-joma-toletum-ii-white-royal.jpg
  7. Salve a tutti ragazzi, ho un problema sul mio sito Prestashop. Nel momento in cui un cliente compila il form per la registrazione ( https://www.urlsito.it/login?create_account=1 ) e conferma tale tramite pulsante, mi da errore 500. Attivando il debug mi da errore come in foto. Stiamo riscontrando questo problema da qualche giorno a questa parte. Specifico che non sono stati effettuati aggiornamenti a moduli/presta. Avete già avuto a che fare con questo tipo di problema? Grazie a tutti
  8. Hi, For those, who could encounter Internal server error 500 during the installation of PrestaShop 1.7.0.x A small solution, that was discovered recently on some hosting providers. When you try to install your Prestashop ver.1.7 you receive the 500 internal server error. If it is not connected with php zip extension, then it is error with file permissions. Open your FTP account and locate the index.php file from your installation (after you have unpacked the downloaded archive). Change the permissions for this file: deactivate permissions from "all users" to "yourself" and activate "execution". And that's all. Your installation will start after this small change. Hope this will help for someone )
  9. Bonjour Depuis aujourd'hui, j'ai un problème avec certaines pages du BO. Elles génèrent une "Erreur 500" En fait, il semble s'agir uniquement des pages du type : index.php/product/catalog?.... (et non pas celles du type index.php?controller=etc....) (donc pour l'essentiel, les pages "Catalogue", "Produits" et "Modules") J'obtiens une page avec une adresse du type : http://www.hadra.net/tickets2018/admin466zhld56/index.php/security/compromised?uri=http%3A%2F%2Fwww.hadra.net%2Ftickets2018%2Fadmin466zhld56%2Findex.php%2Fsecurity%2Fcompromised%3F&_token=nCsqI6_99VBynnKMV8yQLNldMZ5xL7uOyINf_qZxPx8 et J'ai essayé 2 navigateurs différents.... j'ai rebooté ma connexion internet. Rien n'y fait..... Par contre si je passe en mode "Debug", les pages s'affichent normalement. ??? Ci-joint le rapport d'erreur de Symphony Si quelqu'un à une idée d'où peut venir le problème ou un peu de temps pour me donner son avis, un grand merci d'avance
  10. Hello, i'm trying to install Prestashop on a custom docker container, but every time i try, i get a 500 error during addon module install, my docker image looks like this : FROM php:7.1.33-apache RUN docker-php-ext-install mysqli pdo_mysql RUN apt-get update \ && apt-get install -y libzip-dev \ && apt-get install -y zlib1g-dev \ && rm -rf /var/lib/apt/lists/* \ && docker-php-ext-install zip \ && docker-php-ext-install opcache RUN apt-get update && apt-get install -y libpng-dev RUN apt-get install -y \ libwebp-dev \ libjpeg62-turbo-dev \ libpng-dev libxpm-dev \ libfreetype6-dev RUN docker-php-ext-configure gd \ --with-gd \ --with-webp-dir \ --with-jpeg-dir \ --with-png-dir \ --with-zlib-dir \ --with-xpm-dir \ --with-freetype-dir \ --enable-gd-native-ttf RUN apt-get -y update \ && apt-get install -y libicu-dev \ && docker-php-ext-configure intl \ && docker-php-ext-install intl RUN docker-php-ext-install gd RUN sed -i 's/www-data:x:33:33/www-data:x:1000:1000/' /etc/passwd RUN a2enmod rewrite COPY ./php-custom.ini /usr/local/etc/php/conf.d/docker-php-memlimit.ini I can't change my php version for some reasons. I'm running docker on windows with wsl2 integration. I've tried to change the permissions of install dir and index to 755, i've also tried the same installation on wamp, and get the same error 500. (the screenshot bellow). I don't think that's a database issue because the connection work (on docker or wamp) and the database is created and filled. the access log of the errors are bellow : I've tried with this archive https://github.com/PrestaShop/PrestaShop/releases/download/ . (I also tried with the source code from github but i get a composer error that says that composer.json doesn't match json regex) Thanks for reading me, and sorry for my bad english, i hope you understand !
  11. Hi everyone, I have a problem with my Prestashop website. Only for some users, when the user tries to check-out his cart, and confirm the purchase, at the time he gets the page www.mywebsite.com/order , the server returns ERROR 500 SERVER ERROR, and the user can't complete the purchase. If the user goes back, he can change products in his cart, but as he tries to complete the purchase, this error occurs. Has anyone the same problem? I tried with different browsers, different IP's, different user accounts. And only for some users I have this problem. I tried to disable Varnish. I disabled the Google Analytics Plugins by Prestashop because of it's problem with some character in the cookies. I cleared the cache, updated all plugins... I'm running Prestashop 1.7.2 on Linux LAMP, on Google Cloud via Cloudways Thanks! Massimiliano
  12. Buenas, he desplegado mi tienda de prestashop a producción y estoy experimentando este problema: No controlo mucho sobre prestashop, es la primera vez que lo uso. Os puedo decir que es la versión y el tema es Everprest. He podido acceder al backend poniendolo en modo depuración y experimento problemas cuando voy a la sección de los hooks. A veces me sale el error anterior y otras un error de js que impide que haga ninguna modificación. Entiendo que está relacionado con este hilo, he probado a borrar los módulos que no estaba utilizando (paypal y redsys) y borrar caché. Sigo teniendo el mismo problema. ¡Gracias de antemano y un saludo!
  13. Ciao a tutti, avrei bisogno di aiuto e/o pareri su un problema che incontrano alcuni utenti del mio e-commerce: Per solo alcuni utenti, la pagina dell'ordine, alla fine del processo di acquisto, restituisce un errore del server. Solo per alcuni utenti registrati. Ho aggiornato i plugin, svuotato la cache del server, di Prestashop, disabilitato Varnish, cambiato browser, ip, etc. Ho anche disattivato google analytics che dava problemi legati al plugin di GA fornito da Prestashop. Niente da fare. Quando arrivo all'ultima fase d'acquisto, si apre la pagina "/ordine" con errore 500. Ho Prestashop 1.7.2 su Linux, Server Google Cloud su Cloudways. Grazie. Massimiliano
  14. Zdravím vás všetkých, čelým zas a raz nejakej chybe s PrestaShop-om a riešenie som na zahraničných fórach nenašiel, možno ste si tým už niekto prešli: Najprv vypisovalo len Internal Server Error 500, po spustení núdzového režimu v defines.inc.php sa chyba zmenila na nasledovnú: Link to database cannot be established: SQLSTATE[HY000] [2002] No route to host 122. public function connect() 123. { 124. try { 125. $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5); 126. } catch (PDOException $e) { 127. throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage()); 128. } 129. 130. $this->link->exec('SET SESSION sql_mode = \'\''); 131. 132. return $this->link; DbPDOCore->connect - [line 330 - classes/db/Db.php] DbCore->__construct - [line 241 - classes/db/Db.php] - [4 Arguments] DbCore::getInstance - [line 47 - config/alias.php] pSQL - [line 340 - classes/shop/Shop.php] - [1 Arguments] ShopCore::initialize - [line 119 - config/config.inc.php] require - [line 27 - index.php] - [1 Arguments] Nastavenie v defines.php by malo byť v poriadku.
  15. I apologize in advance for my English, it is not my native language... Guys I have a serious problem in my store prestashop The store had already been in production for a few months (real environment), everything worked wonderfully until the admin of my store began to present a status 500 error every time I entered a tab in the backoffice [Modules, Products, Orders, Configuration, Sales, etc...] What seems strange to me is that when I change to true: PS_MODE_DEV also in my backoffice it does not show a specific error, only the same error: HTTP ERROR 500 <?php define('_PS_MODE_DEV_', true); ?> Researching online, I tried to fix the error in several ways and none worked 1) I deleted many times: /var/cache/dev and /var/cache/prod 2)I change the php.ini the default path address of session.save_path to a custom path called "/tmp" and gave it different types of permissions and none worked (755, 777, 750, etc..) 3) I also increased in php.ini the max_input_time to 120 and the max_input_vars to 2000 4)I review the .htaccess and the values matches perfectly with what I have in php.ini 5)I assigned several different permissions to /public_html and cache paths But none of these solutions worked for me, what seems strange to me is that the PS_MODE_DEV it does not show me any specific error I hope you can help me find a solution to my problem, I'm a bit desperate, greetings!
  16. Hi, where to start ? - Installed PrestaShop - got little issues installing but made it (error 500) - bought couple of modules - theme, invoice, captcha,Amazing filter , etc. - installed 2API integrations with invoice service and email service (CZ/SK) - added products, set-up theme, profiles, filters, categories all set After i installed Google Analytics plugin it started to roll out with issues - error 500 after installing module for analytics Ok - erased cache folder (renamed) and dissabled module After installing Amazing filter the issues are still hapenning but i can at least make it work ISSUES - - appParameters.php in ssome casses are not having permissions set - no permission that leads to issues on the screen = webpage = + bootstrap issue on line 87 www.vipfashion.sk [Wed Oct 21 09:08:03.383041 2020] [php7:error] [pid 665] [client] PHP Fatal error: require_once(): Failed opening required '/data/6/e/6e5f593f-a820-4097-8872-4184a29c2039/vipfashion.sk/web/var/cache/prod/appParameters.php' (include_path='/data/6/e/6e5f593f-a820-4097-8872-4184a29c2039/vipfashion.sk/web/vendor/pear/pear_exception:/data/6/e/6e5f593f-a820-4097-8872-4184a29c2039/vipfashion.sk/web/vendor/pear/console_getopt:/data/6/e/6e5f593f-a820-4097-8872-4184a29c2039/vipfashion.sk/web/vendor/pear/pear-core-minimal/src:/data/6/e/6e5f593f-a820-4097-8872-4184a29c2039/vipfashion.sk/web/vendor/pear/archive_tar:.:/usr/php73/lib/php') in /data/6/e/6e5f593f-a820-4097-8872-4184a29c2039/vipfashion.sk/web/config/bootstrap.php on line 87 - issue with continue instead of continue 2 ? - When installing new module im getting issue like in image issue3.png - when exporting whole php DB im getting error Fatal error: Uncaught TypeError: Argument 5 passed to PhpMyAdmin\Export::getFilenameAndMimetype() must be of the type string, null given, called in /var/www/html/export.php on line 380 and defined in /var/www/html/libraries/classes/Export.php:270 Stack trace: #0 /var/www/html/export.php(380): PhpMyAdmin\Export->getFilenameAndMimetype('database', '', Object(PhpMyAdmin\Plugins\Export\ExportSql), '', NULL) #1 {main} thrown in /var/www/html/libraries/classes/Export.php on line 270 - couple screenshots from debug symphony tool ? - debug 1 and 2 image ----------------------- For reference i was searching there might be a couple of issues like these but did not make anything from it - i looked it up leaded here - - Settings - all cache settings are turned off even opcache in hosting provider - webpage is in debug mode and maintenance - i did little tweaks to email templates and css files in theme Can anyone help me ? investigate ? help for $ anything I need to make it work = It is working but there are these pain in the ass issues that are happeing sometimes and thats not good Thank yu for helps issue1-.txt issue2.txt
  17. Hello all, I've been using Prestashop for sometime now and I purchased my first module today. Sadly when I tried to upload it, it instantly failed. I tried another (free) module and the result is the same. This is the error message I receive (on debug mode) Appreciate your help. Thank you.
  18. Hi, our prestashop was installed on /var/www/html now we want a second shop and so we configured virtual hosts on apache. when we place index.html with the text in the below folders: /var/www/sites/example1/html and /var/www/sites/example2/html the sites work but when we move the files from the /var/www/html to the var/www/sites/example1/html the shop does not work. any ideas why? and where to look? (we have prestashop 1.7). many thanks, A
  19. Hi. I'm developing a module to add a custom background in the product detail page. To do that, i created a module that hooks in: hookDisplayAdminProductsExtra, but when i try to do $helper->generateForm($this->fields_form) i get: SmartyException Twig_Error_Runtime HTTP 500 Internal Server Error An exception has been thrown during the rendering of a template ("Unable to load template 'file:helpers/uploader\simple.tpl'"). Twig_Error_Runtime in src\PrestaShopBundle\Resources\views\Admin\Product\ProductPage\product.html.twig (line 161) {% set hooks = renderhooksarray('displayAdminProductsExtra', { 'id_product': id_product }) %} my methods: protected function initForm() { $default_lang = (int)Configuration::get('PS_LANG_DEFAULT'); $this->fields_form[0]['form'] = array( 'legend' => array( 'title' => $this->trans('New Background block', array(), 'Modules.mkcproducts.Admin'), ), 'input' => array( array( 'type' => 'file', 'label' => $this->trans('Image', array(), 'Admin.Global'), 'name' => 'image', 'value' => true, 'display_image' => true, ), array( 'type' => 'textarea', 'label' => $this->trans('Text', array(), 'Admin.Global'), 'lang' => true, 'name' => 'text', 'cols' => 40, 'rows' => 10 ) ), 'submit' => array( 'title' => $this->trans('Save', array(), 'Admin.Actions'), ) ); $helper = new HelperForm(); $helper->module = $this; $helper->name_controller = 'mkcproducts'; $helper->identifier = $this->identifier; $helper->token = Tools::getAdminTokenLite('AdminModules'); foreach (Language::getLanguages(false) as $lang) { $helper->languages[] = array( 'id_lang' => $lang['id_lang'], 'iso_code' => $lang['iso_code'], 'name' => $lang['name'], 'is_default' => ($default_lang == $lang['id_lang'] ? 1 : 0) ); } $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name; $helper->default_form_language = $default_lang; $helper->allow_employee_form_lang = $default_lang; $helper->toolbar_scroll = true; $helper->title = $this->displayName; $helper->submit_action = 'savemkcproduct'; $helper->toolbar_btn = array( 'save' => array( 'desc' => $this->trans('Save', array(), 'Admin.Actions'), 'href' => AdminController::$currentIndex.'&configure='.$this->name.'&save'.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules'), ), 'back' => array( 'href' => AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules'), 'desc' => $this->trans('Back to list', array(), 'Admin.Actions'), ) ); return $helper; } public function hookDisplayAdminProductsExtra($params) { $html = ''; $id_cproduct = (int)Tools::getValue('id_product'); if (Tools::isSubmit('savemkcproduct')) { if ($id_cproduct = Tools::getValue('id_cproduct')) { $cproduct = new CProduct((int)$id_cproduct); } else { $cproduct = new CProduct(); } if ($cproduct->validateFields(false) && $cproduct->validateFieldsLang(false)) { $cproduct->save(); if (isset($_FILES['image']) && isset($_FILES['image']['tmp_name']) && !empty($_FILES['image']['tmp_name'])) { if ($error = ImageManager::validateUpload($_FILES['image'])) { return false; } elseif (!($tmpName = tempnam(_PS_TMP_IMG_DIR_, 'PS')) || !move_uploaded_file($_FILES['image']['tmp_name'], $tmpName)) { return false; } elseif (!ImageManager::resize($tmpName, dirname(__FILE__).'/img/mkcproduct-'.(int)$cproduct->id_cproduct.'-'.(int)$cproduct->id_shop.'.jpg')) { return false; } unlink($tmpName); $cproduct->file_name = 'mkcproduct-'.(int)$cproduct->id_cproduct.'-'.(int)$cproduct->id_shop.'.jpg'; $cproduct->save(); } $this->_clearCache('*'); } else { $html .= '<div class="conf error">'.$this->trans('An error occurred while attempting to save.', array(), 'Admin.Notifications.Error').'</div>'; } } $helper = $this->initForm(); foreach (Language::getLanguages(false) as $lang) { if ($id_cproduct) { $cproduct = new CProduct((int)$id_cproduct); $helper->fields_value['text'][(int)$lang['id_lang']] = $cproduct->text[(int)$lang['id_lang']]; $image = dirname(__FILE__).DIRECTORY_SEPARATOR.'img'.DIRECTORY_SEPARATOR.$cproduct->file_name; $this->fields_form[0]['form']['input'][0]['image'] = '<img src="'.$this->getImageURL($cproduct->file_name).'" />'; } else { $helper->fields_value['text'][(int)$lang['id_lang']] = Tools::getValue('text_'.(int)$lang['id_lang'], ''); } } if ($id_cproduct = Tools::getValue('id_cproduct')) { $this->fields_form[0]['form']['input'][] = array('type' => 'hidden', 'name' => 'id_cproduct'); $helper->fields_value['id_cproduct'] = (int)$id_cproduct; } return $html.$helper->generateForm($this->fields_form); // $this->context->smarty->assign('listacomplementos', $listacomplementos); //return $this->display(__FILE__, 'views/admin/tab.tpl'); } What do you think that is the problem !? Thank you all. Ricardo Ferreira
  20. Hello community, I recently decided to create a shop with Prestashop. Hosting provider: webgo Everything was fine until I installed / activated the SSL certificate on webgo. Now the shop is no longer accessible and I can no longer make all the settings in the dashboard. I also reinstalled Prestashop with a new database, it ran without any problems, but the error persists. As I said, only since I activated the SSL certificate (Let's Encrypt). Error when calling the page: This page doesn't work www.example.de has forwarded you too often. Delete your cookies. ERR_TOO_MANY_REDIRECTS Cookies and cache have already been cleaned up, and the shop cannot be accessed via other browsers either. I have already spoken to the webgo service, all servers run cleanly. Please help or answer;) Thanks in advance Sry for my bad english x)
  21. Bonjour! Je suis nouveau sur prestashop alors je vais essayer faire de mon mieux pour être le plus clair possible. En modifiant l'ordre des modules de ma homepage, une erreur est apparue: J'ai donc désactivé un par un les modules jusqu'à que celui qui pose problème soit désactivé, seulement maintenant une autre erreur apparait: Je suis actuellement sur Prestashop Merci d'avance.
  22. Bonjour, Je rencontre plusieurs problèmes et je ne trouve pas de réponse malgré de nombreuses recherches. J’ai fais une migration avec le module migrationpro d’une version vers - mon mode débug ne marche pas. J’ai essayé de l’activer via le defines.inc.php ou via le back office et je n’ai pas le détail des erreurs. J’ai essayé de vider le cache, passer en navigation privée,… bref j’ai tenter plein de choses mais je n’arrive pas à avoir le détail des erreurs 500 - Mon erreur 500 porte sur la création ou la modification des pages CMS. Dès que je tente quelque chose j’ai une erreur « Internal Server Error » et donc pas de de détails. Est ce que vous pouvez m’aider..? Je suis chez OVH en mutualisé Version 7.0 de php stable Je suis actuellement en mode maintenance. Merci !
  23. Hi, when in the back office I choose CONFIGURE / settings Shop Parameters / General ... , I get the following: "Oops! An Error Occurred The server returned a "500 Internal Server Error". Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused." Occasionally with other menu items in the back office... Pls, help... Thanks in advance! BR Venty
  24. Buenos días, Tengo un instalado un Prestashop con certificado https y me encuentro con los dos siguientes problemas: 1- Cuando se está realizando un pedido y el usuario se encuentra en la pestaña de "/pedido/" para rellenar los datos, en el momento que el usuario pasa a la parte de seleccionar el método de pago, la conexión pasa a no ser segura, es decir, en ese punto se pierde el certificado https. ¿Por que ocurre esto? ¿Como puedo solucionarlo? 2- En algunas ocasiones, cuando los usuarios están en la página de "/pedido/" y vuelven a añadir otro producto, cuando regresan a la pestaña de "/pedido/" les aparece un error 500. ¿Como podría solucionar este error? Quedo en espera de vuestra ayuda y gracias de antemano.
  25. Buenos días, recientemente actualicé prestashop a la versión y me salta el http error 500 al intentar entrar en la página de cualquier producto. El resto del front office funciona bien e incluos puedo añadir productos al carrito desde la ventana emergente de la vista rápida, pero no puedo entrar en la página del producto. He activado el informe de errores y arroja esto. Gracias de antemano. (1/1) ContextErrorException Notice: Undefined index: request in 43d584824ba8b6457704504890baeda36692db6b_2.file.socialsharing_header.tpl.cache.php line 27 at content_5d67e3e01e8338_68570556(object(SmartyCustomTemplate))in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyCustomTemplate))in smarty_internal_runtime_updatecache.php line 38 at Smarty_Internal_Runtime_UpdateCache->updateCache(object(Smarty_Template_Cached), object(SmartyCustomTemplate), false)in smarty_template_cached.php line 143 at Smarty_Template_Cached->render(object(SmartyCustomTemplate), false)in smarty_internal_template.php line 211 at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232 at Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, null, null, 0)in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)in SmartyCustomTemplate.php line 34 at SmartyCustomTemplateCore->fetch()in Module.php line 2409 at ModuleCore->display('/home/vbebaysc/public_html/tienda/modules/socialsharing/socialsharing.php', 'socialsharing_header.tpl', 'socialsharing_header|681|1|1|1|6')in socialsharing.php line 186 at SocialSharing->hookDisplayHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 970 at HookCore::coreCallHook(object(SocialSharing), 'hookdisplayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 355 at HookCore::callHookOn(object(SocialSharing), 'displayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 907 at HookCore::exec('displayHeader')in FrontController.php line 556 at FrontControllerCore->initContent()in ProductController.php line 390 at ProductControllerCore->initContent()in Controller.php line 291 at ControllerCore->run()in Dispatcher.php line 515 at DispatcherCore->dispatch()in index.php line 28
  • Create New...