Jump to content

[SOLVED] Accessing local installation from mobile


Recommended Posts

I'm trying to access a test shop on my PC, so far without any luck: I get a "page not available" error.

 

I'm using XAMPP.

 

I don't think there is anything wrong with the settings of my router, firewall etc because I have several other sites within my htdocs folder that I can access from my phone without any problem. It's just Prestashop that has this problem.

 

If I try to access a page directly - such as "http://192.168.1.2/content/6-delivery/" - the address bar of my browser shows "http://localhost//?controller=404" and the "page not available" error.

 

If I try to access some other file like an image - such as "http://192.168.1.2/themes/mytheme/img/test.jpg" my mobile browser displays the image just fine.

 

I didn't have this issue with previous versions of Prestashop. Any ideas as to what is causing my mobile browser to be unable to view Prestashop pages, but able to access other file types?

 

Android 2.2.2

Dolphin Browser (Safari).

Edited by Zwirko (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 1 year later...

Excellent. Thank you very much.

 

I can now get on with developing the mobile theme.

Hello, I was having the same problem, I change the / in the ps_shop_url database, and I can access my shop from my phone, but I can not see images, the are still loading from localhost? how can I change that too? I did regenerate de .htaccess file.

  • Like 1
Link to comment
Share on other sites

thanks for information that it works now :-)

 

regards

 

thanks for information that it works now :-)

 

regards

Hello, I was having the same problem, I change the / in the ps_shop_url database, and I can access my shop from my phone, but I can not see images, the are still loading from localhost? how can I change that too? I did regenerate de .htaccess file.

  • Like 1
Link to comment
Share on other sites

Hello, I was having the same problem, I change the / in the ps_shop_url database, and I can access my shop from my phone, but I can not see images, the are still loading from localhost? how can I change that too? I did regenerate de .htaccess file.

Now , it works!

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...