Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Feb 2012
    Posts
    68
    Plugin Contributions
    0

    Default Re: Connect to storefront and database on a different server.

    I was never hacked. My main site is abcrealestateschool.com. I linked to abcrealestateschools.com for educational materials and the zen-cart order form. Google didn't like it that I was sending students to such a similar site to order. They are both protected and safe but they were a flag to google.

  2. #12
    Join Date
    Feb 2012
    Posts
    68
    Plugin Contributions
    0

    Default Re: Connect to storefront and database on a different server.

    Siteground responded:
    I see. I'm afraid that this is actually down to the website configuration more than the hosting configuration. If the files are saved with the same database details this means that the websites will open the information from the same database and may not show up as two separate websites. I would recommend reaching out to a professional website developer, as this is more of a development related inquiry. As a hosting provider we focus on finding and resolving hosting related issues and as such website configuration and development does fall outside of our hosting scope of support.
    I want abcrealestateschools.com to remain a usable Web site because I have students using that site for their courses, different courses for the courses on abcrealestateschool.com. I was hoping to let students use both domains to order, but have a central location for the student information to flow in to.

  3. #13
    Join Date
    Feb 2012
    Posts
    68
    Plugin Contributions
    0

    Default Re: Connect to storefront and database on a different server.

    I changed the 2 config files. Because the set-up is identical, there were only 7 url changes - including changing the location of the catalog. I had to change file permissions to change one of the config files. Because it wouldn't let me change the permission back to 444, after the change, and when I clicked on the page link, it was a Zen-cart message - I panicked and changed it back. Than I had to ask siteground to fix the permissions anyway.
    Do you think it would have worked if I had been able to change the permissions back to 444? It is possible to have multiple storefronts, all pouring into a single database and admin just by changing those 2 files to the new database location?

  4. #14
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Connect to storefront and database on a different server.

    IMHO, I think google flags your site due to the fact all your sites are using http instead of https.

  5. #15
    Join Date
    Feb 2012
    Posts
    68
    Plugin Contributions
    0

    Default Re: Connect to storefront and database on a different server.

    Thank you DrByte Sensei! It is working. It took a change in permissions and back to 444 to fix the 2 files. In those files, I changed the database locations and a couple of URL's, did not change the catalog URL's, changed the server from localhost to the IP address of the new database. It worked but threw a 'redirect' error on occasion when I tried to access either admin. I contacted my host and they:

    I was able to resolve the issue by deactivating the Dynamic cache with these directives in the .htaccess:
    <IfModule mod_headers.c>
    Header set Cache-Control "max-age=0,no-store"
    </IfModule>


    It is siteground, and they already had to give permission for one site to access the other database for my course management system. It just need the cache off and a flush and this change.
    Seems to be working! Multiple order forms into 1 central database and admin.
    Super!!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Can't connect to database after server move
    By hp9 in forum General Questions
    Replies: 4
    Last Post: 1 May 2017, 05:52 AM
  2. v154 crashed database, missing products on storefront and admin
    By buildingblocks in forum General Questions
    Replies: 6
    Last Post: 10 May 2016, 11:55 AM
  3. v138a Connect to database and variables in a javascript
    By carol in forum General Questions
    Replies: 9
    Last Post: 12 Jun 2013, 10:50 AM
  4. how could we connect database in new server?
    By rainmist in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 8 Feb 2010, 02:09 PM
  5. Cannot connect to to storefront from browser
    By rubicontrek in forum Installing on a Mac Server
    Replies: 12
    Last Post: 16 Jun 2006, 08:12 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR