Images, Stylesheet not loading

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

Images, Stylesheet not loading

Postby lightsaber1011 » 12. February 2017 05:17

I am trying to setup XAMPP as a production server. Originally, I had an insecure system working perfectly. Now I am recreating the server and the WordPress site on a more secure server. On the localhost server, everything looks fine.

However, remotely, the stylesheet and images are not loading (see http://bit.ly/2kFYRPJ ).

I noticed the suggestion in the FAQ (https://www.apachefriends.org/faq_windows.html) for altering \xampp\apache\conf\httpd.conf to change EnableSendfile and EnableMMAP to "off," but there was no change.

There shouldn't be anything limiting bandwidth on the server. It worked before in a basic install, so I do not think there is a problem with my ISP.

Any suggestions? Please help. This has been a two-week long struggle, knocking down one problem after another, but this one has me puzzled.
lightsaber1011
 
Posts: 3
Joined: 12. February 2017 05:06
XAMPP version: 5.6.30
Operating System: windows 7

Re: Images, Stylesheet not loading

Postby Nobbie » 12. February 2017 22:02

lightsaber1011 wrote:Any suggestions?


Any informations? This extremely poor description lacks everything.

Did you install WordPress on the remote server correctly with the WordPress setup? Which values did you apply when it comes to the question "Servername" etc.?
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Images, Stylesheet not loading

Postby Altrea » 12. February 2017 23:24

lightsaber1011 wrote:I am trying to setup XAMPP as a production server.

First step in the wrong direction:
=> [INFO] How to not fail getting help here
Scope of support

Evaluate if your topic is in scope of support of our board. We don't want to provide...
  • ...
  • ...support for third party applications like WordPress, Joomla!, phpBB, Skype, etc.
    There are several hundred of thounsand of these applications out there, all of them with their own requirements, characteristics and issues.
    The developers of these applications are knowing their own software best and commonly provide their own support channels where you can get proper support relating to this specific product.
  • ...support for live, production or public accessible environments.
    XAMPP is not configurated for such environments (default passwords, many activated and probably unnecessary modules, not tweaked for performance, scalability, stability or security). This board does have several entrys about hacked XAMPP installations because of using unprotected XAMPP installations in not supported environments. XAMPP don't want to fit every possible use case and there are other (also free) alternatives for such environments.
  • ...enterprise or commercial oriented support.
    You and/or your company earns money for what you are doing. If you don't have the knowledge to solve XAMPP problems on your own, spend a part of your money to hire an expert or pay an it freelancer to solve such problems. We all need jobs and money to live and in a company or commercial oriented environments there are much more things to consider like legal requirements or network security. Every action can contain a financial risk so even answeres on simple questions have to be analysed if they fit all the rules the environment requires. This cannot be achieved in two sentences of a forum post.




lightsaber1011 wrote:Originally, I had an insecure system working perfectly. Now I am recreating the server and the WordPress site on a more secure server.

What makes you think that XAMPP is secure? Or how do you plan to secure the XAMPP components yourself?
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Images, Stylesheet not loading

Postby lightsaber1011 » 13. February 2017 01:30

Thanks for the responses.

I believe I have narrowed down the problem to the default siteurl and home settings, which were http://localhost, so when viewed remotely, the URL for the images was routed via "http://localhost/wp-content/etc...

What should those settings be?

(When I try to access external domain name on localhost, the request times out.)
lightsaber1011
 
Posts: 3
Joined: 12. February 2017 05:06
XAMPP version: 5.6.30
Operating System: windows 7

Re: Images, Stylesheet not loading

Postby Nobbie » 13. February 2017 20:45

lightsaber1011 wrote:What should those settings be?


You mean WordPress settings!? In a WordPress forum they should know it. Unfortunately, we do not have a WordPress forum here.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Images, Stylesheet not loading

Postby lightsaber1011 » 14. February 2017 20:15

Thanks, switching to another platform.
lightsaber1011
 
Posts: 3
Joined: 12. February 2017 05:06
XAMPP version: 5.6.30
Operating System: windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 92 guests