Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Sep 2012
    Posts
    8
    Plugin Contributions
    0

    Default Access to Admin area in a local network from another machine:- Password problem

    I have searched for this same issue on existing posts, found few, but none of showed a solution. so I am posting it here again.

    I am seriously noob to zencart, dont know much about it. I have website which is built by Concrete 5 as CMS. My website has a menu item as <STORE>. This menu item should lead to the e-commerce feature. Since Concrete 5 has no such in built feature, I installed zencart in a sub folder inside concrete 5 website folder. I configured it and every thing working fine in LOCAL HOST

    now, my boss want to check my work, he accessed my machine from another machine [we are in local network]. Suddenly, the css style sheets are missing. I checked the header file for css link tag. It seems like defined for local host.

    So I edit config file as server name from local host to my local ip. So the css came alive. Now when I tried to access admin panel from another machine, it simply gave me password error. I switched it back my server address as localhost, then I can login..


    what can I do for this?? please help

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Access to Admin area in a local network from another machine:- Password problem

    The solution is simple: give your store a real domain name, and you'll be able to access it from other computers.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2012
    Posts
    8
    Plugin Contributions
    0

    Default Re: Access to Admin area in a local network from another machine:- Password problem

    Quote Originally Posted by DrByte View Post
    The solution is simple: give your store a real domain name, and you'll be able to access it from other computers.
    thank you for the tip but could you be more detail?

    my situation is

    the zencart lies inside a c5 website directory

    so the url is like http://localhost/mywebsite/store

    the <store> folder contains all files of zencart. Now if I want to access from other machines in network, how can I rename the host name?? pls help me

    same as that, the time I migrate this from localhost to live server, [that time, website name would be different], what kind of edits I will have to do?

    thank you

  4. #4
    Join Date
    Sep 2012
    Location
    Nagpur, India
    Posts
    6
    Plugin Contributions
    1

    Default Re: Access to Admin area in a local network from another machine:- Password problem

    if u have internet connection......best way is to get your system IP (for localhost).......and call it from anywhere......so ur system now works like a server

  5. #5
    Join Date
    Oct 2007
    Posts
    143
    Plugin Contributions
    0

    Default Re: Access to Admin area in a local network from another machine:- Password problem

    So I edit config file as server name from local host to my local ip. So the css came alive. Now when I tried to access admin panel from another machine, it simply gave me password error. I switched it back my server address as localhost, then I can login..
    Not sure if maybe you were just typing the password incorrectly for the admin, but i'm able to access our local test site from another computer on our network - using the same scenario you described:

    changed configure.php files to reflect local ip (10.10.10.xx or 192.168.x.x or whatever). Then, from remote computer, navigate to http://xx.xx.xx.xx/sitefolder or xx.xx.xx.xx/sitefolder/admin - both work fine for me. In you case, I suppose it would be http://xx.xx.xx.xx/yourwebsite/store/admin.

    I've experienced the css issue you describe when using localhost instead of ip, but never had issues accessing admin (on 1.39 and 1.50). Did you change both the /includes and the /admin/includes configure.php files?

    ps - once you get this working, if your network uses dhcp instead of static ips, you'll lose access to the site if your ip changes, and need to update the configure files again. if this is a long term thing might want to give your computer a static ip to avoid that.

  6. #6
    Join Date
    Sep 2012
    Posts
    8
    Plugin Contributions
    0

    Default Re: Access to Admin area in a local network from another machine:- Password problem

    Quote Originally Posted by jc8125 View Post
    Not sure if maybe you were just typing the password incorrectly for the admin, but i'm able to access our local test site from another computer on our network - using the same scenario you described:

    changed configure.php files to reflect local ip (10.10.10.xx or 192.168.x.x or whatever). Then, from remote computer, navigate to http://xx.xx.xx.xx/sitefolder or xx.xx.xx.xx/sitefolder/admin - both work fine for me. In you case, I suppose it would be http://xx.xx.xx.xx/yourwebsite/store/admin.

    I've experienced the css issue you describe when using localhost instead of ip, but never had issues accessing admin (on 1.39 and 1.50). Did you change both the /includes and the /admin/includes configure.php files?

    ps - once you get this working, if your network uses dhcp instead of static ips, you'll lose access to the site if your ip changes, and need to update the configure files again. if this is a long term thing might want to give your computer a static ip to avoid that.

    thank you for the words. I tried it again, now its working!!!.. I can access admin from a remote machine in the local network as http://192.168.0.xx/websitename/store/zenadmin. All css files are also working. I guess this thread can be closed and marked as SOLVED.

 

 

Similar Threads

  1. v154 Cannot access install on local serveraccross local network.
    By RMPowell01 in forum Installing on a Windows Server
    Replies: 5
    Last Post: 15 Jan 2015, 06:08 PM
  2. Cannot access admin on WAMP on local machine
    By frank18 in forum Basic Configuration
    Replies: 12
    Last Post: 7 Apr 2011, 08:14 PM
  3. Replies: 1
    Last Post: 4 May 2010, 04:05 PM
  4. Cannot access zencart over local network
    By bikerlee in forum Installing on a Mac Server
    Replies: 4
    Last Post: 16 Nov 2007, 12:11 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