Problem load image

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

Problem load image

Postby alex_10 » 08. July 2014 12:21

Hi to everyone,
I have this problem: i create a new site only with html and css, no php, and after i follow the advice to change the line
Code: Select all
#EnableMMAP On
#EnableSendfile On

the imge of all my website still can't charge. My OS is Windows 7 with XAMPP 1.8.3-4. Thanks a lot for help.
alex_10
 
Posts: 6
Joined: 08. July 2014 12:03
XAMPP Version: 5.5.19
Operating System: Windows 7

Re: Problem load image

Postby Nobbie » 08. July 2014 12:55

alex_10 wrote:the imge of all my website still can't charge.



This took me a while - you mean "cant load". "Charge" is a different context and is used for batteries and akkus, you "charge" a smartphone for example, you can also "charge" your debitcard, but you "load" a file. You cannot "charge" a file.

Anyway, your description is not sufficient. Please provide more information. What do you enter in the browser etc.?
Nobbie
 
Posts: 6917
Joined: 09. March 2008 13:04

Re: Problem load image

Postby alex_10 » 09. July 2014 09:57

There's synonyms. However I write localhost in the link bar of Firefox and on the site that i have charged the image don't load.
alex_10
 
Posts: 6
Joined: 08. July 2014 12:03
XAMPP Version: 5.5.19
Operating System: Windows 7

Re: Problem load image

Postby Nobbie » 09. July 2014 12:13

alex_10 wrote:There's synonyms.


No! "Charge" ist NOT a synonym for "load"!


alex_10 wrote:However I write localhost in the link bar of Firefox and on the site that i have charged the image don't load.


If you keep on using "charge" in the wrong context, i wont help you any further. You cannot "charge a site", this is simply totally wrong.

Anyway, this is still not enough information. Please tell us precisely

a) how the URL looks like, you enter in Firefox?

b) how the link to image looks like (i.e. show us the <img src="...."> line of your HTML code

c) where the images are stored on your harddisk / server.

Also look into the access log and as well the error log of your server and watch out for more information. There should be some very usefull hints, what is going wrong.

And dont forget: if you keep on using "charge" instead of "load", i wont help you any further.
Nobbie
 
Posts: 6917
Joined: 09. March 2008 13:04

Re: Problem load image

Postby gsmith » 14. July 2014 05:50

Nobbie wrote:No! "Charge" ist NOT a synonym for "load"!

It isn't? http://thesaurus.com/browse/load
gsmith
 
Posts: 135
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP Version: 5.6.3
Operating System: Win XP to 8.1/VS 6,9-12

Re: Problem load image

Postby gsmith » 14. July 2014 06:19

alex_10 wrote:
Code: Select all
#EnableMMAP On
#EnableSendfile On

Who's advice are you following and what's the purpose for the change?

Leaving a # in front of these directives will have no effect because the # comments them out and Apache ignores them, therefore Apache will use it's internal defaults which are EnableSendfile Off (a change from 2.2.x) and EnableMMAP On.

One should read the documents before blindly following advice due to the fact there can be caveats, for example EnableMMAP.
The Manual wrote:This memory-mapping sometimes yields a performance improvement. But in some environments, it is better to disable the memory-mapping to prevent operational problems:

On some multiprocessor systems, memory-mapping can reduce the performance of the httpd.
Deleting or truncating a file while httpd has it memory-mapped can cause httpd to crash with a segmentation fault.

For server configurations that are vulnerable to these problems, you should disable memory-mapping of delivered files by specifying:

As far as EnableSendfile, I find that I get better performance with it off, however if I have files for download larger than 65MB on one server, 84MB on another, I have to turn EnableSendfile On for just those directories.
gsmith
 
Posts: 135
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP Version: 5.6.3
Operating System: Win XP to 8.1/VS 6,9-12

Re: Problem load image

Postby JJ_Tagy » 14. July 2014 11:36

gsmith wrote:
Nobbie wrote:No! "Charge" ist NOT a synonym for "load"!

It isn't? http://thesaurus.com/browse/load

Not in this context. That load is freight or cargo. Nice try, though.
JJ_Tagy
 
Posts: 570
Joined: 30. January 2012 13:44
XAMPP Version: 1.8.3
Operating System: Windows 7 x64

Re: Problem load image

Postby gsmith » 14. July 2014 19:18

Lessons in proper English are off topic to this thread and this entire board. However, a case could be made with some of the more avant-garde definitions of "charge," namely "the quantity of anything (image/data) that a receptacle (the place the image should show on the page) is intended to hold."
gsmith
 
Posts: 135
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP Version: 5.6.3
Operating System: Win XP to 8.1/VS 6,9-12

Re: Problem load image

Postby Nobbie » 14. July 2014 20:00

gsmith wrote:Lessons in proper English are off topic to this thread and this entire board.


So simply give up. "Charge a file" is simply wrong and it is not getting right in any sense or context. What is your problem about that?

Anyway, the shown Apache configuration is neither the reason nor the solution for the problem, as all of these options of course do not handle css files differently to html or php files. The reason for not showing css and images is definately somewhere else, but without further information we cannot solve that problem.
Nobbie
 
Posts: 6917
Joined: 09. March 2008 13:04

Re: Problem load image

Postby alex_10 » 10. August 2014 15:33

gsmith wrote:Leaving a # in front of these directives will have no effect because the # comments them out and Apache ignores them, therefore Apache will use it's internal defaults which are EnableSendfile Off (a change from 2.2.x) and EnableMMAP On.

So what is the problem now?

gsmith wrote:a) how the URL looks like, you enter in Firefox?
b) how the link to image looks like (i.e. show us the <img src="...."> line of your HTML code
c) where the images are stored on your harddisk / server.


a) URL is "localhost"
b) the images are total white and when i open they io other table of Firefox the result is a point of 1px for 1px. This is the code:
Code: Select all
<img class="home" src="../immagini/menuimage.png" alt="Home" title="Home">

c) the images are in the same folder of the website on the hard-disk
alex_10
 
Posts: 6
Joined: 08. July 2014 12:03
XAMPP Version: 5.5.19
Operating System: Windows 7

Re: Problem load image

Postby Altrea » 10. August 2014 18:28

a) URL is "localhost"

You should learn What an URL is
http://en.m.wikipedia.org/wiki/Uniform_resource_locator
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: 6745
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64

Re: Problem load image

Postby alex_10 » 12. August 2014 09:50

Altrea wrote:
a) URL is "localhost"

You should learn What an URL is
http://en.m.wikipedia.org/wiki/Uniform_resource_locator

What is wrong with all of you? Let all the wise men. This is URL so?
alex_10
 
Posts: 6
Joined: 08. July 2014 12:03
XAMPP Version: 5.5.19
Operating System: Windows 7

Re: Problem load image

Postby Altrea » 12. August 2014 10:49

alex_10 wrote:What is wrong with all of you?

What is wrong with you is the better question.

You want to get help from us.
Requirement for providing proper help is getting all needed information.
You don't gave us the needed information on your own, so we requested which specific information we need.
You still don't gave us the needed information because lack of knowledge what an URL is. "localhost" is not an URL, it is a hostname.
I gave you information where you can find how an URL looks like.
What is wrong with that?

It is a huge difference if you used the URL http://localhost/ or https://localhost/ or http://localhost:8080/ or http://localhost/xyz/ or whatever else is possible fitting your information of URL.
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: 6745
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64

Re: Problem load image

Postby Nobbie » 12. August 2014 10:58

alex_10 wrote:What is wrong with all of you?


Nothing - we simply try to understand your problem, but this requires a precise description.

alex_10 wrote:This is URL so?


No, it is not. "localhost" is only a Servername and herewith only a single part of an URL. An URL is a fully qualified descrition of a ressource in a network, It starts with a protocoll (usuallay http, or ftp, or), followed by seperator colon, then followed by a network/server name (like "localhost" for example), separated by two slashes and optionally prefixed by a username and password (for ftp for example), then followed by an optional port (separeted by colon), then followed by a full qualified ressource (looks like a path usually), which qualifies the requested document.

Example:

Code: Select all
ftp://myuser:mypassword@ftp.anydomain.com/folder/subfolder/document.text


or

Code: Select all
http://localhost:8080/joomla/index.php


and so.


THAT is an URL - and "localhost" is only a part of that URL. You really should read the documentation provided to you, instead of writing picky comments. Dont forget: YOU asked for help, not we!
Nobbie
 
Posts: 6917
Joined: 09. March 2008 13:04

Re: Problem load image

Postby alex_10 » 12. August 2014 11:01

Altrea wrote:It is a huge difference if you used the URL http://localhost/ or https://localhost/ or http://localhost:8080/ or http://localhost/xyz/ or whatever else is possible fitting your information of URL.

The url is http://localhost/. I don't answer anymore to other OT.
P.S.: there is a hole for the spyware on this software, after one day a son of, control my pc but now is resolved.
alex_10
 
Posts: 6
Joined: 08. July 2014 12:03
XAMPP Version: 5.5.19
Operating System: Windows 7

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 52 guests