Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Images not appearing after installation
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Images not appearing after installation

 Post Reply Post Reply
Author
PedroArvy View Drop Down
Newbie
Newbie


Joined: 03 May 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote PedroArvy Quote  Post ReplyReply Direct Link To This Post Topic: Images not appearing after installation
    Posted: 28 September 2006 at 5:59am
I have just installed version 8.04 and 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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
PedroArvy View Drop Down
Newbie
Newbie


Joined: 03 May 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote PedroArvy Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.