Search the Community
Showing results for tags 'database connection'.
-
Hi, I am installing PrestaShop on Ubuntu 16 after creating the docker image using these commands: docker run -ti --name some-mysql -e MYSQL_ROOT_PASSWORD=admin -d mysql docker run -ti --name some-prestashop --link some-mysql -e DB_SERVER=some-mysql -p 8080:80 -d prestashop/prestashop At the installation stage, I keep getting the error 'Database Server is not found. Please verify the login, password and server fields (DbPDO)' in the database section. I have even tried creating the database from inside the some-mysql container but I am still getting the error. Kindly help.
-
Hi everyone, I have a problem with my module. I edited the bankwire module (created a copy, and then installed) which works good. The problem is I want to add some informations on the payment_execution.tpl file, so when I have the page with Order Summary I want to add few fields that contain the informations the user set in the registration fields (possibly from the billing fields). Can someone guide me into that or give some advice how to achieve this? Which files I have to modify and how? Thank you for your time. Regards, Aleks
-
Hello I have create a custom page (a tpl file no from CMS) and it works. What I need is to display a form. I have create the table in my db but I dont know how to achieve the connection with database? thank you very much
-
I was trying to migrate a (prestashop philippejse dot nu -> philippejse dot dk) using this guide: http://www.templatemonster.com/help/prestashop-1-5-x-how-to-move-your-website-from-one-domain-to-another.html#prettyPhoto It certainly didn't work and now that I try to make everything the way it was, I seem to have lost something in the original shop??! When I reactivate the shop, it says ' the page doesn't show' everywhere. i can't enter any pages in the site. i can still see the background, topmenu and header, but nothing works? What did I do???? not to mention I'm nowhere near having solved the issue of migrating the site to the new domain. Please, I hope someone can guide me in the right direction with this as I have been struggling for hours now. i have deactivated the shop while I work on this. Tell me if I need to do something to let you have a look. Thanks, (I did remember to change the URL back to the original domain in SEO/URL and I checked that I still have the correct db name and passwords in the settings file)
- 6 replies
-
- error message frontoffice
- database connection
-
(and 1 more)
Tagged with:
-
Running Presta 1.5.6.1 The problem is under the configure section of a module. When you enter a response to the customers question it does not save to the database. This error is generated: PHP Warning: mysql_real_escape_string(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in mysite/modules/ask_question/ask_question.php on line 484, referer: http://www.mysite/backoffice/index.php?controller=AdminModules&token=db440915b2b491fc6b85e71a37154e8e&configure=ask_question&tab_module=front_office_features&module_name=ask_question&view_question=1 Troubleshooting advice on this error suggests that the database connection mysql_connect() has not been made. But the rest of the page/site runs fine. So it is being used everywhere else, and then dies when being called within a simple little function? I have tried this before the query that fails: Db::getInstance()->disconnect(); Db::getInstance()->connect(); Also this problem is only on my production server, my development environment is fine. Thanks for any help!!
-
When Configure your database by filling out the following fields, the following message occurred! An error occurred: Warning: ini_set() has been disabled for security reasons in/home/loopybuy/public_html/prestashop/install/init.php on line 73 Warning: ini_set() has been disabled for security reasons in/home/loopybuy/public_html/prestashop/classes/db/MySQL.php on line 172 Warning: ini_set() has been disabled for security reasons in/home/loopybuy/public_html/prestashop/classes/db/MySQL.php on line 208 {"success":true,"message":"Database is connected"} Can someone help me to fix it? Thanks!