Make sure your site supports PHP and MySQL and make sure they are working together before attempting to install Cartweaver

Cartweaver 3 PHP Quickstart Steps for Dreamweaver

  1. Double-click the .mxp file to install Cartweaver into Dreamweaver. If DW is open while installing, close and re-open it.
  2. Open the Cartweaver menu and click Cartweaver 3 PHP > Install Cartweaver 3
  3. Fill in required fields and click OK.
  4. Browse to http://[yoursite]/cw3/setup/index.php
  5. Click the "Generate Cartweaver Database" link to create a MySQL database, if needed, and add the Cartweaver tables to the database. You should NOT complete step 5 that deletes the database scripts from the server, in case you need to run the script again
  6. Once the above steps are completed, open application.php and either double-click on Cartweaver 3 Setup in the Server Behaviors panel (Window > Server Behaviors) and complete the dialog, or manually enter the appropriate settings according to the PDF documentation. Be sure to fill in required fields using your new database, username, and password.

You should now be able to test CW 3. Browse to http://[yoursite]/index.php to access the sample home page. There is an admin link on this page to enter the CW admin.

To access the new Configuration groups in the Cartweaver admin, add the debug variable to the url:

http://[yoursite]/cw3/admin/index.php?debug=YourDebugPassword

This will show the Store Settings > Config Groups section in the menu. This is a new feature of CW 3 and allows you to set various variables and settings from within the admin rather than hard-coding them in one of your files. The help files should give you a better understanding of the Config groups

Cartweaver 3 PHP Quickstart Steps for Other Code Editors

  1. Copy the files from the Cartweaver3PHP folder to a folder in your site, or at the root of your site.
  2. Browse to http://[yoursite]/cw3/setup/index.php
  3. Click the "Generate Cartweaver Database" link to create a MySQL database, if needed, and add the Cartweaver tables to the database. You should NOT complete step 5 that deletes the database scripts from the server, in case you need to run the script again
  4. Once the above steps are completed, open application.php and manually enter the appropriate settings according to the PDF documentation. Be sure to fill in required fields using your new database, username, and password.

You should now be able to test CW 3. Browse to http://[yoursite]/index.php to access the sample home page. There is an admin link on this page to enter the CW admin.

To access the new Configuration groups in the Cartweaver admin, add the debug variable to the url:

http://[yoursite]/cw3/admin/index.php?debug=YourDebugPassword

This will show the Store Settings > Config Groups section in the menu. This is a new feature of CW 3 and allows you to set various variables and settings from within the admin rather than hard-coding them in one of your files. The help files should give you a better understanding of the Config groups

Cartweaver 3 PHP Upgrade from Cartweaver 2 Quickstart Steps

  1. Double-click the .mxp file to install Cartweaver into Dreamweaver. If DW is open while installing, close and re-open it.
  2. Delete or rename your existing application.php and index.php files
  3. Open the Cartweaver menu and click Cartweaver 3 PHP > Install Cartweaver 3
  4. Fill in required fields and click OK. Note: This step will OVERWRITE existing presentation pages (results, details, confirmation, etc) if not careful. Uncheck the options to overwrite your presentation files except for index.php. These will have to be manually updated. Your existing CW2 include files will not be deleted or overwritten. The new files will go into a /cw3 directory.
  5. Browse to http://[yoursite]/cw3/setup/index.php
  6. Click the "Update Cartweaver Database" link to update your existing CW2 MySQL database, and add the Cartweaver tables to the database.
  7. Once the above steps are completed, open application.php and either double-click on Cartweaver 3 Setup in the Server Behaviors panel (Window > Server Behaviors) and complete the dialog, or manually enter the appropriate settings according to the PDF documentation. Be sure to fill in required fields using your database, username, and password.

You should now be able to test CW 3. Browse to http://[yoursite]/index.php to access the sample home page. There is an admin link on this page to enter the CW admin.

You will have to open each presentation file and change your includes from /cw2/ to /cw3/. In addition, any CW2 search or cart links will need to use new syntax. Check the manual for more details.

To access the new Configuration groups in the Cartweaver admin, add the debug variable to the url:

http://[yoursite]/cw3/admin/index.php?debug=YourDebugPassword

This will show the Store Settings > Config Groups section in the menu. This is a new feature of CW 3 and allows you to set various variables and settings from within the admin rather than hard-coding them in one of your files. The help files should give you a better understanding of the Config groups

Cartweaver 3 PHP Remote Setup Steps

  1. Upload your Cartweaver store, including cw3/setup/ and its contents, to the server
  2. Browse to http://[URL to store]/cw3/setup/
  3. Click the "Generate Cartweaver Database" link to add the Cartweaver tables to the MySQL database. The database username and password must have create permissions on your database. If it doesn't, you need to create a user that does have these permissions, or use the cartweaver3mysql.sql file manually in your remote database admin tool (PHPMyAdmin or other).
  4. Click the "Determine Supported Server Locales" link to determine the Locale Code to use in application.php. The list for Linux, if available, will be dynamically generated from your server. On Windows, and Linux sytems that do not support this functionality, you will see a general list of available locales.

Once the above steps are completed, open application.php and either double-click on Cartweaver 3 Setup in the Server Behaviors panel (Window > Server Behaviors) and complete the dialog, or manually enter the appropriate settings according to the PDF documentation.

Note: local and remote versions of application.php will usually be different and require different settings.