The image is uploaded (I think) but I cannot see it [message #7193] |
Mon, 11 November 2002 08:26 |
CyberGuy
Messages: 3 Registered: November 2002
Karma: 0
|
Junior Member |
|
|
Hi there,
I am having a little trouble.
I have /board/files/ chmod to 777 and this is where the attachment should be but I don't see any files in there after I upload the image. After I upload the image, I did see that it says the following:
Quote: | michelin.jpg 24.33KB Delete | Insert image into message body
|
But when I click on the link "Insert image into message body" and after I view my post, I don't see it anywhere. All I see is the broken image.
What happened?
|
|
|
|
Re: The image is uploaded (I think) but I cannot see it [message #7203 is a reply to message #7195] |
Mon, 11 November 2002 19:18 |
Olliver
Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
When u upload a file with the filemanager it will be set to 600 as default. This would be ok as long as the server owns the files however when php is running as cgi the server will never take ownership of those files. hence chmod 600 means the server has no access which will result in that broken image u can see. The workaround is to pick up the file in the filemanger and chmod it to at least 644 so the server can read it again
bye
Olliver
|
|
|
|
Re: The image is uploaded (I think) but I cannot see it [message #7215 is a reply to message #7213] |
Tue, 12 November 2002 09:32 |
Olliver
Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
ok. put it simple:
-find that image file u uploaded
-check both permissions and ownership of that file
-compare ur result with an image file u can see
-check the mode php is running (cgi, module, safe-mode...)
-now u should know what went wrong and why
=> fix it.
If anything else should fail ask Google or RTFM
bye
Olliver
|
|
|