Broke Image and Plugin When Local Client Access XAMPP

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Broke Image and Plugin When Local Client Access XAMPP

Postby cybernak168 » 18. October 2021 02:13

Dear Community of XAMPP,

I have move XAMPP 7.3... include Wordpress directories and database to my local server after that I configuration to let my client PC connect to XAMPP using Local Network (IP Adress 192.168.x.x) and successfully connected. Unfortunately, My client has the problem they can't see the image like logo image that I configuration in WOffice Theme and when I log in to admin user in client PC most of my plugin is broke.

What is that problem?
Does it is incorrect to give permission to my client's pc?

Note: Firewall Turnoff, Browser using chrome, my network no internet connection (100% intranet)
cybernak168
 
Posts: 3
Joined: 18. October 2021 01:55
XAMPP version: 7.3.4
Operating System: Windows Server 2016

Re: Broke Image and Plugin When Local Client Access XAMPP

Postby Altrea » 18. October 2021 06:43

Hi,

the problem is most common that your wordpress is installed for a specific domain your client pc cannot reach (like localhost).
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Broke Image and Plugin When Local Client Access XAMPP

Postby cybernak168 » 18. October 2021 09:21

Thank you Altrea, Should I configuration on vhost XAMPP ?
cybernak168
 
Posts: 3
Joined: 18. October 2021 01:55
XAMPP version: 7.3.4
Operating System: Windows Server 2016

Re: Broke Image and Plugin When Local Client Access XAMPP

Postby Altrea » 18. October 2021 12:55

This is one option. You could define a vhost for the "fake" domain and resolve the domain by your client hosts file or a DNS server.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Broke Image and Plugin When Local Client Access XAMPP

Postby cybernak168 » 19. October 2021 11:30

2 days of trying :
I. Move the xampp folder I already created with my website to my server:
1-I change the xampp port 8080 to default port 80 (Service Setting and httpd.conf).
2-I tried to change siteurl and home from https://localhost:8080/acu2 (the old port from my computer, I use port 8080) to https://localhost/acu2 (the new port for my server I use default local port 80).
3-I change wp_option (siteurl,home) from https://localhost:8080/acu2 to https://localhost/acu2
4-After I got the same problem as my client PC does (Broke images and some plugins).

I found out some of URL is incorrect in the database thus I use the plugin (velvet blues update URLS and Better Search Replace) to solve the problem. Result "Failed" not working, the website still the same not show some images and plugin error.
.
Note* I did not yet connected the share website to my client's PC I want to make sure the problem is URL or Port before sharing the website to my client's PC.
cybernak168
 
Posts: 3
Joined: 18. October 2021 01:55
XAMPP version: 7.3.4
Operating System: Windows Server 2016


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 83 guests