Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (Ruben, Stan, SteveS, tradge, Pilgrim), 46 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/20/03
Posts: 4423
Top Posters (30 Days)
Ruben 51
DennyP 24
Gizmo 23
Dunny 17
SteveS 14
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#183151 - 04/24/07 01:20 PM Images not appearing - redirect problem?
willing Offline
old hand
Registered: 02/12/07
Posts: 701
OK here are our new forums
http://www.snowjapanforums.com/ubbthreads.php?ubb=cfrm

Having a problem with redirects though I think.
Take a look here (a page that we have been redirected to).
The images at the top are not appearing.
In the redirect files, we have just put

http://www.snowjapanforums.com

....as the URL

Can anyone help? I want those top images to appear!

Thanks


Edited by willing (04/24/07 01:20 PM)
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#183154 - 04/24/07 01:32 PM Re: Images not appearing - redirect problem? [Re: willing]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Ive been working with willing via pm
but this one has me stumpt.

I think its because the old location and the new location
are a directory apart?

Old link
http://www.snowjapanforums.com/cgi-bin/ultimatebb.cgi

New Link
http://www.snowjapanforums.com/ubbthreads.php?ubb=cfrm

The Re-direct has been set up as so..

$URL = "http://www.snowjapanforums.com";

And when ever a user goes via the re-direct the images fail.

So in this situation he has droped a level in the path?

$URL = "../";

Would that work ???
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#183155 - 04/24/07 01:34 PM Re: Images not appearing - redirect problem? [Re: Mark S]
willing Offline
old hand
Registered: 02/12/07
Posts: 701
I'll give it a go!
Top
#183156 - 04/24/07 01:36 PM Re: Images not appearing - redirect problem? [Re: willing]
willing Offline
old hand
Registered: 02/12/07
Posts: 701
Unfortunately no.
When I did the above, the pages appeared as before but no image. The URL in the browser also came out as:

http://www.snowjapanforums.com//ubbthreads.php/ubb/cfrm

\:\(
Top
#183158 - 04/24/07 01:41 PM Re: Images not appearing - redirect problem? [Re: willing]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
try

$URL = "..";
And if that fails

$URL = ".";

Stranger things have happened ;\)
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#183159 - 04/24/07 01:42 PM Re: Images not appearing - redirect problem? [Re: Mark S]
willing Offline
old hand
Registered: 02/12/07
Posts: 701
On the case.....
Top
#183161 - 04/24/07 01:45 PM Re: Images not appearing - redirect problem? [Re: willing]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
At this point in a thread Gizmo would post somthing like...

"Good"

i dont see the point really

I'm going to wait for the feedback lol....
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#183162 - 04/24/07 01:46 PM Re: Images not appearing - redirect problem? [Re: willing]
willing Offline
old hand
Registered: 02/12/07
Posts: 701
$URL = "..";
>>>> no

$URL = ".";
>>>> page not found, worse!

\:\(
Top
#183166 - 04/24/07 01:58 PM Re: Images not appearing - redirect problem? [Re: willing]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Humm

I dont know mate, hopefully gizmo will pop along soon or rick
and give you a one line fix \:\(

Special Note to Gizmo ;\)

Read from the top of this thread lol

Sorry i cant help any more willling.
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#183168 - 04/24/07 01:59 PM Re: Images not appearing - redirect problem? [Re: Mark S]
willing Offline
old hand
Registered: 02/12/07
Posts: 701
Thanks Mark, really appreciate it.
Hope someone can help soon, before all our members wake up (it's 3am here!)
Top
#183171 - 04/24/07 02:17 PM Re: Images not appearing - redirect problem? [Re: willing]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
It looks like search engine friendly URLs are the cuplrit. The redirect points to:

http://www.snowjapanforums.com/ubbthreads.php/ubb/cfrm

However, if you go to this url it works:

http://www.snowjapanforums.com/ubbthreads.php?ubb=cfrm

The reason is that all of your image src in the header are like thi <img src="image.gif"> So it's going to look in the current directory (which it thinks is /ubbthreads.php/ubb/cfrm) which obviously doesn't exist.

2 ways to fix this. Change your header include so you include the full relative url, ie <img src="/image.gif"> or <img src="/images/image.gif">.

The second is to disable search engine friendly URLs.
Top
#183173 - 04/24/07 02:22 PM Re: Images not appearing - redirect problem? [Re: Rick]
willing Offline
old hand
Registered: 02/12/07
Posts: 701
Fantastic! That works. Obvious when you say it now, but we sure couldn't come up with that. Thank you so much.

Can you take a look at the redirected URL - does the redirect thing seem to be working as it should be.....?

The new boards are great, I hope our readers give us feedback along those lines.

Thanks again.
Top
#183174 - 04/24/07 02:23 PM Re: Images not appearing - redirect problem? [Re: willing]
willing Offline
old hand
Registered: 02/12/07
Posts: 701
Just in time for the Manchester United game.

\:D
Top
#183175 - 04/24/07 02:35 PM Re: Images not appearing - redirect problem? [Re: willing]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Working ;\)
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#183178 - 04/24/07 02:42 PM Re: Images not appearing - redirect problem? [Re: Mark S]
willing Offline
old hand
Registered: 02/12/07
Posts: 701
Sorry I didn't think of that one Mark.

Thanks again for the help.

Time for the match....... \:\)
Top
#183195 - 04/24/07 08:21 PM Re: Images not appearing - redirect problem? [Re: willing]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
If you're linking to items via ../ or similar, you will have errors with SE friendly URLs (as it creates "virtual" directories in the URL and has PHP parse them)...

You'll want to hardcode links to graphics to get around this.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#183196 - 04/24/07 08:22 PM Re: Images not appearing - redirect problem? [Re: Gizmo]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
again, i need to start reading all posts before replying... if only clicking on the thread title would show "all" from the last unread post :sigh:
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10489 Members
36 Forums
33841 Topics
181706 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image