Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jan 2006
    Posts
    115
    Plugin Contributions
    0

    Default correct path to new server

    we just changed to a new web hosting. Zencart has been installed under testing stage.
    The dns has not been thansfered yet. The web hosting company is using Plesk.
    we can preview our website by
    https://new_hosting_company.com:8443...our_domain.com
    we made changes in includes/configure.php to
    define('HTTP_SERVER', 'https://new_hosting_company.com:8443/sitepreview/http/our_domain.com');
    define('HTTPS_SERVER', 'https://new_hosting_company.com:8443/sitepreview/http/our_domain.com');
    Everything looks fine.

    But we are not able to access admin page by
    https://new_hosting_company.com:8443...main.com/admin
    we did made changes to admin/includes/configure.php to
    define('HTTP_SERVER', 'https://new_hosting_company.com:8443/sitepreview/http/our_domain.com');
    define('HTTPS_SERVER', 'https://new_hosting_company.com:8443/sitepreview/http/our_domain.com');
    define('HTTP_CATALOG_SERVER', 'https://new_hosting_company.com:8443/sitepreview/http/our_domain.com');
    define('HTTPS_CATALOG_SERVER', 'https://new_hosting_company.com:8443/sitepreview/http/our_domain.com');

    But it dosn't work, we'll lead to our live website. Is the path to new server not right ? or we need to do more changes to other files ??

    Thannks
    Eric

  2. #2
    Join Date
    Jan 2006
    Posts
    115
    Plugin Contributions
    0

    Default Re: correct path to new server

    Is there anyone try OneWebHosting for hosting ?
    Is the Plesk control not allow a temporary domain name for testing before dns trnasfer?
    We are stucked, please help.

    Thanks
    Eric

  3. #3
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: correct path to new server

    Is the site working or both site and admin are not working?
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  4. #4
    Join Date
    Jan 2006
    Posts
    115
    Plugin Contributions
    0

    Default Re: correct path to new server

    Quote Originally Posted by superprg View Post
    Is the site working or both site and admin are not working?
    Hi,
    The live site works.
    On the new hosting site(testing site), the shop works no problem,
    but admin will actually go to the live site, we don't even have a chance to login to the testing site.

    Thanks
    Eric

  5. #5
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: correct path to new server

    Did you make changes to admin/includes/configure.php
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  6. #6
    Join Date
    Jan 2006
    Posts
    115
    Plugin Contributions
    0

    Default Re: correct path to new server

    Quote Originally Posted by superprg View Post
    Did you make changes to admin/includes/configure.php
    Yes, I did. As i mentioned on the first post.
    I made changes on both configure.php in includes and admin/includes.
    The shop works no problem, but admin page will go to the live site.
    (DNS not transfer yet)

    Thanks
    Eric

  7. #7
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: correct path to new server

    Quote Originally Posted by ericpeng View Post

    But we are not able to access admin page by
    https://new_hosting_company.com:8443...main.com/admin
    we did made changes to admin/includes/configure.php to
    define('HTTP_SERVER', 'https://new_hosting_company.com:8443/sitepreview/http/our_domain.com');
    define('HTTPS_SERVER', 'https://new_hosting_company.com:8443/sitepreview/http/our_domain.com');
    define('HTTP_CATALOG_SERVER', 'https://new_hosting_company.com:8443/sitepreview/http/our_domain.com');
    define('HTTPS_CATALOG_SERVER', 'https://new_hosting_company.com:8443/sitepreview/http/our_domain.com');

    But it dosn't work, we'll lead to our live website. Is the path to new server not right ? or we need to do more changes to other files ??
    Eric
    Well, I cant see that you have added the correct path in the configure.php of admin
    You should have the admin appended to the path? Like this

    define('HTTP_SERVER', 'https://new_hosting_company.com:8443/sitepreview/http/our_domain.com/admin');
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  8. #8
    Join Date
    Jan 2006
    Posts
    115
    Plugin Contributions
    0

    Default Re: correct path to new server

    Quote Originally Posted by superprg View Post
    Well, I cant see that you have added the correct path in the configure.php of admin
    You should have the admin appended to the path? Like this

    define('HTTP_SERVER', 'https://new_hosting_company.com:8443/sitepreview/http/our_domain.com/admin');
    Hi,

    Thank you for the reply.
    I think the HTTP_SERVER is to point out the sever, it shouldn't have the "admin" on the tail.
    Anyway I tried it doesn't work.

    The hosting company is OneWebHosting, they use Plesk on there server.
    I don't know if it is Plesk's problem. They can't give me a positive answer.

    Eric

  9. #9
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: correct path to new server

    Sorry for the confusion
    What I meant was this
    define('DIR_WS_ADMIN', '/zen/admin/');
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

  10. #10
    Join Date
    Jan 2006
    Posts
    115
    Plugin Contributions
    0

    Default Re: correct path to new server

    Quote Originally Posted by superprg View Post
    Sorry for the confusion
    What I meant was this
    define('DIR_WS_ADMIN', '/zen/admin/');
    I just tried, nothing changed.
    Is it exactly '/zen/damin/' ?

    Thanks
    Eric

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Image path not correct
    By stmonk in forum General Questions
    Replies: 5
    Last Post: 23 Jan 2011, 11:54 PM
  2. Are Product Attributes the correct path?
    By smcelligott in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 24 Feb 2010, 01:20 AM
  3. How do I reach admin path via server virtual path?
    By lbeachmike in forum General Questions
    Replies: 6
    Last Post: 22 Jun 2009, 09:16 PM
  4. Forum path link is not correct !
    By alhakeem2001 in forum Basic Configuration
    Replies: 2
    Last Post: 7 Jan 2008, 03:11 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