Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Error 403 on checkout

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-09-2012, 04:20 PM
 
Fersick Fersick is offline
 

Advanced Member
  
Join Date: Dec 2009
Posts: 62
 

Default Error 403 on checkout

Hi i'm not sure what i have done. But i have upgraded my version of x-cart from 4.3.2 to 4.4.4 by following the process of updating the DBMS and upgrading the engine. The site works fine has all existing items and customers. But if i try to go to the checkout it comes up with an error 403 access denied.

Is this something i need to change on my CMS hosting settings. Or in the back end of x-cart?
__________________
X-cart ver 4.4.4 Gold

"Pollution, all around. Sometimes up and sometimes down but always around. Pollution, are you coming to my town? Or am I coming to yours? We're on different buses pollution
but we're both using petrol. Bombs." Rick the people's poet.
Reply With Quote
  #2  
Old 01-09-2012, 05:35 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Error 403 on checkout

Can you post what exactly you did - how you upgraded 4.3.2->4.4.4? Have you tried executing cleanup.php? What is the exact error you see? Look in the logs files for errors - the solution could be there
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 01-09-2012, 05:42 PM
 
Fersick Fersick is offline
 

Advanced Member
  
Join Date: Dec 2009
Posts: 62
 

Default Re: Error 403 on checkout

Code:
X-CART DATABASE 4.3.2 -> 4.4.0 UPGRADE NOTES ============================================= !!! PLEASE CLOSE YOUR STORE AND BACK UP YOUR OLD X-CART DATABASE BEFORE STARTING UPGRADE !!! HOW TO UPGRADE -------------- For a successful upgrade, please follow these steps: 1. Close your store for customers: - Log in to your store as administrator. - Go to General settings->General options. - Select the check box for the option 'Check this to close your shop temporarily'. - Click the 'Save' button. 2. Back up your X-Cart database. You can do it using one of the following methods: a) Backing up via X-Cart's administration interface. To be able to use this method, you must be logged in as administrator. Do the following: - Go to the 'DB Backup/Restore' section of your store's administration back-end. - Click the 'Generate SQL dump' button. b) Backing up via the command line interface. This method is good if your store database is very big or if, for some reason, your attempt to back it up via your store's administration interface failed. To use this method, you need to issue the following command from the command line: > mysqldump -h <YOUR_HOST> -u <YOUR_USERNAME> -p -r <BACKUP_FILE> <YOUR_DATABASE_NAME> Enter password: <YOUR_PASSWORD> Actual values should be given for the following: <YOUR_HOST> - hostname of the MySQL server used by your X-Cart, <YOUR_USERNAME> - username for logging in to the MySQL server used by X-Cart, <YOUR_DATABASE_NAME> - name of the database used by X-Cart, <BACKUP_FILE> - name of the file to which you wish the SQL dump to be saved, <YOUR_PASSWORD> - password for access to the MySQL server. If you do not remember your MySQL server access info, you can look it up in your store's config.php file. To learn about these backup methods, please follow an article from the Qualiteam knowledge base at http://help.qtmsoft.com/index.php?title=X-Cart:Backup_and_Restore#Backing_up_Store_Database 3. If you haven't yet done so, upload the database upgrader TGZ archive to the store server and unpack it to the directory where your X-Cart is installed. You will get the following files: UPGRADE.NOTES_4.3.2-4.4.0 - file with upgrade instructions upgrade_sql.php - main upgrade script SQL dump files: upgrade/4.4.0_sql/diff.sql upgrade/4.4.0_sql/data.sql upgrade/4.4.0_sql/init_aff.sql upgrade/4.4.0_sql/init_fcomp.sql upgrade/4.4.0_sql/init_giftreg.sql upgrade/4.4.0_sql/init_magnifier.sql upgrade/4.4.0_sql/init_offers.sql upgrade/4.4.0_sql/init_pconf.sql upgrade/4.4.0_sql/init_survey.sql upgrade/4.4.0_sql/tables.sql 4. Enter the URL http://<your_domain>/<xcart_dir>/upgrade_sql.php into the address bar of your browser. Wait for the upgrade script to convert your database to X-Cart 4.4.0 compatible format. 5. Install a fresh X-Cart 4.4.0 in the place of your 4.3.2 store. 5.1. Download an X-Cart 4.4.0 distribution file from File area/X-Cart/X-Cart 4.4.0 section of your HelpDesk account. 5.2. Prepare to install a fresh 4.4.0 store: - Rename the directory where your 4.3.2 store is installed to something else (For example, if your 4.3.2 store is in the directory /xcart, rename this directory to /xcart_old). - Create a directory of the same name as the directory where your old store was installed before the renaming (/xcart). - Upload the distribution of X-Cart 4.4.0 to the server and unpack it to this directory. 5.4. Run the installation script to install X-Cart 4.4.0: enter the URL http://<your_domain>/<xcart_4.4.0_dir>/install.php into the address bar of your browser. At step 2 of the installation wizard ('Preparing to install X-Cart database'), specify the database you have just upgraded as the database to be used with the new store. (You can look up the required database access info in the config.php file of your X-Cart 4.3.2 store). At step 3, select the option 'Update config.php only'. It is very important that you select this option, because otherwise the upgraded database will be deleted and re-created at the same location from the 4.4.0 SQL dump, which means that all your data from the old 4.3.2 store will be lost (You do not want this to happen). >From now on, your X-Cart 4.4.0 will use the upgraded database. 6. Do the following: 1) Log in to your X-Cart 4.4.0 store as administrator. 2) Click on the link 'Tools'. 3) Click on the link 'Maintenance'. 4) Click the button 'Force cache generation' to generate cache data. 5) Click the button 'Regenerate' under the section 'Re-generating the Blowfish encryption key' to ensure uniqueness of your Blowfish encryption key. 7. Make sure that your root and embedded static pages exist: check the 'Static pages' page in the admin area. 8. Make sure that your payment method settings are correct. 9. Make sure that your shipping method settings are correct. 10. Make sure that all the needed modules are enabled on the 'Modules' page. 11. Make sure that your User Profiles Options settings are correct. Now the upgrade from 4.3.2 to 4.4.0 is successfully completed.

This is the supplied text with the DBMS upgrade.
I follow this process. But the only difference from my original install is i now have.

www.site.com.au/x_cart/xcart as my initial install directory not www.site.com.au/x_cart/

I have changed my index.htm file to point to the appropriate directory.

I can access everything except checkout on the site.
__________________
X-cart ver 4.4.4 Gold

"Pollution, all around. Sometimes up and sometimes down but always around. Pollution, are you coming to my town? Or am I coming to yours? We're on different buses pollution
but we're both using petrol. Bombs." Rick the people's poet.
Reply With Quote
  #4  
Old 01-09-2012, 05:47 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Error 403 on checkout

You need to update config.php with the new path, forget about index.htm.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 01-09-2012, 06:09 PM
 
Fersick Fersick is offline
 

Advanced Member
  
Join Date: Dec 2009
Posts: 62
 

Default Re: Error 403 on checkout

Just checked the x_cart/xcart/config.php and the directory listing is already updated. I must have done it when i installed the new engine. I have changed the Directory indexes in my Host settings to point to the config.php file. And the site still opens with the default domain. But still cant access checkout.
__________________
X-cart ver 4.4.4 Gold

"Pollution, all around. Sometimes up and sometimes down but always around. Pollution, are you coming to my town? Or am I coming to yours? We're on different buses pollution
but we're both using petrol. Bombs." Rick the people's poet.
Reply With Quote
  #6  
Old 05-13-2012, 06:45 PM
  YakMan's Avatar 
YakMan YakMan is offline
 

Advanced Member
  
Join Date: Sep 2005
Location: Houston, Texas
Posts: 54
 

Unhappy Re: Error 403 on checkout

I am having same problem , but 4.4.5. Did you ever get this fixed? What was the fix?

Thanks
__________________
xCart
Version 4.7

Quote:
  • There are 10 kind of people in the world. Those who know binary and those who don't.
  • He who throws mud loses ground.
  • Always remember, where ever you go, there you are.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:15 AM.

   

 
X-Cart forums © 2001-2020