To access the X-Cart configuration file, you must either log in to the cPanel administration panel or connect to your X-Cart website with an FTP client.

  1. Log in to the cPanel administration panel
  2. Navigate to the Files -> FileManager section
  3. Identify the location where the X-Cart is installed
  4. Navigate to the /etc/config.php file - this is where the configuration file is located

You can check the connection to the database or modify/update the information by editing the config.php file:

; ----------------------
;  SQL Database details
; ----------------------
;
[database_details]
hostspec = "localhost"
socket = ""
port = ""
database = "xcart_xcart"
username = "xcart_xcart"
password = "p4ssw0rd"
table_prefix = "xc_"

The hostname details are in the format:

[host_details]
http_host = "domeniu.tld"
https_host = "domeniu.tld"
web_dir = ""
domains = ""
Cette réponse était-elle pertinente ? 0 Utilisateurs l'ont trouvée utile (0 Votes)