Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support
Author Message
zhanna
New Member
New Member



Joined: Jul 19, 2007
Posts: 6

PostPosted: Mon Feb 11, 2008 8:20 pm Reply with quote

Hello,

A co-worker just informed me that the images in my KISGB aren't displaying in IE7. They are fine in Firefox and IE6. I didn't really find anything relevant when searching the forum. Can someone help?

Thanks!

Zhanna
 
View user's profile Send private message
zhanna







PostPosted: Tue Feb 12, 2008 5:31 pm Reply with quote

Update: I have gotten most of the images to display by putting the full path in $path_to_images in user.prefs.php. But edit_msg.gif still will not display in IE7, even though the file is in the same folder as the other image files! Is there something else I need to change in another file? Should I also change the $path_to_images in config.php, against all warnings?

Thanks,
Zhanna
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Feb 12, 2008 6:58 pm Reply with quote

This looks to be a local setup issue of some kind and I can't imagine what it would be to make it relevant to IE specifically. That logic hasn't been changed for many years. If you are using the setting in user.prefs.php then it overrides config.php so that wouldn't matter. The $path_to_images setting is relative to your installation path and should never need to be fully qualified. You might post your url so that we can see the behavior.
 
View user's profile Send private message
zhanna







PostPosted: Tue Feb 12, 2008 7:07 pm Reply with quote

Yes, it's one of the strangest things I've seen! Here it is after making the change to user.prefs.php. Most of the images show up, but not edit_msg.gif:

http://planetzhanna.com/kisgb/gb.php

I see that it's looking for that image file not in the KISGB directory, but in my main folder. Not sure why.

Thanks,
Zhanna
 
Raven







PostPosted: Tue Feb 12, 2008 7:16 pm Reply with quote

That is totally bizarre! Is this setup inside a table? If so then something in the special table setup may have been missed and/or mistyped.
 
zhanna







PostPosted: Tue Feb 12, 2008 7:24 pm Reply with quote

The page layout isn't a table, it's CSS based (divs and such). This is really weird!!! I can copy the image to the folder where the script is looking for it, of course, which will at least make the page look normal for IE7 users. But it doesn't really solve the problem.

Zhanna
 
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Tue Feb 12, 2008 7:44 pm Reply with quote

This rings a bell. I believe I ran into a problem like this when I migrated some CSS code that was being output in the document header and changed it so it was being stored in an external .css file. I had to adjust the path names in the .css files for the images. This is because when the CSS was in the header, the paths are relative to the document root. When they are in the CSS file, they are relative to the location of the CSS file.

However this may not be your problem, because I can't imagine why this would only affect IE7.

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
Raven







PostPosted: Tue Feb 12, 2008 11:59 pm Reply with quote

I know that your page markup produces over 350 errors at http://validator.w3.org/ and several CSS errors at http://jigsaw.w3.org/css-validator/. That may be contributing. If it were me I would work on cleaning up the markup and then see what works and what doesn't - just a suggestion.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©