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.
- Log in to the cPanel administration panel
- Navigate to the Files -> FileManager section
- Identify the location where the X-Cart is installed
- 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 = ""
