buy tb500

Archive for February, 2010

restore and backup mysql database for linux server by command

Saturday, February 6th, 2010
restore  mysql -u user -p database < lbesql

backup  mysql -u user -p database > lbesql

Your Callback URL is not accessible! (X-cart / Google Checkout)

Wednesday, February 3rd, 2010

With Google Checkout and X-cart 4.1.8, a client of ours had this error:

Your Callback URL is not accessible!

Make sure you have a valid SSL certificate installed. Also note that Google Checkout does not accept SSL certicates from certain issuers. Contact Google Checkout support to make sure your SSL certificate can be accepted.

Another reason for the problem may be PHP on your server running in CGI mode. Refer to the manual for instructions on how to resolve the issue.


The SSL was fine, and the server mode was also the same as other users who had X-cart and Google Checkout. Our user fixed the issue by adding the following lines to his .htaccess file, and hopefully this solution will help you too:

RewriteEngine on
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization},L]

If that does not help, try searching the x-cart forums or contacting x-cart, but so long as your server has mod_rewrite installed, the checkout should work fine from there.

References

=======

http://billing.handsonwebhosting.com/knowledgebase.php?action=displayarticle&id=129

brwose website instead of siteprivew

Wednesday, February 3rd, 2010

there is a way to browse website without using DNS, instead of site-preview, but  you need to borwse it inside the server, this is only for windows server, i have tired it in winows server 2008

you need to follow the below steps

C:/Windows/system32/driver/etc/host

then you need to add inside host server ip and the domain

for example

124.217.226.210    alzwea.com

then you will be able to browse the website in side the server, but you can not browse it out side of the server.

Thank you.

Awstat statstic plesk control panel

Monday, February 1st, 2010

1- login to SQL server >>database>>psa>>tables>>domains then right click open tables,, then we find the domain then take ID of the domain and go to the registry using this command regedit in run

HKEY_LOCAL_MACHINE >> Software>> Plesk >>PSA config>>Config>>Statstic>>domainID then i select the ID the i got from the SQL Database then on the right hand select OfflineLouckStatus the duble click hexadeimal and change the value to  0  mean zero

then  after that Run this command in CMD

statistics.exe –process-domains=meds-xpress.com –http-web-statistics –verbose –from-date=”2010/01/01″

we need to change the domain and also from any date that we want.

Thant is all … fixed