Not sure if it is a bug, but I cannot find this specific problem in the forums (I tried several searches but none came up with this problem).
Here it is: I am running a Serendipity 0.81 blog, with a customised MT3 template. The URL to reach my blog is http://www.flatsunset.nl and in the configuration-paths section is the following:
Full path: /srv/www/htdocs/weblog/
Upload path: uploads/
Relative path: /
I created a virtual host for this weblog with /srv/www/htdocs/weblog as DocumentRoot (in Apache).
For some unknown reason when I open a blog-entry with pictures it is shown correctly in Opera (my preferred browser) and Firefox. In MSIE6 it shows no picture but the red-cross symbol. When I check the properties it tells me it tries to load a picture from: http://www.flatsunset.nl/../uploads/pic ... icture.jpg
Iaw, with IE there is a '..' entered between the URL and the uploads path. I cannot figure out why this is... Is it a bug, or should I tell people to get rid of MSIE a.s.a.p. (I really like to do that, but some people just won't!)
If it is not a bug, my apologies for posting in the wrong place!
No Pictures in MSIE6???
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: No Pictures in MSIE6???
Hi!
Can you give an example URL for an entry with a picture? At first sight I couldn't find any?
Basically, that "../" should not cause any problems...
Best regards,
Garvin
Can you give an example URL for an entry with a picture? At first sight I couldn't find any?
Basically, that "../" should not cause any problems...
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
example URL
Hi Garvin,
Thanks for the swift reply!
Here is an URL that should give you a picture: http://www.flatsunset.nl/index.php?/arc ... l#extended. The text is in dutch, but that doesn't matter for pictures
I am a Unix Administrator myself, but I do not have much (almost none) PHP knowledge
Regarding the '..' I guess it shouldn't be a problem because it cannot go any further back than the documentroot (I am not completely sure how Apache handles this request)?
Interesting thing (I just tried): When I type in the correct URL (http://www.flatsunset.nl/uploads/pictures/geengier.jpg) it works fine for MSIE and Opera. When I type in the URL that MSIE shows in the picture properties (http://www.flatsunset.nl/../uploads/pic ... engier.jpg) I still get the picture in Opera, but MSIE gives me the following error:
Bad request!
Your browser (or proxy) sent a request that this server could not understand.
If you think this is a server error, please contact the webmaster.
Error 400
www.flatsunset.nl
Sun May 14 19:19:14 2006
Apache/2.0.53 (Linux/SUSE)
That sounds almost like I need to configure something special for MSIE in the Apache-config.
Any ideas?
Thanks for the swift reply!
Here is an URL that should give you a picture: http://www.flatsunset.nl/index.php?/arc ... l#extended. The text is in dutch, but that doesn't matter for pictures
I am a Unix Administrator myself, but I do not have much (almost none) PHP knowledge
Interesting thing (I just tried): When I type in the correct URL (http://www.flatsunset.nl/uploads/pictures/geengier.jpg) it works fine for MSIE and Opera. When I type in the URL that MSIE shows in the picture properties (http://www.flatsunset.nl/../uploads/pic ... engier.jpg) I still get the picture in Opera, but MSIE gives me the following error:
Bad request!
Your browser (or proxy) sent a request that this server could not understand.
If you think this is a server error, please contact the webmaster.
Error 400
www.flatsunset.nl
Sun May 14 19:19:14 2006
Apache/2.0.53 (Linux/SUSE)
That sounds almost like I need to configure something special for MSIE in the Apache-config.
Any ideas?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: example URL
Hi!
Can you tell me howyou configured your path settings in serendipity?
Basically, your upload HTTP path should only contain "/uploads" and not "../uploads". Note though that if you change this directive, it only appliesto new images being added; images you already added to postings will NOT get their paths adjusted!
Bestregards,
Garvin
Can you tell me howyou configured your path settings in serendipity?
Basically, your upload HTTP path should only contain "/uploads" and not "../uploads". Note though that if you change this directive, it only appliesto new images being added; images you already added to postings will NOT get their paths adjusted!
Bestregards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
damn, probably my fault!
Garvin,
(this feels almost like chatting
). I get the awkward feeling that it is my fault, although I cannot remember how...
At this moment the settings are as follows:
Full path: /srv/www/htdocs/weblog/ (that is correct)
Upload path: uploads/ (sounds fine to me)
Relative path: / (tried different settings here)
Rel template path: templates/ (this works: my css is shown)
Rel upload path: uploads/ (a bit confusing, but I think it's ok)
Further information: I recently upgraded to 1.0 beta3 and the images are in a subfolder of the uploads directory, called 'pictures'.
So I guess I f*cked up the Relative path setting, but I cannot remember changing it (the motto is: fon't fix it if it ain't broke, right?)
(this feels almost like chatting
At this moment the settings are as follows:
Full path: /srv/www/htdocs/weblog/ (that is correct)
Upload path: uploads/ (sounds fine to me)
Relative path: / (tried different settings here)
Rel template path: templates/ (this works: my css is shown)
Rel upload path: uploads/ (a bit confusing, but I think it's ok)
Further information: I recently upgraded to 1.0 beta3 and the images are in a subfolder of the uploads directory, called 'pictures'.
So I guess I f*cked up the Relative path setting, but I cannot remember changing it (the motto is: fon't fix it if it ain't broke, right?)
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: damn, probably my fault!
Hi!
Hm, your path settings look sane to me! So if you now insert pictures, they still get prefixed with that "../" uploads directory? Because that shouldn't happen.
Now I think it could only be related to the WYSIWYG editor; do you have that enabled?
Best regards,
Garvin
Hm, your path settings look sane to me! So if you now insert pictures, they still get prefixed with that "../" uploads directory? Because that shouldn't happen.
Now I think it could only be related to the WYSIWYG editor; do you have that enabled?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Garvin,
It works indeed! Problem seems to be my unawareness of the fact that the pathsetting is statically linked to the picture
Two more questions:
1: can you move this topic to the right forum ie. 'User Errors'
2: which table holds this setting, I thought it should be the images-table, but that seems not te be the case (most of the entries there show 'path' as 'pictures/', including the one(s) not shown in MSIE). I like to correct all wrong entries...
Thanks for helping me out on this one!
It works indeed! Problem seems to be my unawareness of the fact that the pathsetting is statically linked to the picture
Two more questions:
1: can you move this topic to the right forum ie. 'User Errors'
2: which table holds this setting, I thought it should be the images-table, but that seems not te be the case (most of the entries there show 'path' as 'pictures/', including the one(s) not shown in MSIE). I like to correct all wrong entries...
Thanks for helping me out on this one!
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi Luys!
No need to move this topic.
)
The path to the images is entered within the HTML code of the entry itself. So serendipity_entries will hold that in the "body" and "extended" columns!
HTH,
Garvin
No need to move this topic.
The path to the images is entered within the HTML code of the entry itself. So serendipity_entries will hold that in the "body" and "extended" columns!
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Garvin's the Greatest!
Garvin,
Thanks! I found it indeed in the body...
All my problems are solved
Thanks! I found it indeed in the body...
All my problems are solved