Jump to content

mckm

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • First Name
    Mck
  • Last Name
    Mck

mckm's Achievements

Newbie

Newbie (1/14)

0

Reputation

1

Community Answers

  1. ... php_value max_execution_time 60... NOTE: Some of the Free hosting companies may not allow to change to this value
  2. Try setting the database server to 127.0.0.1 (instead of localhost). i.e. Change _DB_SERVER_ value in the settings.inc.php to be as follows. define('_DB_SERVER_', '127.0.0.1');
  3. I think you simply rename/move your folder from "prestashop" to "mydomain" that should take care of it. After the rename you might have to also change the SEO & URL settings under preferences from the backoffice/admin app by going to http://mydomain.com/mydomain/admin
  4. Finally I solved it myself. 1) Deleted the file in <prestashopdir>/config/settings.inc.php 2) Downloaded prestashop_1.6.0.11.zip 3) Unzippped the doenloadef zip file on my local system 4) Zipped up all the folder install/* into install.zip file (making sure the zip file contained the install directory itself in the root) 5) FTP the install.zip file to my web server to <prestashopdir> and unzipped the zip file which created the install directory. 6) Launched the install app from my server using http://mck.x10.mx/prestashop/install 7) followed the steps till Database configuration menu. 8) Filled in all the db server parameters and set Database Server=127.0.0.1 (instead of "localhost") 9) Test connection : SUCCESS 10) Continued with database table created trough the install app. 11) deleted the install folder as displayed.
  5. What do I need to change? Where do I change it? and I do not think it will work if it is using raw sockets or something since my Hosting company may not allow it.
  6. I installed PrestaShop (Version 1.6.0.11) using "Softaculous" from my hosting company, everything went fine while installing but got error when accessing my site. I am getting error as below when I access my site http://mck.x10.mx/prestashop/ Link to database cannot be established: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) My config/settings.inc.php has following settings (actual values changed) define('_DB_SERVER_', 'localhost'); define('_DB_NAME_', 'mydbname'); define('_DB_USER_', 'mydbuser'); define('_DB_PASSWD_', 'mydbpassword'); define('_DB_PREFIX_', 'ps_'); define('_MYSQL_ENGINE_', 'InnoDB'); NOTE: I also have wordpress site and it is working with similar credentials, so I know the database is working. The wordpress site settings are /** The name of the database for WordPress */ define('DB_NAME', 'mydbname'); /** MySQL database username */ define('DB_USER', 'mydbuser'); /** MySQL database password */ define('DB_PASSWORD', 'mydbpassword'); /** MySQL hostname */ define('DB_HOST', 'localhost'); /** Database Charset to use in creating database tables. */ define('DB_CHARSET', 'utf8'); /** The Database Collate type. Don't change this if in doubt. */ define('DB_COLLATE', ''); /** * WordPress Database Table prefix. * * You can have multiple installations in one database if you give each a unique * prefix. Only numbers, letters, and underscores please! */ $table_prefix = 'wp_';
×
×
  • Create New...