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![]()
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![]()
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: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..
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.
OHHH WAIT>>>. dont close it...
one more problem..
I checked whether I can access zencart admin from remote machine after I put server name as my Ip Address. Yes I could access from remote machine. but I CANNOT access admin from my local machine.
I typed http://localhost/sitename/store/mesadmin
now, I cannot login to admin area. The username and password are correct. I changed servername back to localhost then yes I could login to admin from local machine.
Now the situation is :-
1. servername in configure.php (both admin folder, parent folder) :- localhost
.CAN login admin panel from local machine
CANNOT login admin panel from remote machine
2. servername in configure.php (both admin folder, parent folder) ;- my local IP i.e 192.168.0.xx
CAN login admin panel from remote machine,
CANNOT login admin panel from Local machine
How to resolve this?? pls pls help...
ok UPDATE:-
I tried some hack with configure.php. I added a variable like this
and in tweaked this line intoCode:$serverip= $_SERVER['SERVER_ADDR'];
and filled same in all other necessary areas.Code:define('HTTP_SERVER', 'http://'.$serverip);
Now I CAN
1. login admin from local host
2. can login admin from remote host
one thing I notice is
the URL is now
http://127.0.0.1/sitename/store/adminfolder/
no localhost, no ip address.
but at least system is running and css is also working
thankx
if it's working for you, great - but I certainly wouldn't recommend mucking around in the configure.php too much, seems like that's just asking for trouble..
I simply access the site from the local computer using the same ip address. use http://192.168.0.xx from both the remote and the local computer. Should work fine..
All those problems will go away when you give the site a proper domain name.
.
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.