the real path is domain/themes/kosmos/images/folder.gif
but in my site is domain/category/themes/kosmos/images/folder.gif
pls visit with IE http://top-best.ro/internet/
the real path is domain/themes/kosmos/images/folder.gif
but in my site is domain/category/themes/kosmos/images/folder.gif
pls visit with IE http://top-best.ro/internet/
Check your application.php for incorrect paths
the paths are
is okCode:$site_url = "http://top-best.ro"; $base_path = "/home/top/public_html/"; $theme_path = $base_path . "themes/"; $admin_template_path = $base_path . "admin_tpl/"; $plugin_path = $base_path . "plugin/";
the rest of the images of your theme loaded fine and there in the <%$tpl_base%>/images folder, so all i can think of is either folder.gif is corrupt (or does not exist) or theres a problem with your category.class.php file that lives in your lib directory.
I do not think the folder.gif file is corrupt as it works
http://top-best.ro/themes/kosmos/images/folder.gif
.... but try adding;
to your hearder.html file in between <head> and </head><base href="<%$site_url%>/" />
Last edited by Mitchell; 08-18-2008 at 06:53 PM.
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Australian Websites & Directories
http://www.weddingsonly.com.au
http://www.directoryonly.com.au
http://www.weddinghost.com.au
http://www.iconfilmproductions.com
http://www.iconimagecentre.com.au
http://www.australiancollection.com.au
I had this same exact problem on my Web4Bids.com site. Inspireme did me a favor and fixed it. When I asked him what needed to be done, I got this reply:
I had to hard code the link to the folder image in category.class line 460 must be a bug.
FSGDAG | IndexU Hosting | Owner
Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
Follow Us On Twitter | FaceBook Profile | YouTube Videos
this waz the solution, thanx MitchellPHP Code:<base href="<%$site_url%>/" />
Last edited by Mitchell; 08-20-2008 at 04:17 AM.
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Australian Websites & Directories
http://www.weddingsonly.com.au
http://www.directoryonly.com.au
http://www.weddinghost.com.au
http://www.iconfilmproductions.com
http://www.iconimagecentre.com.au
http://www.australiancollection.com.au
Okay,
Looks like the bug is fixed, here is the solution, you can remove the above code from the header and instead change the following file!
/lib/category.class.php
Around line 240 change the follwing;
to// next looping
$cat = $parent_id;
}
// next looping
$cat = $parent_id;
}
Around line 457 change the following;
to$cat_image = $this->default_image;
else
$cat_image = $this->image_path . $cat_image;
$image = "<img src=\"$cat_image\" border=\"0\" alt=\"\" />";
if ($this->default_image == "" && $cat_image == "")
$cat_image = $this->default_image;
else
$cat_image = $site_url.'/'.$this->image_path . $cat_image;
$image = "<img src=\"$cat_image\" border=\"0\" alt=\"\" />";
if ($this->default_image == "" && $cat_image == "")
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Australian Websites & Directories
http://www.weddingsonly.com.au
http://www.directoryonly.com.au
http://www.weddinghost.com.au
http://www.iconfilmproductions.com
http://www.iconimagecentre.com.au
http://www.australiancollection.com.au
It's not a bug that I'm aware of. If I remember correctly, there was a post about this same issue a few months back and the issue was determined to be caused by the script not being able to "read" the domain name. Adding base href fixes the issue quickly.
Mind you changing the /lib/category.class.php code will fix the Category Images issue but not the other images issue such as Google PR, Member Reviews or Visitor Ratings images, they are still invisible.
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Australian Websites & Directories
http://www.weddingsonly.com.au
http://www.directoryonly.com.au
http://www.weddinghost.com.au
http://www.iconfilmproductions.com
http://www.iconimagecentre.com.au
http://www.australiancollection.com.au
This might be the thread you were talking about
http://www.nicecoder.com/community/s...1&goto=newpost
I had a simmalar issues with the custom field as an image and i had to put the slash on also
If it's custom image, it's a real bug
We have fixed today.
code fix is here
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Australian Websites & Directories
http://www.weddingsonly.com.au
http://www.directoryonly.com.au
http://www.weddinghost.com.au
http://www.iconfilmproductions.com
http://www.iconimagecentre.com.au
http://www.australiancollection.com.au