Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2009
    Posts
    2
    Plugin Contributions
    0

    Default Admin controlling 2 sites!

    Hi there,
    i have a website which i copied all the zencart folders and uploaded it to a new domain, as it had all the addons and styles that only had to be tweeked to suit new site.
    i changeds all the www/..../url1.com to the the new www/.../url2.com that i thought i needed to

    but when i deleted all the products from my 2nd site it also deleted them from my first site!!!!

    i have trawled thought the FAQ and the forum looking for answers and i have trawled though my zen cart admin php files looking for the old URL
    no images have changed its just the category pages inc all the pages under the define pages link.

    is there something obvious i have missed???

    cheers

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Admin controlling 2 sites!

    You could have 100 "sites" pointing to ONE database but the principle will remain...

    ... it's still ONE database, so whatever you add to, or subtract from it will be common to all 100 "sites" (ie: front-ends).

    It appears that you do not fully understand the principle of dyanmic content websites. There are some good online tutorials which you should do.

    ... besides, it's very risky running one dbase through several "sites".

    Look at the multisite module if you want a proper way of doing this.
    20 years a Zencart User

  3. #3
    Join Date
    Mar 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Admin controlling 2 sites!

    hi there,

    sorry i think i didnt explain what i want to do

    i want 2 seperate websites with 2 seperate admins

    i liked the look of my first site and all the addons i have so i simply downloaded my first site and up loaded it to my 2nd url where i haved changed the whole look.

    the sites sell 2 completely different lines of products so i dont want a linked database

    i want to stop them being linked so i was wondering if anyone knows what file(s) need to be changed to stop the 2 admins being linked

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Admin controlling 2 sites!

    your configure.php files have section for database connection . your second store needs to point to new database with proper username and pass .

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Admin controlling 2 sites!

    Yes... what you have done is "clone" your original site and have forgotten that the CONFIGURE files are still pointing at the same resources as the original site!

    As Tony says... create a NEW database (by all means it can be a "copy" of the original*** as well), and make sure the configure files are pointing to it... (as well as getting them to point at all the COPIED resource folders/files as well...).

    *** You will need to run "fix_cache_key.php" on the new site if you "clone" a database...
    20 years a Zencart User

 

 

Similar Threads

  1. How to set up affiliate sites? multiple sites within same site?
    By merlin13720 in forum General Questions
    Replies: 4
    Last Post: 30 Oct 2010, 01:59 AM
  2. Mutliple sites - one admin system?
    By muggins2003 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Jun 2010, 09:14 PM
  3. Can't log in to new https sites admin area
    By olen1009 in forum General Questions
    Replies: 5
    Last Post: 17 Mar 2009, 04:22 AM
  4. two diff sites still shareing admin
    By sirryche in forum General Questions
    Replies: 7
    Last Post: 16 Jan 2009, 05:04 AM
  5. Multiple sites, one paypal address. Can you redirect to different sites after paymen?
    By JohneeMac in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 18 Nov 2007, 08:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg