Search the Community
Showing results for tags 'test'.
-
How-to steps to duplicate prestashop 1.7 store to test
nickzampieri posted a topic in General topics
Hello, I have a production store in my domain that looks like this: example.com/store I want to be able to create a duplicate of this store to be able to perform tests when new modules are released to ensure that it continues to work. For example, the test store would be example.com/test I want to make sure that the database is also copied over and that the /test store is using the copy of the database to ensure that product and customer changes in /test are updating the right tables in the non-prod database. Are there any really detailed instructions on how to do this with prestashop 1.7? From what I have gathered, I can Copy the directory and files from example.com/store to example.com/test Export the MySQL db using phpmydamin, edit the exported files somehow so that when you import them back, they end up in a separate DB Edit some configuration files to reflect example.com/test instead of example.com/store (.htaccess file or something?) put test store in maintenance mode. rename all customers accounts with a "xxxtst" prefix so that people that may fall into the /test store cannot do much ensure that search engines do not crawl this test site and index it and start posting links to it from their search engine results Delete cached files/directories somewhere on newly copied directories/files update the cron jobs that may still be referring to example.com/store folders? run other BO scripts/indexing/images to "update" things in the example.com/test store(db and folders) As you can see, its pretty generic. I have been searching around and though that I would be able to find something like this quite easily, and yet I have not found anything or have not searched the correct terms. I have been burned way too many times with updating modules that end up breaking things. I also have been burned by the 1-Click upgrade tool. I would love to run it against my "duplicate" store before attempting it against my production store. Furthermore, at times, I need to allow module developers access to my store to be able to develop and test out some things that I don't want them to do against my production store. I think documentation like this could be really useful for many developers out there and for store owners. Thanks, Nick- 6 replies
-
- how-to
- duplicate store
-
(and 2 more)
Tagged with:
-
Hello, I would like make a copy of my prestashop in a subdomain of my hosting server for a testing purpose. Here are my info : · Domain : mySite.com · Test domain : test.mySite.com · Prestashop version : 1.7 I checked a lot of post and here is what I did : · Created a subdomain in my hosting solution : test subdomain of mySite.com (placed at root level) which refers to the /test directory · Copied and pasted all files on the server to the new directory /test also on the server · Created a database for the test version and imported all data from the current production database · I changed the app/config/parameter.php file to set new information about the database and user · I updated the database for tables ps_configuration and ps_shop_url to set my new domain info · Tried to remove all the files from test/cache/smarty/compile and test/cache/smarty/cache folders but there nothing to remove in there (only the index.php that we need to keep) · Removed the .htaccess file from /test folder And then I still get redirected when I go to test.mySite.com or test.mySite.com/adminpro (which redirects to mySite.com/adminpro) Have you got any idea of what I missed ? Thanks a lot for your help,
-
Hi everyone ! I am currently working with two prestashop (1.7.5.1) websites, one for prod and one for test (both are hosted and online). Problem is, the test website was once the production website so even if it doesn't appear in most browsers, people with old links can still reach the test website. I managed to redirect from the test homepage to the prod homepage with basic PHP conditions but it only works for the home page as I should put my php code on all my files... Does Prestashop give an option to white list the whole test website so only I (and the people I work with) can access it ? Thanks everyone !
-
Hi. Isn't there any way to set up A/B testing on a prestashop site? 1.7.6.3
-
I would like to have Prestashop on my local computer and online at the same level. Therefore I would like to download or upload the software. Is it possible to define Prestashop environments and different domains (e.g. prestashop.localhost and www.myliveprestashop.com) and database settings? With most solutions the environment is specified in the .htaccess file and the settings of the environment are loaded. There is config_dev.yml config_prod.yml under the folder app/config. Is that what these files are for? How can I solve the problem?
-
- environment
- dev
-
(and 3 more)
Tagged with:
-
Hi, I see a lot of topics containing staging enviroments but they are not clear for me because our webdevelopment agency said me it's not possible. But is it possible with Prestashop 1.7.4.2 t create a staging enviroment. Now all thins which are developed will go live without testing. I think the risks are to big when we are live. According to our development agency we have to purchase all add-ons twice. I don't think this would be normal workflow for a proffesional system like Prestashop. Thanks for the help. Kind Regards, Rutger
-
Hello I just made an improvement of my current website. now it become a customizable products website I would be happy to comment it ? this link thanks Ali
-
Bonjour à tous, Voilà, après pas mal de temps, mon site est enfin en ligne. https://france-vape.com Pourriez-vous me donner vos avis sur l'ensemble du site, si l'ergonomie vous semble correcte, la vitesse, enfin, ce que vous avez à dire. Merci d'avance. Christian
-
hello guys, This is dany from lebanon. I hope someone can help me with an issue that i've been facing for 2 days. I am working on a 1.6.3.3 prestashop website on my server: http://162.246.19.206:666/prestashop now when i try to change the domain name and shop url to www.barlivery.com all i am seing after the domain name has been forwarded to http://162.246.19.206:666/prestashop is the following URL: www.barlivery.com/prestashop/index.php i am getting redirect to this URL. I am using port 666 as port 80 is being used by iis for a different website build in asp.net. so i am supposed to run apache on 666 port. The website is installed under htdocs/prestashop/ any help is highly appreciated, Thanks in advance, Dany
- 11 replies
-
- test
- production
-
(and 1 more)
Tagged with:
-
Hello all Prestashopers, I'm trying to create an unit test using PHPunit framework, everything is setup well and working and I could create some simple unit tests, but when it comes to test something related to the cart/customer...etc objects, I get this errors: PrestaShopException: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory Even if the database info are there but somehow the PDO object throws this message, any idea please? e.g the customer fetch: Applications/MAMP/htdocs/presta17/classes/db/DbPDO.php:102 /Applications/MAMP/htdocs/presta17/classes/db/Db.php:323 /Applications/MAMP/htdocs/presta17/classes/db/Db.php:234 /Applications/MAMP/htdocs/presta17/config/alias.php:48 /Applications/MAMP/htdocs/presta17/config/alias.php:53 /Applications/MAMP/htdocs/presta17/classes/Configuration.php:152 /Applications/MAMP/htdocs/presta17/classes/Configuration.php:206 /Applications/MAMP/htdocs/presta17/classes/Customer.php:221 Thanks in advance, any info I'm ready to collaborate immediately.
-
Bonjour à tous, Notre nouveau site est online. Développé sur Prestashop 1.7.3. N'hésitez pas à aller faire un tour, nous serions heureux d'avoir vos avis. www.louischevrolet.com Dans l'impatience de lire vos avis constructifs. L'équipe web Louis Chevrolet Swiss Watches
- 2 replies
-
- test
- prestashop
-
(and 2 more)
Tagged with:
-
Hi, I'd like to automatically test our PrestaShop payment modules. I'd like to reuse some PrestaShop tests for that. But when I tried to run the PrestaShop 1.7.3.3 tests with "composer test" it failed with: Script PrestaShopBundle\Tests\Utils\Database::createTestDB handling the test event terminated with an exception Invalid argument supplied for foreach() How can I run the tests? Thanks in advance. Miroslav. My steps to reproduce the problem: git clone https://github.com/PrestaShop/PrestaShop cd PrestaShop git checkout 1.7.3.3 composer install php install-dev/index_cli.php --domain=localhost:7080 --base_uri=/vzoroveInstalaceLinux/rep/PrestaShop --db_server=127.0.0.1:13306 --db_name=PrestaShopRep --db_create=1 --name=PrestaShopRep -- PrestaShop works well on my localhost http://localhost:7080/vzoroveInstalaceLinux/rep/PrestaShop composer test -v Script PrestaShopBundle\Tests\Utils\Database::createTestDB handling the test event terminated with an exception [ErrorException] Invalid argument supplied for foreach() Exception trace: () at /mnt/c/tccont/mir/online-platba/vzoroveInstalaceLinux/presta/PrestaShop1.7.3.3/classes/Language.php:883 Composer\Util\ErrorHandler::handle() at /mnt/c/tccont/mir/online-platba/vzoroveInstalaceLinux/presta/PrestaShop1.7.3.3/classes/Language.php:883 LanguageCore::loadLanguages() at /mnt/c/tccont/mir/online-platba/vzoroveInstalaceLinux/presta/PrestaShop1.7.3.3/classes/Language.php:653 LanguageCore::getLanguage() at /mnt/c/tccont/mir/online-platba/vzoroveInstalaceLinux/presta/PrestaShop1.7.3.3/classes/Cookie.php:324 CookieCore->update() at /mnt/c/tccont/mir/online-platba/vzoroveInstalaceLinux/presta/PrestaShop1.7.3.3/classes/Cookie.php:91 CookieCore->__construct() at /mnt/c/tccont/mir/online-platba/vzoroveInstalaceLinux/presta/PrestaShop1.7.3.3/src/PrestaShopBundle/Install/Install.php:398 PrestaShopBundle\Install\Install->initializeTestContext() at /mnt/c/tccont/mir/online-platba/vzoroveInstalaceLinux/presta/PrestaShop1.7.3.3/src/PrestaShopBundle/Tests/Utils/Database.php:50 PrestaShopBundle\Tests\Utils\Database::createTestDB() at /usr/share/php/Composer/EventDispatcher/EventDispatcher.php:238 Composer\EventDispatcher\EventDispatcher->executeEventPhpScript() at /usr/share/php/Composer/EventDispatcher/EventDispatcher.php:192 Composer\EventDispatcher\EventDispatcher->doDispatch() at /usr/share/php/Composer/EventDispatcher/EventDispatcher.php:94 Composer\EventDispatcher\EventDispatcher->dispatchScript() at /usr/share/php/Composer/Command/ScriptAliasCommand.php:59 Composer\Command\ScriptAliasCommand->execute() at /usr/share/php/Symfony/Component/Console/Command/Command.php:256 Symfony\Component\Console\Command\Command->run() at /usr/share/php/Symfony/Component/Console/Application.php:841 Symfony\Component\Console\Application->doRunCommand() at /usr/share/php/Symfony/Component/Console/Application.php:189 Symfony\Component\Console\Application->doRun() at /usr/share/php/Composer/Console/Application.php:166 Composer\Console\Application->doRun() at /usr/share/php/Symfony/Component/Console/Application.php:120 Symfony\Component\Console\Application->run() at /usr/share/php/Composer/Console/Application.php:99 Composer\Console\Application->run() at /usr/bin/composer:44
-
This may have been covered before but - while I have my store built to a fair degree I confess to still struggling a bit finding all my settings etc. I have my gateway set to ''test'' mode and want to test out the cart. It seemed to work first time, and I got an order receipt, but now at the final stage I get " Unfortunately, there is no payment method available. ". Any advice please? What setting to change?
-
Bonjour, J'aimerai vos avis, conseils et améliorations à apporter pour notre boutique (en ligne depuis à peu près 2 ans) Voici l'url : www.tresorsdesregions.com J'aimerai mettre en place le CCC et les serveurs de Medias... Mais notre prestataire est un peu bouché. Merci d'avance,
- 1 reply
-
- 1.6.1.14
- avis boutique
-
(and 3 more)
Tagged with:
-
Bonsoir, Je fais appel à vous pour avoir vos avis sur mon site... Je suis artisan maroquinière, j'ai fait mon site avec prestashop et ça fait fait maintenant 2 ans qu'il est en route Voici le lien boutique en ligne lila bohème J'essaie de l'améliorer continuellement en me documentant mais c'est bien loin de mon métier à moi et je commence à me sentir perdu... Quelques commandes en 2 ans mais je vois bien que je manque de visibilité... Merci pour vos retour précieux Belle soirée à vous Jennifer
-
Bonjour tout le monde, une petite boutique en ligne d'articles de sport et plus spécifiquement des leggings pour le sport. Nous avons une trentaine de références à ce jour avec bien entendu l'ambition d'augmenter notre catalogue dans les mois à venir. C'est un prestashop 1.6 avec le template Sting. Tout avis sur l'ensemble du site que ce soit de la conception à la perception générale sera bon à prendre pour nous. Merci à très vite ! Le site : www.legging-sport.com Anthony
-
Bonjour, J'essaye de mettre en place des tests (unitaire, d'intégration) pour ma boutique en Prestashop 1.6. Quelqu'un s'est déjà frotté à ça : https://github.com/PrestaShop/PrestaShop/tree/1.6.1.9/tests D'une manière générale, j'aimerais avoir un retour d'expérience sur la meilleure manière de mettre en place ces tests technique. Je ne trouve aucune info à ce sujet. Merci !
-
Hi. I am starting to develop for PrestaShop and thus have set up an environment on my laptop to develop and test. The thing is that it is a very unreliable environment. Sometimes the shop loads, other times it redirects to the actual shop online, other times it just shows white empty website, and sometimes it redirects to the actual online shop after a few clicks in the development site localhost. Currently I am getting a 500 error in mix with blank white site. BTW: Just now as I am writing this post I noticed that I can not view the Advanced Parameters -> Configuration Information page. It just thinks for a while and then gives me a 500 error. I am baffled as to what might be wrong. It is almost like the developer before me intentionally did a lot of stuff to create weirdness and left it like that for the next developer to rip his hair out. Until now the admin console is behaving as it should. I can log in and see all the controls. I can change things and it does not redirect me or anything. Is there any procedure I can do to make sure everything is as it should? Regards
- 17 replies
-
- Development
- 1.6.0.14
-
(and 2 more)
Tagged with:
-
Bonjour, je suis actuellement en stage pour ma première année de BTS SIO et dois donc m'occuper du site d'une entre prise. Pour cela je souhaiterai créer un site test pour effectuer les essais de modifications sur celui-ci plutôt que sur le site officiel, pour se faire j'ai créé un sous-domaine sur un site qui m'appartient où je testerai le site de l'entreprise. Pour importer la base de données de l'entreprise et so site j'ai suivi à la lettre le tutoriel suivant : https://www.prestashop.com/blog/fr/serveur-de-test-pour-une-boutique-en-ligne/ Cependant quand je vais sur le sous-domaine de mon site j'ai un message d'erreur disant : "La page xxx.yyyyyyyy.net ne fonctionne pas". Je ne sais absolument pas d'où cette erreur pourrait provenir et ce que je dois faire pour résoudre ce problème c'est pourquoi je compte sur votre aide ! Merci d'avance. Corentin
-
We've recently developed a new integration with Prestashop, and we're looking for people test our Review Collection Module for Prestashop and provide us with feedback. If you would like to be part of this beta test, please drop an email to support [at] reviews.co.uk. If you’re accepted, we will give you the service free for 2 months as a gift. Download the Prestashop module here: http://www.reviews.co.uk/resources/prestashop/reviews-co-uk-prestashop.zip Reviews.co.uk Homepage: http://www.reviews.co.uk
-
Buenas. Estoy por terminar una tienda en www.tacuba.es Solo le falta el TPV que ING me ha facilitado, el redsys. El banco me da todos los datos y cuando realizo las pruebas según ellos me comentan (las pruebas en modo test, una aceptada y otra rechazada) con toda la información que me indican pues me han remitido el siguiente correo. "En respuesta a su correo, le informamos que hemos detectado al menos un pedido repetido en sus pruebas. Recuerde que solo puede enviar una vez un Ds_Merchant_Order. Debe prestar atención a la generación de este código de pedido. Recomendamos el uso de Fecha/hora. El pedido repetido único es una restricción del tpv, esto significa que cada vez que se abra la pasarela de pago debe hacerlo con un nuevo código de pedido, aunque la operación de antes no se haya podido finalizar." Estoy un poco desesperado porque no sé qué hacer. He hecho todo lo que indicaron y no tengo ni idea de qué es eso del pedido repetido y mucho menos lo "Ds_Merchant_Order". Me pierdo cuando dicen que recomiendan el uso de fecha/hora. ¿Alguna ayuda? Gracias de antemano a todos.
-
Bonjour, Je possède un module me permettant d'imprimer mes étiquettes d'expédition, mais lorsque le numéro de téléphone du destinataire possède un espace, le logiciel ne prend pas l'intégralité du numéro.. Ma question est donc: est-il possible d'ajouter un petit bout de code dans Prestashop afin de tester le numéro de téléphone entré par le client lors de son inscription et d'interdire les espaces ? Merci beaucoup ! A+ Prestashop 1.4.10.0
-
Bonjour à tous, J'ai commencé mon projet au mois d'aôut 2013. En commençant par la création des petites boîtes (têtes). Je tiens également une boutique physique à Liévin, dans le nord. Avec mon temps libre, j'ai pu petit à petit, arriver à mettre en ligne mon site (le site est en ligne depuis une semaine www.patonbo.fr ), qui a aujourd'hui plus de 1000 références. Actuellement, pour le paiement, je travaille avec PAYPAL en attendant les propostions des banquiers qui sont toujours lents ... J'aimerais donc que vous me fassiez part de vos impressions, des bugs éventuels, envie d'achat etc... BUG: j'ai relevé deux: La Fonction tri ne marche pas bien: du moins cher au plus cher , du plus cher au moins cher. Par exemple, lorsque je vais dans la catégorie promotion; je trie par "du moins cher au plus cher", le premier article affiché n'est pas le moins cher (3 euros), le produit le moins cher qui est le coque d'iphone à 2.4 euros est affiché à la 3 ème page. Navigation à facette: ce module ne marche pas bien non plus. Par exemple; lorsque je vais dans la catégorie t-shirts et polos -> puis je coche la case XXL -> la page se recharge -> je clique sur le produit T-shirt Art and Sex blanc Sixth June , problème: ce produit n'est disponible que en taille L. (Mais alors pourquoi ça affiche dans un tri XXL ?) Merci à ceux qui ont pris du temps à lire mon post et tester mon site ! Je serai super content, si vous pouvez m'aider à augmenter la visibilité de mon site sur Facebook en cliquant sur j'aime en bas de la page d'accueil et invitez vos amis à faire de même. Merci infiniment ! www.patonbo.fr