Page 1 of 1

Pictures won't show

PostPosted: 21. December 2010 20:06
by Rivkah
Alright, well none of my pictures are showing on my two .php pages I made (Joomla in the main htdocs directory and PHPBB under /forums/ works fine). Even when going DIRECTLY to those images by XXX.com/XXXX/images/XXX.png they still do not work, any suggestions?

Re: Pictures won't show

PostPosted: 22. December 2010 16:34
by Altrea
Do you use VHosts?

Please take a look into your xampp\apache\logs\error.log file for the full error message.
The path where apache searches for your image is logged there.

Re: Pictures won't show

PostPosted: 23. December 2010 01:13
by Rivkah
Code: Select all
[Wed Dec 22 18:58:38 2010] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/images/favicon.ico
[Wed Dec 22 19:00:06 2010] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/images/favicon.ico
[Wed Dec 22 19:00:43 2010] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/favicon.ico
[Wed Dec 22 19:01:22 2010] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/favicon.ico
[Wed Dec 22 19:01:32 2010] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/favicon.ico
[Wed Dec 22 19:01:36 2010] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/favicon.ico
[Wed Dec 22 19:01:44 2010] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/favicon.ico
[Wed Dec 22 19:02:08 2010] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/favicon.ico
[Wed Dec 22 19:02:12 2010] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/favicon.ico
[Wed Dec 22 19:04:46 2010] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/favicon.ico
[Wed Dec 22 19:05:24 2010] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/test/alle.png, referer: http://127.0.0.1/test/submit.php

I from links like 127.0.0.1/test/alle.png..but they are in those places...

Re: Pictures won't show

PostPosted: 23. December 2010 01:17
by Altrea
I don't see any of the "images/XXX.png" images in your error.log exerpt.
This entrys will be much more interesting for your problem.

Re: Pictures won't show

PostPosted: 23. December 2010 01:28
by Rivkah
Oh, I had copied up the images out of the /test/images/xxx.png up to the /test/ folder and changed the code, either way has the same results tho.
EDIT: figured I would add this in..my image source code is:
Code: Select all
<img src=\"alle.png\" title=\"ERROR\" alt=\"ERROR\" />

also have tried:
Code: Select all
<img src=\"\test\alle.png\" title=\"ERROR\" alt=\"ERROR\" />

Code: Select all
<img src=\"test\alle.png\" title=\"ERROR\" alt=\"ERROR\" />

Code: Select all
<img src=\"\alle.png\" title=\"ERROR\" alt=\"ERROR\" />