ViNesvarbu
2014-08-19T00:35:11Z
After upgrading YAF to latest version of my DNN website (7.1.1) suddenly my forum stopped working. Now all forum links point to (localhost). Example:
http://localhost/mywebsite/Forum/g/topics/f/1/Main-Forum

In main web.config I checked and I see that
<add key="YAF.BaseUrlMask" value="http://mywebsite.com" />

What else can I check?

Edit: Attempted to upgrade another site, same problem.
Attempted to change YAF.BaseURLMask and it is clearly ignored. I tried to just change to value \, same behavior.
Is there anywhere I can force my site address, as it appears that DNN YAF module is ignoring web.config
Sponsor
tha_watcha
2014-08-19T11:06:19Z
The base url setting is no longer used in the appsettings it has been moved to the board settings of the forum. But that settings is only used for the email digest.

What you need to check in your case is the url (Portal Alias) for your portal. In DNN 7 it is under Host -> Site Management
UserPostedImage
ViNesvarbu
2014-08-19T12:21:53Z
Thank you - I had manually in the SQL Table change primary alias flag and after that everything worked OK.

Thank you very much for your help!

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved