Project

General

Profile

Tools » History » Version 5

Max Milbers, 10/23/2011 10:23 PM

1 1 Max Milbers
h1. Tools
2 1 Max Milbers
3 1 Max Milbers
The tools in virtuemart 2 are meant for developers, testers, and in common professionals. Some people meant we should remove them, because they must use with care and they can just destroy your whole store. They should be never used in an already running store. But on the other hand, they help webdevelopers and spare a lot work. So to protect users from themselves we added an extra security for this commands. They must be enabled in the shop configuration first.
4 1 Max Milbers
When you use this tools right, you almost never have to reinstall virtuemart, even when you are tester and getting the newest svn daily.
5 1 Max Milbers
6 4 Max Milbers
h2. Tools for installation
7 4 Max Milbers
8 3 Max Milbers
h3. Renew config by file
9 3 Max Milbers
10 1 Max Milbers
Deletes the stored configuration in the database and reset it with the values from the file /administrator/components/com_virtuemart/virtuemart.cfg. Be aware that it does not take the values from the 
11 1 Max Milbers
virtuemart_defaults.cfg-dist. This file contains the default configuration shipped with the core. So you can adjust the virtuemart.cfg to your needs and use it as a kind of backup.
12 1 Max Milbers
13 3 Max Milbers
h3. Restore System Defaults
14 3 Max Milbers
15 1 Max Milbers
This deletes and restores the standard tables of vm, this means tables wich are most time not user generated, for exampel, admin menu, countries, currencies, orderstatus, states,... . This command maybe removed.
16 1 Max Milbers
17 1 Max Milbers
h3. Remove VirtueMart Data
18 3 Max Milbers
19 1 Max Milbers
This removes the user generated data, categories, products, manufacturers, calculation rules, ... This may help you, when you heavily customised your store with own currencies, countries, states and so on, but you want to remove the actually displayed data.
20 1 Max Milbers
21 1 Max Milbers
h3. Remove VirtueMart Tables
22 3 Max Milbers
23 1 Max Milbers
This just removes all _virtuemart_ tables. It is meant, when you want to completly uninstall VM, it is not senseful to use it for a reinstall
24 1 Max Milbers
25 1 Max Milbers
h3. Reset all tables and do a fresh install
26 3 Max Milbers
27 1 Max Milbers
One of the most interesting commands. It deletes all _virtuemart_ tables and executes the install function of the installer. So you have a completly renewed virtuemart. This is very interesting for developers, testers, and administrators for test purposes.
28 1 Max Milbers
29 1 Max Milbers
h3. Reset all tables and install sample data
30 3 Max Milbers
31 1 Max Milbers
Does the same as above, but installs directly the sampeldata.
32 1 Max Milbers
33 3 Max Milbers
h3. Install tables or if necessary update them
34 3 Max Milbers
35 1 Max Milbers
This is very important for people who use the svn. This executes the updater function of the installer and updates your tables to the newest layout.
36 4 Max Milbers
37 4 Max Milbers
h2. Tools for migration
38 4 Max Milbers
39 4 Max Milbers
h3. Server settings of max execution time
40 4 Max Milbers
41 4 Max Milbers
When your server support max_execution overrides, then you can set here for the migration process an higher limit.
42 4 Max Milbers
43 4 Max Milbers
h3. Memory limit of the server
44 4 Max Milbers
45 4 Max Milbers
When your server support memory_limit overrides, then you can set here for the migration process an higher limit.
46 4 Max Milbers
47 4 Max Milbers
h3. Migration tasks
48 4 Max Milbers
49 4 Max Milbers
The radiobox gives you the possibility to execute different tasks of the migration
50 4 Max Milbers
51 4 Max Milbers
h4. general
52 4 Max Milbers
53 4 Max Milbers
This is importing the general data, medias, categories, manufacturers, etc
54 4 Max Milbers
55 4 Max Milbers
h4. users
56 4 Max Milbers
57 4 Max Milbers
This is importing the useraddresses
58 4 Max Milbers
59 4 Max Milbers
h4. products
60 5 Max Milbers
61 4 Max Milbers
Executes general and imports then the products
62 4 Max Milbers
63 4 Max Milbers
h4. orders
64 4 Max Milbers
65 4 Max Milbers
Executes products and imports then the orders
66 4 Max Milbers
67 4 Max Milbers
h4. everything
68 4 Max Milbers
69 4 Max Milbers
Import everything in the right order
70 4 Max Milbers
71 4 Max Milbers
h4. Set store owner
72 4 Max Milbers
73 4 Max Milbers
Here you can set your storeowner, when you provide an id, then to the userId, in the other case for the user who is executing the command.
74 4 Max Milbers
75 4 Max Milbers
h3. Default category layout (browse page)
76 4 Max Milbers
77 4 Max Milbers
Enter here the default flypage, to prevent to be ported. This is quite important, because in the other case every category uses the overrides, which is bad to administrate.
78 4 Max Milbers
79 4 Max Milbers
h3. Default category product layout (fly page)
80 4 Max Milbers
81 4 Max Milbers
Same as for the flypage, just for your browsepage
82 4 Max Milbers
83 4 Max Milbers
h3. Write here the new storeowner id
84 4 Max Milbers
85 4 Max Milbers
Set here the new storeowner id, when you execute "Set store owner"