View Single Post
  #5  
Old 06-21-2012, 06:07 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default Re: Tips for a smooth Install of X-Payments

For anyone who may need help with running the regen-codebook.php file from the command line, the following is what worked for me.

1. The server uses Cpanel
2. The xpayments folder is located at /home/mysite/public_html/xpayments
3. First you need to be in the folder /home/mysite/public_html/xpayments to run the script, to do this use the following command,
Code:
cd public_html/xpayments
4. Now to make sure you are in the proper folder use the following command,
Code:
pwd
This will show you exactly what folder you are in, if you are now indeed in /home/mysite/public_html/xpayments then use the following command,
Code:
php regen-codebook.php -run /home/mysite/public_html/xpayments
5. If all went well, the script should of run and you will receive 3 emails with your new pins and activate account and setup passwords link.

notes:
a) Use at your own risk, if your not confident using shell it would be best to open a ticket with QT to do this for you.
b) Make sure to edit
mysite above with the name of your cpanel site name.


__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote