X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Powered by X-Cart shopping cart software (https://forum.x-cart.com/showthread.php?t=52915)

RedandBlue 03-20-2010 08:50 AM

Powered by X-Cart shopping cart software
 
When we temporarily we close the store or
if we give wrong database username and password
then we see a error page when we type the domain name.

PHP Code:

1045Access denied for user 'gemsrbg'@'72.167.232.41' (using passwordYES)

2002Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Please make sure of the following:
The MySQL credentials in the config.php file are correct.
Your MySQL server is installed and is up and running properly.
If you have recently updated the MySQL credentials in the config.php file, moved your store to another server, or updated the password of your hosting control panel (some control panels update the MySQL password automatically if you change the main password), make sure the MySQL credentials specified in your store'
s config.php file match the MySQL credentials provided by your hosting


how can i edit that page.

Thanks

vasilis 03-23-2010 04:39 AM

Re: Powered by X-Cart shopping cart software
 
do you mean, how to edit the config.php file?

RedandBlue 03-23-2010 05:58 AM

Re: Powered by X-Cart shopping cart software
 
not sure.

let me explain you.

lets say my website is working fine.

if i give a wrong database username/passowrd in the config.php
then when i try typing www.mydomain.com
it will give a error page because it can not communicate with database as we gave a wrong username or password.

in this case it will give an error message with a header and footer.

I want to change that look of that error page.

balinor 03-23-2010 06:08 AM

Re: Powered by X-Cart shopping cart software
 
Why would you EVER close the store or put in the incorrect database info? That will lead to you being dropped by Google.

RedandBlue 03-23-2010 06:24 AM

Re: Powered by X-Cart shopping cart software
 
I understand my friend.
It is because i have a client, for whom I am designing a website, its underdevelopment.
there are couple of other persons working on it.

some times they want to close the website as it is not live yet.

thats the reason.

balinor 03-23-2010 06:28 AM

Re: Powered by X-Cart shopping cart software
 
The shop closed page is shop_closed.html


All times are GMT -8. The time now is 12:06 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.