Let us consider we have a ready made store that required a lot of time to setup and then we want to make another similar store. Is it posssible to copy the ready made store and give it a new name, instead of setup from scratch? If yes what are the challenges and tasks to be completed in order for all things works perfectly?
a) One field to fill is "Multiplier". I dont understand the meaning and purpose of this field even after consult dictionary. Can you please clarify me?
c) After create a supplier then we have a button "MULTIIMPORT". I dont understand the use of this button! Is it used to import products and categories? If yes, where the products and categories must be found and in what format ? What about Headerfile?
I see that I can add from back end the admin groups and rights groups. What about if I want to add new administrator? I suppose it is possible by hand directly in database in table ms_admin by adding customer_id and admin_group_id. Correct ?
3. Setup new customer
I see that customer_id is not used for login, so what is the purpose of this data?
If I want to insert a customer_id value, which value I insert? numerical value? how many character? How can I ensure that different customer have different id ?
- disallowed payment methods: what values are available to insert here?
- disallowed shipping methods: what values are available to insert here?
- yes/no: what is the influence of yes/no ?
I tested by copy all files and folders from original server and past them into the new server then point a domain to new server. I can delete the files for not interested stores in directory store_files, but all others files and folders need to be keeped. This way allow to use new server for some store, if original server is full.
Thanks for your effort to explain to me.
Store files are those in the folder named "store_files"
What about zip files ? I expect to find some files with extension .zip, but cannot find. Can you clarify about zip files?
In fact my major objective for now is understand the script and be sure that I can handle it even when major problem come. Then I can use it for some profitable websites
Currently there are many cloud solution that allow automatic vertical and horizontal scalling of file server and database server. But I would like to test HHG MULTISTORE with manual server scalling.
If for example I create new server and place there the files of the original server, then I expect that it is needed some setup/configuration in order for all things to be syncronised with original server. The exactly files and folders that need to be placed in new server and the needed setup is what I want to clarify.
After move/mount the store files in new server the store domain must be pointed to original server or to the new server ?
The question is this: after mount in new server the /store_files/ with files of specific store, how the original server will find those files in new server?
If I move all files of original server then it seems there is no problem because the relative paths between diferent folders and files are keeped. But I would like to move only the files related to specific store or stores.
for example,if I have store1 in site_server1/store_files/store1 them I move such store to site_server2/store_files/store1 then the system in server1 will not find the store1 in server2, so I cannot manage front end and back end of store1 from server1.
In fact, the problem I am looking the solution for is:
If I have in one server the store1, store2, ..., storen, then if after some time thr server is full, it would be interesting if I can move some stores to other server, but be able to manage their front and back end from original server.
What do you think?
What you mean is, if my original server is server0, to move store1, store2 to server1, server2, respectively:
- I move this folder /core to server1 and server2
- I move these folders /store_files/1 and /store_files/2 to server1, server2 respectively
- I configure database credentials if necessary in core/config/configure.php for server1 and server2
Then I will able to manage front end and back end of store1 and store2 from domain associated to server0, correct?
Ok, Manage login and permission for customers are understood.
Now regarding the second part of this topic (move store folder to orher server), I need clarification.
For example, the files for my stor1 is here: /public_html/site_mercuni/store_files/1 (I consider this as folder1)
Currently when I type www.mercuni.com the store1 is displayed.
If I move the folder1 to other server then what I need setup in order to open store1 when I type the url www.mercuni.com ?
In fact I need to add both cases, that is, with www and without www. Now it is working well.
What about login for each store? With admin credential created durning script installation I can login to store1 with url www.mercuni.com and then I can also manage store2. But if I try to login to store2 using url www.cibertraining.com the credential is not accepted. How to solve this?
Initially I was able to acess mercuni.com with store1 as default.
Then I added cibertraining.com as domain for store2. Now I can open www.cibertraining which display store2. But, for cibertraing.com, when I use admin credential defined during script installation I get error (ICON_ERROR WARNING: The entered e-mail address is not registered. Please try again).
In addition, for mercuni.com., I get the following error when I try to opening it in browserQuote
Unknown column 'o2s.store_' in 'where clause'
configuration AS c
LEFT JOIN object_to_store AS o2s
ON c.configuration_id = o2s.object_id
INNER JOIN object_type AS ot
ON o2s.object_type_id = ot.object_type_id
AND ot.object_type_alias = 'configuration'
AND ot.language_id = 1
o2s.store_ = 1
hhg_db.query( SELECT c.configuration_key, c.configuration_value FROM configuration AS c LEFT JOIN object_to_sto..., true) % line 192, file: class.ms_store.php
ms_store.loadStoreCfg(null) % line 89, file: application_top.php
include(/home/veiga/public_html/site_mercuni/core/application_top.php) % line 9, file: bootstrap.php
require_once(/home/veiga/public_html/site_mercuni/core/bootstrap.php) % line 9, file: index.php
==== section end ====
SCRIPT KILLED BY DEBUG!
Conclusion: I cannot use store1, I cannot use store2.
How can I solve the problem without fresh reinstallation? Please help
Thanks for these display error tips.
I will add them to help debug issues. Are those enough for debug error? Possibly I need to add these code in other pages, namelly at admin section.
After installation it seems that the system deletes the files setup/ACTIVATE_INSTALLER
setup/EXECUTE_SETUP so I have to upload fresh ones and reinstall the script.
I was not able to reset the previous installed script even after clear browser cache and session and cookies, and restart server.
The script seems too much hard coded in such a way that it is not recommended to touch the code.
Are there any running multistore websites based on this script ?
I realize that the software is very restrictive. Any update for testing purpose result in error and if edited code is reset as original then error persists.
Case1: reinstall based on uploaded file
After install the script, if anything go wrong and I want to reinstall, how can I reuse the uploaded file to reintall, instead of upload fresh files ?
Case2: edit the files in /public_html/site_mercuni/store_files/dummy
After edit files in dummy folder I try to create new store. The store was not created and now I cannot access previous created store and also cannot access admin section, even after replace the dummy folder with original files. Is there a way to solve this problem without new installation?
Regarding question a):
When I open my website http://www.mercuni.com/index.php, it show by default the store1
My created store 1 is located in directory /public_html/site_mercuni/store_files/1.
Do you mean that if I setup a domain pointing to /public_html/site_mercuni/store_files/1 then by opening the domain in browser the website will open and show the store 1 ?
a) Is it possible to setup various domains, each one pointing to specific store added in single installation?
For example, for one single instalation of HHG EE, create store1, store2, then setup domain1.com to point to store1, domain2.com to pint to store2, and so on.
b) is it possible to move different stores created in one installation to different servers?
For example, for one single instalation of HHG EE, create store1, store2, then move store1 to server1, move store2 to server2, and so on.
I awould appreciate clarification on those topics.
Since the existing installation have many problems I moved to fresh installation of latest version, HHG EE 4.8.
Anyway thanks very much for valuable support.
Due to many testing by inserting and deleting data, some tables have complex data so I cleaned the table customers_status.
So, when I try to add new customer_group (Test1) then no data is displayed in page (see file1) but the data is inserted in database (see file2).
I expect that the code for display data in page need to be updated.
Please check the problem.