Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (57-Vette, Chosen), 43 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 03/24/10
Posts: 8
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#240942 - 01/06/11 06:04 AM 404 / RSS errors
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
Every day, I get a load of 404s in my error logs.

http://www.example.com/forums/cache/global_rss4.xml

When clicking on the link I see the RSS feed but with missing images.

Right clicking on the missing image gives this...

http://www.example.com/forums/cache/%3C%3CGRAEMLIN_URL%3E/smile.gif

Any ideas how I can correct this?

Thanks smile
_________________________
Using version :: 7.5.6
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."
#241183 - 01/16/11 12:49 PM Re: 404 / RSS errors [Re: driv]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
^^^ polite bump smile ^^^
_________________________
Using version :: 7.5.6
Top
#241190 - 01/16/11 03:33 PM Re: 404 / RSS errors [Re: driv]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
libs/ubbthreads.inc.php

function generate_rss_feeds

find:
Php Code:

$posts['POST_DEFAULT_BODY'] = $html->truncate($posts['POST_BODY'],$feed_include_body);
 


add below:
Php Code:

$posts['POST_DEFAULT_BODY'] = str_replace("%% GRAEMLIN_URL %%",'graemlins/default',$posts['POST_DEFAULT_BODY']);
 


Note: this board is replacing
Code:
%% GRAEMLIN_URL %%
, so i put spacing there. remove the spaces when you add the code..
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#241234 - 01/17/11 05:42 PM Re: 404 / RSS errors [Re: driv]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377


Thanks for that SD.

I tried this...
(The second line only - tildes(~) omitted)


Quote:


$posts['POST_DEFAULT_BODY'] = $html->truncate($posts['POST_BODY'],$feed_include_body);

$posts['POST_DEFAULT_BODY'] = str_replace("%%~GRAEMLIN_URL~%%",'graemlins/default',$posts['POST_DEFAULT_BODY']);




...however, it doesn't seem to make any difference at all.

I also tried "images/graemlins/default" and GRAEMLIN_URL without the %%

Any thoughts as to what could be happening?
_________________________
Using version :: 7.5.6
Top



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
10492 Members
36 Forums
33842 Topics
181709 Posts

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