Previous Thread
Next Thread
Print Thread
Hop To
#265319 04/18/2022 1:46 PM
Joined: Mar 2007
Posts: 15
J
Stranger
Stranger
J Offline
Joined: Mar 2007
Posts: 15
Within the last 6 months my RSS feed is not working within an outside website. Here is the feed.
https://www.hendersonmn.com/chatter1/cache/rss1.xml

Is there an issue with the feed or with my UBB install? We are using version 7.7.5

Any help is appreciated.

Thanks.

Joined: Dec 2003
Posts: 6,628
Likes: 85
Joined: Dec 2003
Posts: 6,628
Likes: 85
I do not use rss anymore but I see two items.
atom feed is in the xml file . Did you modify something to add that?

Also you are missing a language statement in the xml.
You can use
https://www.rssboard.org/rss-validator/
to check.

The string should be en-us

If you open the UBB cp and then goto language files.
There are two files that should contain that
Myfeeds and generic
Look for a key name of RSS_LANG
Make sure you have en-us as a entry and re-save.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,367
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,367
Likes: 126
It's an ATOM feed, not just an RSS feed, use an ATOM Feed Validator (RSSAtom Alternate) as there can be elements that some rss validators will say are invalid.

Our ATOM feed reads without issue: https://www.ubbcentral.com/forums/cache/rss1.xml
It looks like, as Rube pointed out, you're missing your feed language.

Since this is a cached flat file in your cache, after updating your language strings you will have to clear your forum cache to rewrite the feed itself.

Further reading: Difference between RSS and ATOM


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
1 member likes this: isaac
Joined: Mar 2007
Posts: 15
J
Stranger
Stranger
J Offline
Joined: Mar 2007
Posts: 15
Thanks for the response.

I see en-us is located in both language files. Any other areas I can check?

Joined: Dec 2003
Posts: 6,628
Likes: 85
Joined: Dec 2003
Posts: 6,628
Likes: 85
I would correct that first and see.

I am not sure why it is in 2 files
Except for one was abandoned and forgot about in a prior cleanup but update them both.
If they are there I would retype over them and re save.
Don't forget there is a cache involved with generating the file.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
jsteinborn #265325 04/23/2022 10:14 AM
Joined: Mar 2007
Posts: 15
J
Stranger
Stranger
J Offline
Joined: Mar 2007
Posts: 15
I tried your fixes and issue still exists. I tinkered with the wrong language setting and now UBB won't load. Is there a config file I can upload to reset my settings?

Thanks again.

jsteinborn #265326 04/23/2022 11:13 AM
Joined: Apr 2004
Posts: 1,973
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,973
Likes: 154
from UBBCentral
line 8 is correct
[Linked Image]

from your website's generated feed
line 8 is missing the required language information.
[Linked Image]

open the language editor.
myfeeds.php
[Linked Image]


"en-us" is missing from your RSS_LANG string
typed exactly as shown in the screenshot. no quotes.
[Linked Image]

Update Language File

then go to the Cache Manager (Tools & Information group in the control panel) and Update Cache to rebuild the feed.

this should correct your bad feed.


there are two different types of "RSS Feeds."
1/ RSS
2/ ATOM

UBB.threads generates RSS 2.0 feeds.

Your feed reader should be using RSS 2.0 format, not ATOM.
https://problogger.com/rss-vs-atom-whats-the-big-deal/

There is a fun story behind the two. I believe it is here:
https://en.wikipedia.org/wiki/Atom_(Web_standard)#Atom_compared_to_RSS_2.0
Additional reading here:
https://en.wikipedia.org/wiki/RSS


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
1 member likes this: Gizmo
jsteinborn #265327 04/23/2022 11:39 AM
Joined: Mar 2007
Posts: 15
J
Stranger
Stranger
J Offline
Joined: Mar 2007
Posts: 15
Yep I did that. Thanks.

But something seems to be corrupted. The UBB wont's load. Can I simply reinstall the last update to resurrect it?

jsteinborn #265328 04/23/2022 12:02 PM
Joined: Jun 2006
Posts: 16,367
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,367
Likes: 126
Unfortunately, without knowing what you "tinkered" with it's hard to say what to replace without things getting hosed further...

You should be alright with uploading stock versions of everything but the /includes folder and the /styles/wrapper.inc.php file (if you've made custom islands you'll want to back them up from the /cache_builders/custom/ folder)...

This is also why modifications to the stock files are unsupported, were have no clue what the end user changes and how those changes affect the forums.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
jsteinborn #265329 04/23/2022 12:18 PM
Joined: Dec 2003
Posts: 6,628
Likes: 85
Joined: Dec 2003
Posts: 6,628
Likes: 85
So in essence you would follow the upgrade guide
https://www.ubbcentral.com/doc_upgrade7.php
Without the need to upload the install folder and contents nor the need to run upgrade as long as you upload the same version you download from the members area.

Also do not forget to make a backup before you start in case you overwrite files you should not have.

Currently you have a connection issue "Problem occurred in connection".
If reuploading the stock files does not resolve the issue I would check
includes/config.inc.php
This holds the login info for your database as well as other parameters.

Last edited by Ruben; 04/23/2022 12:25 PM. Reason: added Comment

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2007
Posts: 15
J
Stranger
Stranger
J Offline
Joined: Mar 2007
Posts: 15
Yeah, looks like I'm not making a connection to the database. Config file looks fine.
When using the install link, I get this:
Welcome to the Upgrade/Install Utility for UBB.threads
Could not connect to the MySQL Database: Access denied for user '******'@'localhost' (using password: YES)

Joined: Dec 2003
Posts: 6,628
Likes: 85
Joined: Dec 2003
Posts: 6,628
Likes: 85
You should not need to run the install or upgrade script to fix a existing install.
I understand you are using it to test the connectrion just do not proceed past that point.
The top few lines of the config.inc.php file have the database name
database user name and database user password.
If it were me I would double check those settings in your cpanel.
Where you may need to reset the user password since you can't see the existing one.
then edit the config.inc.php file to match those credentials.

You need to figure out where something changed such as the host may have changed the prefix to your site name which is part of the names used in the config file..

One other thing is if you add a new database user make sure they have global privileges.

Last edited by Ruben; 04/24/2022 1:45 PM. Reason: Added comment

Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Not allowing attachment over 2m
by ehill - 12/03/2024 3:16 PM
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Post Counts zeroed out
by Baldeagle - 11/03/2024 3:05 PM
Who's Online Now
1 members (ehill), 1,124 guests, and 128 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)