Thread: change database

Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    96
    Plugin Contributions
    0

    Default Re: change database

    Actually all the configure.php files seams to be right.

    It is something wrong with the whole sale database it self I think. When I try to login in to whole sale it redirects me to my regular shops admin.

    But when I look at the shop itself it is different. I have in the beginning copied the database to the whole sale database. Because it is same products any way.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: change database

    Sounds like your wholesale site's admin/includes/configure.php is pointed at the wrong site (other end of the file from the datbase information).
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: change database

    In your admin folder's htaccess add the following line FIRST**

    Code:
    Rewrite Engine off
    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  4. #4
    Join Date
    Aug 2008
    Posts
    96
    Plugin Contributions
    0

    Default Re: change database

    Thanks for the help. It looks like I got it work. Still there seams to be a difficultie to be logined to both databases at same time.

    I also would like to clear all orders and and customers from the database. How do I delete all at once?
    Last edited by procella; 23 Dec 2008 at 09:33 AM.

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: change database

    If you mean that you can't be logged into two Admins in the same browser, I believe that this was a security measure introduced recently. Basically all information about the site you were logged into is dropped when you log into another with the same session ID. This closes a theoretical loophole, particularly in shared hosting environments.

    I recognise that it's a bit inconvenient for you, but there is a workaround. If you login to the second site using a different browser, it will have a different session ID, so no reason for the first to be dropped.

    To drop your customers and orders in bulk, you would need to write and execute a database script.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    Aug 2008
    Posts
    96
    Plugin Contributions
    0

    Default Re: change database

    My sites look quit much the same
    So it is perhaps better to have different browsers for each admin.

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: change database

    I find that too! Especially as I often have several on the go at once
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. v150 Database change problem
    By sybok in forum General Questions
    Replies: 1
    Last Post: 10 Jun 2012, 09:19 AM
  2. Change database configuration?
    By split63 in forum Basic Configuration
    Replies: 1
    Last Post: 22 Oct 2011, 06:32 AM
  3. change zen cart database
    By juneloweelyn in forum General Questions
    Replies: 3
    Last Post: 15 Oct 2009, 04:34 PM
  4. Change database id for Attribute
    By jasmel in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 6 Mar 2008, 06:43 AM

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