Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 12/23/2019 in all areas

  1. 2 points
    W każdej instalce presty jest plik z schematem bazy danych.
  2. 1 point
    Ok, znalazłem, dziękuję bardzo Dla potomnych podaję ścieżkę do pliku sql z czystą bazą danych: katalog instalacyjny -> install -> data -> db_structure.sql
  3. 1 point
    Bonjour, J'ai navigué 5-6 minutes sans problème. C'est peut-être un produit ou une catégorie spécifique.
  4. 1 point
    Hello, I have two issues after migrating. I am opening a separate topic for each, to simplify the discussion. In this issue, connecting to the back office with debug mode off (_PS_MODE_DEV_ false in config/define.inc.php) will result in a http 500 error. In the apache error log there is, indeed, a stack entry where it shows the user and password still being the one of the original installation, not the new migrated one. [Tue Dec 17 13:07:21.048002 2019] [:error] [pid 7604:tid 2016] [client ::1:58362] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'old_user'@'localhost' (using password: YES) in D:\\xampp\\htdocs\\PS\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOConnection.php:43\nStack trace:\n#0 D:\\xampp\\htdocs\\PS\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOConnection.php(43): PDO->__construct('mysql:host=127....', 'old_user', 'xxxx', Array)\n#1 D:\\xampp\\htdocs\\PS\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOMySql\\Driver.php(44): Doctrine\\DBAL\\Driver\\PDOConnection->__construct('mysql:host=127....', 'old_user', 'xxxx', Array)\n#2 D:\\xampp\\htdocs\\PS\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Connection.php(360): Doctrine\\DBAL\\Driver\\PDOMySql\\Driver->connect(Array, 'old_user', 'xxxx', Array)\n#3 D:\\xampp\\htdocs\\PS\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Connection.php(942): Doctrine\\DBAL\\Connection->connect()\n#4 D:\\xampp\\htdocs\\PS\\src\\PrestaShopBundle\\Kernel\\ModuleRepository.php(59): Doctrine\\DBAL\\Connection->query('SELECT name FRO...')\n#5 D:\\xampp\\htdocs\\PS\\src\\Prest in D:\\xampp\\htdocs\\PS\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\AbstractMySQLDriver.php on line 103 However: if I set debug mode on in define.inc.php, it connects without any problem. Things I have done after migrating: updated ps_configuration with the new PS_SHOP_DOMAIN, PS_SHOP_DOMAIN_SSL, PS_SHOP_NAME, PS_SSL_ENABLED_EVERYWHERE updated ps_shop_url with the new domain for domain, domain_ssl, physical_uri updated ps_shop with the new name updated the file app/config/parameter.php with the new database name, location, user and password regenerated /htaccess ensured that php.ini has all the limits and timers as required and verified with phppsinfo.php: all green. Finally, the environment the store has been migrated from is a linux, while the new environment is on windows, with php any MySQL versions matching. Does anyone have some idea where prestashop is taking the username from, when attempting to connect to the back office?
  5. 1 point
    Just bought your module and it is working perfect with expired prices... Best Regards Igor
  6. 1 point
  7. 1 point
  8. 1 point
    Just bought and installed this module. Works nice thanks. I don't understand how this is not a standard feature of prestashop.
  9. 1 point
    Where you disabled it and re-enabled it there is another option to reset it! You can also uninstall it and install it again. PHP should be 7.2 -> https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ Best Regards
  10. 1 point
  11. 1 point
    thanks all for the missing steps. I have included in my sequence. I also added the disabling of SSL, since the certificate won't work, by setting to 0 the related ps_configuration records. So, for anyone interested, the consolidated sequence of activities is captured below. Cheers, /Flavio Migration or replication of production environment: list of activities (tested for prestashop 1.7.5) Database Create a mysql database and import the zip or sql database exported from the production environment ps_configuration: PS_SHOP_DOMAIN: new domain (in my case: localhost) PS_SHOP_DOMAIN_SSL: new domain (in my case: localhost) PS_SSL_ENABLED_EVERYWHERE: 0 for disabled, 1 for enabled. In my case I had to turn it off, being on localhost ps_shop: the name of the shop, which must match the root of the web folder structure ps_shop_url replace the two domain fields with the new domain, and the name of the show with the new one. In my case: 1,1,localhost,localhost, /NewName/,,1,1 configuration: from xampp config button on apache and then php.ini, or directly in the php.ini file, or the equivalent config file, the following parameters: memory_limit = 128M max_execution_time=300; max_input_time=-1 upload_max_filesize=25M; post_max_size=20M; max_input_vars=10000 Web files Unzip the entire web structure of the production environment to the new place app/config/parameter.php: DB name: new db name as in step 1 of Database section. location: new domain where MySQL server is running. In my case: localhost Admin and password of the MySQL administrator. delete /var/cache regenerate .htaccess check the entire web folder structure has read write permissions if needed, set _PS_MODE_DEV to true in config/define.inc.php to troubleshoot connection or http errors. I hope this summary could be useful to some. Please don't hesitate to add or correct if something needs improvement. Cheers, /Flavio
  12. 1 point
    Ciao, ottimo, mi fa piacere. Magari metti [risolto] al titolo del thread, così puoi dare una mano ad altri che avessero il tuo stesso problema. Buon pomeriggio, F.
  13. 1 point
    Probably it's taken from cache. Try to rename /var/cache to /var/cache_old on your server, this will regenerate cache with next page access.
  14. 1 point
    hey nice work! I'll keep this in mind for my clients. We did some jet.com for client once and their sales were off the chain. Keep up good work!
  15. 1 point
    Ciao, qui trovi la una guida su come gestire gli sconti: http://doc.prestashop.com/display/PS17/Cart+Rules Buon pomeriggio, Federica
  16. 1 point
  17. 1 point
    Thanks u! Settings this mod on ps v1.7.5, Back: in file adminxippost.php and adminxipcategory.php replace "public function setMedia()" on "public function setMedia($isNewTheme = false)" Front: in archive.php in str num 150 "ceil ($this->nbProducts / $this->n)" replace on "(int) ceil ($this->nbProducts / $this->n) " and archive.tpl add in str num 102 add "{block name="pagination"}" All good!
  18. 1 point
    Custom Order Reference by PrestaCraft Current module version: 1.2.1 PrestaShop compatible: 1.6, 1.7 http://prestacraft.com/custom-order-reference/ You can choose one of the following order reference generation format: Default PrestaShop - If You want to restore to default Number-Day-Month-Year [incrementing number within a day] - Useful if You want to count the number of orders within a day and include it in the reference Number-Month-Year [incrementing number within a month] - Useful if You want to count the number of orders within a month and include it in the reference Number-Year [incrementing number within a year] - Useful if You want to count the number of orders within a year and include it in the reference Random number - If You want numbers instead letters Incrementing number - If You want incrementing numbers instead letters Remember that new choice won't affect existing orders. It will take effect right after save for all new orders. Screenshots Changelog: v1.2.1 - Removed PHP notice in BackOffice configuration page, thanks to @Davide from PS forums v1.2.0 Core changes: - Removed override of PaymentModule.php and all logic now is located in hook actionValidateOrder Bug fixes: - Separator is now only "-" (for compatibility reasons) - Code matches PSR-2 and PrestaShop standards - Checked compatibility with 1.7 v1.1 New features: - New generation method: Number-Day-Month-Year Bug fixes: - Fixed error occuring when reference was too long (by increasing this field length to 26) - Removed required * symbol from separator (as it's not required, just recommended) - Removed error modal in module configuration page Download - version 1.2.1 - Newest and strongly recommended (see changelog) IF YOU LIKE THIS MODULE, PLEASE DONATE AND SHARE ❤️ customorderreference_1.2.1.zip
  19. 1 point
    we have used this for clients worked well Product Bundles Pro v1.1.4 - by Musaffar Patel
  20. 1 point
    So, this should work: UPDATE ps_product SET active = '0' WHERE ps_product.id_product = '105' UPDATE ps_product_shop SET active = '0' WHERE ps_product_shop.id_product = '105' ..where 105 is the product id ans this query is setting it to DEactice.
  21. 1 point
    open file: ADMIN_DIR/themes/default/template/controllers/orders/helpers/view/view.tpl you can find there code to display shipping addres, here is a part of it: {displayAddressDetail address=$addresses.delivery newLine='<br />'} {if $addresses.delivery->other}<hr />{$addresses.delivery->other}<br />{/if} right before this code add: {l s='phone'}: {$addresses.delivery->phone_mobile}<br /> it should looks like: {l s='phone'}: {$addresses.delivery->phone_mobile}<br /> {displayAddressDetail address=$addresses.delivery newLine='<br />'} {if $addresses.delivery->other}<hr />{$addresses.delivery->other}<br />{/if} effect:
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More