Page 1 of 1

Images aren't showing up [SOLVED]

PostPosted: 19. December 2010 20:43
by cheese_whiz0
My pages worked on xampp in windows so files are fine. Everything shows up on my linux installation except for images. However, the xampp test page comes out fine. The images show up as the alt text. Right clicking and viewing image info gets the right image path but viewing the image directly gives me 404. My xampp folder has 777 permissions. EnableMMAP and EnableSendfile are off and uncommented by default in my httpd.comf file.

errorlog excerpt:
[Sun Dec 19 11:29:42 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/index.php
[Sun Dec 19 11:29:42 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/index.php
[Sun Dec 19 11:29:42 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/index.php
[Sun Dec 19 11:29:42 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/index.php
[Sun Dec 19 11:29:42 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/default.css
[Sun Dec 19 11:29:48 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/index.php
[Sun Dec 19 11:33:27 2010] [error] [client ::1] File does not exist: /opt/lampp/htdocs/sexysexysex/images, referer: http://localhost/sexysexysex/index.php

The filepath is not complete for some reason. Instead of /opt/lampp/htdocs/sexysexysex/images/picture.jpg it cuts off. When I deleted "/" in my php file the error log shows /opt/lampp/htdocs/sexysexysex/imagespicture.jpg. So it's not seeing the subdirectory. However, my php includes can see and use the template files stored in the template subdirectory.

.

.

.

:|

Re: Images aren't showing up

PostPosted: 19. December 2010 23:33
by Altrea
which owner and permissions does the images folder have?

Re: Images aren't showing up

PostPosted: 20. December 2010 17:50
by cheese_whiz0
ownership is under my acc name in the users group
everyone can view and modify content

Re: Images aren't showing up [SOLVED]

PostPosted: 21. December 2010 08:21
by cheese_whiz0
Stupid problem is stupid. Apache is case sensitive on my linux box. My image folder was named 'Image'. Renamed to 'image'. Solved. Was not case sensitive on windows.