Print Page | Close Window

Images not appearing after installation

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21424
Printed Date: 08 April 2026 at 11:31pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Images not appearing after installation
Posted By: PedroArvy
Subject: Images not appearing after installation
Date Posted: 28 September 2006 at 5:59am
I have just installed version 8.04 and http://127.0.0.1/donate/forum/default.asp - forum/default.asp  does not show any images.
 
I have looked at the source and all images have the tag:
 
src="<% = strImagePath %>stats_bar.gif"
 
And strImagePath seemed to be empty.
 
So I searched for every instance of:
 
strImagePath =
 
and found 4 instances which I changed to:
 
strImagePath = "forum_images"
 
This does not help, the path is still empty:
 
src="stats_bar.gif"
 
So my questions are:
 
1. Why dont images display correctly for an out of the box version of the software
 
2. How do you change strImagePath
 
 
I must be doing something really stupid here



Replies:
Posted By: WebWiz-Bruce
Date Posted: 28 September 2006 at 3:52pm
Images are shown correctly from 'out the box' as you say.

The path to the images is set as 'forum_images' in the database by default. If the forum isn't finding the images it sounds like you have done something to the database.

To make it simpler for skins to be implement you can set the path to the forums image folder from the skins page in the admin area. If you go to the skins page in the admin area you can reset the path to teh forums image folder.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: PedroArvy
Date Posted: 29 September 2006 at 1:43am
Everything is working now.
I think this is what happened.
I installed the product and then tried to use it.
However, since the database was not installed, strImagePath was not set so pages were displaying without images.
Then when I created the database, old cached versions of those pages were appearing.
It worked when I rebooted my machine.


Posted By: WebWiz-Bruce
Date Posted: 29 September 2006 at 4:19pm
It could also be that common database queries such as image location is cached in the web servers memory, if you run the forum before the database is created it may cache the wrong information.

Logging into the admin section and updating the forum configuration page will force the server to reload in the data into it's memory.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net