Posted by: Jaben - Tuesday, 18 December 2007 04:35:29
[size=6][b]YAF v1.9.3.3 ALPHA ( Dated 2/6/2008 )[/b][/size]
[size=8][b][color=red]ALPHA SOFTWARE: NOT FOR PRODUCTION FORUMS[/color][/b][/size]
[B]UPDATED 2/6:[/b]
Fixed bug with EncodeString in Membership when there is a salt.
Fixed major bug with password resetting SQL in Membership.
Fixed bug with rehasing answers in Membership when changing a password.
Fixed bugs associated with "salt" setting in Membership and it's inconsistant handling.
Fixed bugs with membership password encoding not actually encoding anything.
Fixed bugs with membership not encrypting passwords.
Removed email templates directory. Moved email templates into language for localization.
Also added HTML support to template emails and send mail code in YAF.
Improved Unicode email handling in mail sending code.
Dramatically improved Send Mail Thread queue system so there won't be sending of duplicate emails anymore.
Moved almost all email sending into the Send Mail Thread so the forum feels faster and performs better.
Fixed bugs related to deleting users in admin.
Fixed and improve display of Access Masks in admin.
Running "Lost Password" for a user who is not approved will now resend the verification email to them.
Added confirmations to Approve All/Delete All in Administrator.
Added "recommended" web.config file for NEW installations of v1.9.3 which is setup to use SHA1 password hashing and salts. (ONLY use on new installs.)
Update install.txt to reflect changes.
Fixed/Improved Search SQL to exclude deleted topics and search guest usernames.
Improved Membership Upgrade code from v1.9.1.x and below to do much more error checking.
Other misc bug fixes.
[B]UPDATED 1/27:[/B]
Fixed constraint.sql issue.
Fixed "Allow Quick Answer" issue.
Updated "Rules" code added "Show Registration Rules" option.
Added BBCode processing caching.
Fixed issue with "Require User Login"
Fixed issue related to & in Verification emails.
Fixed issues related to response not ending after redirect.
[B]UPDATED 1/26:[/B]
Fixed major security flaws.
Made contact buttons CSS and added skype button.
AJAXified collapsible stuff.
Tons of bug fixes and coding changes throughout.
[B]Special thanks to Ederon on this release -- he did a TON![/B]
[b]Here it is folks![/b]
A release of YAF that supports Memberships, Roles and Profiles. Now, I cannot say this software is ready for production. In fact, I'm sure it a bit buggy. That's why it's I'm asking for your help in making this software production-ready.
[b]For testing by tech-savvy[/b]
Given the huge task of handing bugs and features for this software, I kindly request that only the more-techy of you attempt to install this pre-release version. I won't be providing installation help as this is not a standard community release.
[b]Release Goal[/b]
The goal of this release is to get issues worked out. It is not to get into "why didn't X feature get put in". We aren't looking to add more feature right now -- just trying to get the current new features stable. Then we will free to add new features. Now I'm not saying I don't want to hear suggestions -- but just understand the situation.
[b]Lanuages[/b]
All languages need to be updated to the latest in english.xml. Help with this is appreciated.
[b]Development Team[/b]
Thanks to MJHufford, MicScoTho and WTilton for their contributions. Special thanks to Mek and Ederon who pull a lot of weight on this release! I couldn't do it without your help guys! :cheesy:
[b]Contributing to YAF[/b]
How can you support YAF, you ask? Just help a bit. Test the software and post bugs. Answer a few questions on this forum for other, less knowledgeable, YAF admins. If you really want to go crazy, write a little documentation in the wiki...
[b]Notes[/b]
v1.9.3 will upgrade from v1.9.1.x and below fine. I don't suggest you do it until you feel the software it ready.
[b]Bug Reports[/b]
Please post your v1.9.3 problem threads in this forum: http://forum.yetanotherforum.net/yaf_topics32_v193-Issues.aspx
[b]DNN[/b]
Sorry to say, DNN support was not a goal for this ALPHA release. That's not to say you cannot get it working with this release. If you do play around with it, please report back your findings.
[b]Compiling[/b]
YAF v1.9.3.2 doesn't requires Web Application Project to compile! In fact, most of the main source is dynamic compilation.
BIN: Includes the compiled forum and forum page files without the source.
SRC: Includes the compiled forum and forum page files with full source.
[b][url=http://www.tinygecko.com/downloads/YAF/YAF-v1.9.3.3-ALPHA-SRC.zip]YAF-v1.9.3.3-ALPHA-SRC.zip[/url][/b]
[b][url=http://www.tinygecko.com/downloads/YAF/YAF-v1.9.3.3-ALPHA-BIN.zip]YAF-v1.9.3.3-ALPHA-BIN.zip[/url][/b]
Posted by: Ederon - Tuesday, 18 December 2007 04:49:23
As I'm curious what has changed, I'm goning to try to make changelog for 1.9.3 alpha.
EDIT: damn lot of changes, I won't do the changelog... :cheesy: for anyone who wants to get a picture, I suggest looking at SVN changelog, but you'll have to list through lot of lines.
Posted by: redLine - Tuesday, 18 December 2007 05:39:25
give this error installation and upradghe
[img]http://imaj.at/image/28547[/img]
Posted by: Ederon - Tuesday, 18 December 2007 05:46:30
[quote=redLine]give this error installation and upradghe[/quote]
Thanks for reporting, there should have been
[code]dbo.sysobjects[/code]
istead of
[code]sys.sysobjects[/code]
I've fixed it in SVN, you need to replace it manually in your install/procedures.sql file. Or replace it with one I attached to this post (unzipped).
EDIT: Jaben updated zips in first post, they include this fix already.
Posted by: Jaben - Tuesday, 18 December 2007 14:34:16
One of those late night coding mistakes on my part. ;)
Posted by: guest - Tuesday, 18 December 2007 15:15:08
hii..
we try the last version what you made.But some problems have settled in sql types.. I want to setup system MSSQL2000.but forums has SQL inde image ntext like SQL server 2005 so ı couldnt setup what can ı do
Soryy Bad English :( :)
Posted by: Jaben - Tuesday, 18 December 2007 18:50:27
[quote=emrealizm]hii..
we try the last version what you made.But some problems have settled in sql types.. I want to setup system MSSQL2000.but forums has SQL inde image ntext like SQL server 2005 so ı couldnt setup what can ı do
Soryy Bad English :( :)
[/quote]
http://forum.yetanotherforum.net/yaf_postst5110_Installation-problem.aspx
Posted by: guest - Wednesday, 19 December 2007 02:11:00
finally! thats really good news :) ..
I can't wait to test it :) .. (tonight I will..) thank you all of YAF stuff!
Posted by: Jaben - Wednesday, 19 December 2007 03:46:01
ZIPs are updated with fixes for the SQL issues and a few other things that Ederon threw in (MaxPMs).
Posted by: guest - Wednesday, 19 December 2007 07:46:30
My congratulations to you all for reaching to 1.9.3 alpha. You all must have been working really hard.
I'm also putting the finishing touches to my latest project's RCs, hopefully by end of this weekend. This would allow me to spare some hours to try out the alpha version.
It would be a good idea to suggest which part of the forum you want us to pay a closer attention to. I won't be using the asp.net membership as it doesn't fit to my requirements, yet.
Posted by: bladefist - Wednesday, 19 December 2007 07:48:48
I am a bit confused about this move to the ASPMembership provider. It looks like you guys took the 4 main tables from ASPNet, and made your own YAF-Aspnet membership provider.
I have a site that currently uses the default normal AspMemebership provider, and I Wanted to integrate yaf into my site. Now do I have to redo my application to use the YAF provider? Or can I change the provider YAF uses with minimal code.
Why did you guys decide to go to the Asp membership route if you were just going to create your own provider anyway. I guess I don't understand what was gained.
Thanks for all your hard work, I got it installed and it looks great.
Posted by: guest - Wednesday, 19 December 2007 08:05:24
[quote=Jaben][size=6][b]YAF v1.9.3 ALPHA (Dated 12/19/2007)[/b][/size]
YAF v1.9.3 doesn't requires Web Application Project to compile! In fact, most of the main source is dynamic compilation.
[/quote]
Hi Jaben,
Dynamic Compilation (Web Site model?) has many security challenges in particular in Web Hosting environments. For instance I won't be able to sign the assembly if I need to for security reasons.
I would like to ask you in strongest term if you have chosen the "web site" model for your project to offer us the "Web Application Project" model too. Converting "web site" projects back to "Web Application Project" model is virtually impossible for the hard work is involved.
The web site model conversion is that hard that I'm going to add some funtionality to my tool to ease this process since many people want to go back to the old model which it worked so well.
I had the same issue with .NetBlogEngine project and I also raised the same concerns with them. I'm hoping they would do something about it in 1.3 version.
Cheers
Posted by: Ederon - Wednesday, 19 December 2007 10:06:22
[quote=bladefist]I have a site that currently uses the default normal AspMemebership provider, and I Wanted to integrate yaf into my site. Now do I have to redo my application to use the YAF provider? Or can I change the provider YAF uses with minimal code.
Why did you guys decide to go to the Asp membership route if you were just going to create your own provider anyway. I guess I don't understand what was gained.
Thanks for all your hard work, I got it installed and it looks great.[/quote]
There is YAF provider, which is default. But as of nature of providers, you can replace it with your own provider (be it default ASPNET one or any other) and it all works without single change in the code.
@CSharpHeaven - is it really so hard to turn it into web application project? I'll be doing it myself for my production forum and from my experience, it's not a hard work.
Posted by: guest - Wednesday, 19 December 2007 13:53:04
[quote=Ederon][quote=bladefist]
@CSharpHeaven - is it really so hard to turn it into web application project? I'll be doing it myself for my production forum and from my experience, it's not a hard work. [/quote]
Hi Ederon,
Let say I was happy to change the entire project from Web Site to Web Application Project. Since I don't own the project there are many things out of my control. For every update I have to do the same repetitive work. It means I have to find out which pages had been updated before applying the same changes to them again. I doubt it you would want to take the responsibility to keep a list of the pages you modify all the time, do you?
This is not just about the hard work, the web site model that even Microsoft admitted was a big mistake is not a nice model at all. Even though DotNetBlogEngine is not owned by me but I found it ridiculous to deploy it with actual code behind files. I'm talking about the principals.
Microsoft keeps blaming the developers for not writing security conscious codes then again they come up with a horrible deployment model like that.
One of the other issues is that most web applications written in web site model have no namespaces. This is the part which takes most of the hard work for conversion. For every web page there is you have to modify two pages to insert the namespaces. You can create layers using namespaces and avoid duplicate types but in web site model you can't do that because everything is on the root.
Think of the implications that brings when you want to integrate YAF with your own web site. The first thing you would notice is that there are two _Default types.
Anyways, I can only try to cross my points in here the final decision is yours.
BTW, I had a e-news letter from GoDaddy and they officially listed YAF to their application offerings. :cheesy:
Cheers
Posted by: Ederon - Wednesday, 19 December 2007 14:34:02
CSharpHeaven, Jaben might elaborate on why YAF switched from WAP to web site model. In short main point was that free versions of visual studio (VWD) don't support WAP and as this is open source, this way it could address wider range of developers. I'm not proponent of web site model and as I mentioned already, I'll be converting it to WAP myself. It's definitely good to talk about it as there is no good decision without discussion. I suggest you to open completely new topic for this where we can discuss it into more detail.
Posted by: Jaben - Wednesday, 19 December 2007 19:38:56
Questions for CSharpHeaven:
Where does Microsoft admit that it was a "big mistake"? Link please.
YAF does have namespaces -- so I don't see how this argument holds water for YAF. If you are griping about most "Web Site" projects, understandable, but this doesn't apply to YAF.
I knew going Web Site was not necessarily going to be a popular decision with the more established programmers.
Main reasons: Every day someone is asking how to compile YAF. YAF is an international forum. A lot of people cannot afford to compile YAF using WAP because VS2005 PRO is required. Web site design is so much easier for modifications. It means that basic (literally) programmers can change a few variables here and there and change how YAF works.
Most of the libraries still require compilation -- but not Visual Studio Pro. The WAP project was included with the source distribution. Maybe I'll come up with a way to "have it both ways" here with some automated changes. For now, I'm chosen to support the majority over the knowledgeable minority who I figured could make it WAP if they wanted.
I'm open to further dialog on this topic though. Remember, I have very limited time and resources. If you give me solutions (auto-WAP project generation script), it would help. :)
Posted by: Jaben - Wednesday, 19 December 2007 19:42:02
[quote=bladefist]I am a bit confused about this move to the ASPMembership provider. It looks like you guys took the 4 main tables from ASPNet, and made your own YAF-Aspnet membership provider.
I have a site that currently uses the default normal AspMemebership provider, and I Wanted to integrate yaf into my site. Now do I have to redo my application to use the YAF provider? Or can I change the provider YAF uses with minimal code.
Why did you guys decide to go to the Asp membership route if you were just going to create your own provider anyway. I guess I don't understand what was gained.
Thanks for all your hard work, I got it installed and it looks great.[/quote]
The default YAF Membership provider is mostly to allow for backwards (upgradability) from older versions of YAF -- which was not possible with the default asp.net membership.
Also, the YAF providers have built-in caching for speed.
Posted by: Jaben - Wednesday, 19 December 2007 22:23:24
Updated with most recent bug fixes as of 12/19/07.
Posted by: guest - Thursday, 20 December 2007 02:36:10
Hi Jaben,
[quote]Where does Microsoft admit that it was a "big mistake"? Link please.[/quote]
I knew that was coming. I'm sure I read about it on the blogs of the developers who work for Microsoft. They normally reflect what is going on inside of Microsoft. Also since i'm working on an add-in there are issues with the web site model that is not well supported and is difficult to work with. This is probably was behind what I said about the admitting part. In my project I gave up using the automation model that was offered for being too basic. I wasn’t trying to exaggerate about it mate.
[quote]YAF does have namespaces[/quote]
I'm very happy with that. It would make the conversion much easier.
[quote]I'm open to further dialog on this topic though. Remember, I have very limited time and resources. If you give me solutions (auto-WAP project generation script), it would help.[/quote]
Those who produce never have enough time. So I can say the same thing too. I only can try to see if I can come up with a generic solution when I have the time.
BTW, did you get my email that I sent to you a while back? I used the email being shown on your main site mate.
I appreciate the hard work you've been putting in this project.
Posted by: Jaben - Thursday, 20 December 2007 02:42:46
I never got an email from you... Can you send again to support@yetanotherforum.net?
And seriously... I'd like to read any explainations about the Web Site problems. Maybe you read on Scott Gu's blog?
Posted by: guest - Thursday, 20 December 2007 06:48:39
[quote=Jaben]I never got an email from you... Can you send again to support@yetanotherforum.net?
And seriously... I'd like to read any explainations about the Web Site problems. Maybe you read on Scott Gu's blog?[/quote]
I just re-sent the email to you. The original email was sent on 02/12/2007.
Posted by: bladefist - Thursday, 20 December 2007 07:40:35
[quote=Ederon]
There is YAF provider, which is default. But as of nature of providers, you can replace it with your own provider (be it default ASPNET one or any other) and it all works without single change in the code. [/quote]
Thanks I was able to get this to work very easily by changing the web.config. I still have to popular YAF's user table though. But no big deal. Thanks. After I perfect this I may submit what I did so others can do it also.
Posted by: karcom2007 - Thursday, 20 December 2007 10:52:30
Great work on 1.9.3.
Maybe this is a stupid question regarding membership and roles (hopefully not). Can someone help me understand how user data will be stored in the YAF DB if a different membership provider is used? I have seen this topic posted numerous times, but would appreciate further direction.
My Problem:
- Existing users/registration/login (with SQL backend) in a separate web application (classic ASP).
- Want to use YAF forum, but use existing SQL user login in different DB than the YAF DB.
- Do not want to expose password retrieval or registration or profile update to users since user data will be stored in existing SQL DB.
Do I need to maintain user information in both DBs?
Posted by: guest - Thursday, 20 December 2007 22:56:56
Hello Jaben,
You asked for pointers about Web Model / Web App: here is a link to a short entry with few interesting links...
I have to say that just like CSharpHeaven, I believe that VS2005 model is a mistake...
http://petesbloggerama.blogspot.com/2007/05/web-site-project-or-web-application.html
Spi
Posted by: Jaben - Friday, 21 December 2007 21:42:49
[quote=Invenietis]Hello Jaben,
You asked for pointers about Web Model / Web App: here is a link to a short entry with few interesting links...
I have to say that just like CSharpHeaven, I believe that VS2005 model is a mistake...
http://petesbloggerama.blogspot.com/2007/05/web-site-project-or-web-application.html
Spi[/quote]
I hear ya -- but all of those arguments cannot go up against the big one: YAF main UI should be simple to modify. What do I say to people who cannot modify the basic UI because they don't have 600 USD to buy Visual Studio Pro? Plus, the project is NOT all Web Site -- most of the code isn't. Just the UI/Pages code -- which I feel is a decent trade-off.
Posted by: Jaben - Friday, 21 December 2007 21:47:21
[quote=karcom2007]Great work on 1.9.3.
Maybe this is a stupid question regarding membership and roles (hopefully not). Can someone help me understand how user data will be stored in the YAF DB if a different membership provider is used? I have seen this topic posted numerous times, but would appreciate further direction.
My Problem:
- Existing users/registration/login (with SQL backend) in a separate web application (classic ASP).
- Want to use YAF forum, but use existing SQL user login in different DB than the YAF DB.
- Do not want to expose password retrieval or registration or profile update to users since user data will be stored in existing SQL DB.
Do I need to maintain user information in both DBs?
[/quote]
YAF handles this fine. You don't have to maintain user information at all. Just point YAF to the other (already populated) membership provider.
YAF will just create users as needed in it's DB and will automatically sync with roles. No manual work...
Posted by: Jaben - Saturday, 22 December 2007 21:27:47
Update with fixes such as the user suspend issue and RSS issue. (Plus all the other little bugs posted...)
Root Key in app.config now supports "~/forum" for the application root.
I'm on vacation next week so I won't be looking on the board much or working on YAF.
Happy Holidays to everyone.
Posted by: wesclyburn - Monday, 24 December 2007 11:41:59
[quote=Jaben][quote=Invenietis]Hello Jaben,
You asked for pointers about Web Model / Web App: here is a link to a short entry with few interesting links...
I have to say that just like CSharpHeaven, I believe that VS2005 model is a mistake...
http://petesbloggerama.blogspot.com/2007/05/web-site-project-or-web-application.html
Spi[/quote]
I hear ya -- but all of those arguments cannot go up against the big one: YAF main UI should be simple to modify. What do I say to people who cannot modify the basic UI because they don't have 600 USD to buy Visual Studio Pro? Plus, the project is NOT all Web Site -- most of the code isn't. Just the UI/Pages code -- which I feel is a decent trade-off.[/quote]
I'm with Jaben on this one. Putting the core functionality in separate assemblies and the UI in a web site is just fine and will suit the most numbers of users, IMO. You can always precompile the site so you don't have to deploy the source files (Peter didn't mention that in his blog for some reason). You don't really unit-test the UI in a way that you'd care about the generated assemblies anyway. Also, you can simply drop YAFs pages in your own WAP and build. It's really no big deal. No need to exclude a large number of VWD users unless there's some tangible gain. And since MS uses the web site model in VWD2008, it's not going away any time soon.
Posted by: guest - Friday, 28 December 2007 07:13:54
I just downloaded 1.9.1 source, and installed Web Application Project (WAP) add-on to VS2005 Pro so I could open the solution (working in a corporate environment, I cannot install SP1 for VS2005 without forcing other developers to do the same). I am looking to deploy a forum on the company's intranet, which already requires the users to authenticate there. So it looks like I will want to download 1.9.3 to do this. Based on my initial, limited, experience with YAF, I have the following questions/comments:
1). Could Jaben or one of the other core developers take a few minutes to update the Roadmap on the Wiki? It still shows 1.9.3 as a Q3 2007, 1.9.5 as Q4 2007 etc. for projected release dates. Having accurate projected release dates and summary of proposed features/enhancements is helpful to anyone evaluating YAF and whether it does or will soon meet the needs of the person/company looking to use it.
2). Moving away from the WAP methodology not only benefits users the do not have VS2005 Pro, but also benefits folks in corporations that are not using VS2005 SP1. In my specific case, I have administrative rights to my machine and was able to download and install WAP myself. But some corporate environments could be so restrictive that even installing WAP to VS2005 might require going through a lengthy approval process. While 1.9.1 is still the offical release, could there be a note or disclaimer that WAP or VS2005 SP1 is required to properly work with the solution if you choose to download the source?
Posted by: guest - Friday, 28 December 2007 09:24:33
@ tempest68 and wesclyburn
I would suggest to google "Migrating a VS 2005 Web Site Project to VS 2005 Web Application" and see from the links how many people are writing articles on this subject. Also check how many people are writing about the pain is involved in the process. What that tells you?
If you can't install VS2005 SP1 within your organisation then should we all be affected by it?
I've been working to add features to my tool to ease up the migration part and on the first attempt I had to stop supporting "Web Site Project". Behind the scence "Web Site Model" is horrible and that only means this project type gives less productivity to its users, then again I hear people are insisting to switch a perfectly working model to something that doesn't work very well.
Posted by: wesclyburn - Sunday, 30 December 2007 09:59:59
LOL, if you're suggesting I use Google to find instances of people who don't know how to do something, I'll be here all day. Try "I can't connect to SQL Server" or "I can't put on my own pants".
I know there are pros and cons for both methods. There are also many benefits to WSPs, even for real-life, professional, high-impact web apps. And 8 out of 10 of the issues people raise with WSPs are due to a cronic unfamiliarity with aspnet_compiler.exe .
I'm using YAF in two projects now, which are WAPs. I don't want YAF to [b]be the application[/b]. I want YAF to be a set of controls that I plop into my application (which can be a WAP if I choose, or not). YAF's current packaging makes this easy. I have its core assemblies, and I have the UI, which I can customize or throw out altogether if I wish. When I build my application into a WAP, YAF's pages are included in the build just like my own pages. YAF becomes [b]part[/b] of [b]my[/b] WAP.
There's no "migrating to a WAP" involved at all; just a ./forum/ directory in my app containing YAF's UI-- no different from any of the other files I'm building.
The key thing is that those who want YAF to be a WAP can build it that way right now. 100% of users can use it. If Jaben changes to a WAP model, then 40% of users can use it. Migrating from a WAP to a WSP is [b]much[/b] more difficult.
Posted by: testero - Monday, 31 December 2007 00:17:17
I have version 1.9.1.6.
Can i upgrade it to 1.9.3 Immediately?
No need to upgrade to version 1.9.1.7 and 1.9.2 and .....?
Thank you guys for good staff
Posted by: Mek - Monday, 31 December 2007 02:15:23
You can upgrade directly from 1.9.1.6, remember to backup before you do.
Also remember its not a final release, so not meant for production environemnts.
Posted by: guest - Monday, 31 December 2007 15:45:50
I hope I don't get myself in trouble here...
I'm VERY excited about your project and looking forward to integrating YAF into some of my other .NET membership projects; what I'm wondering is how difficult it would be for me to adapt other providers - specifically Screwturn's wiki and it's member model.
Screwturn has already stated that they won't be supporting the ASPNETDB, and I know you folks use their wiki here. Has anyone on the YAF dev team looked under the hood at the wiki model? If so, any opinion on how difficult an integration would be for an intermediate level hack (like me!)??
...or am I totally off my rocker on this one?
Thanks in advance!
Posted by: Ederon - Monday, 31 December 2007 17:05:48
[quote=JohnnySlotCar]...or am I totally off my rocker on this one?[/quote]
Screwturn Wiki uses her own provider model. I've made my custom Screwturn Wiki user provider, it just calls membership provider configured for ASP.NET application. If you are interested in trying it or helping with it, just PM me and we'll get in touch.
Short answer - it's easy to integrate ASP.NET provider model with SC Wiki one. It's matter of few dozens lines of code.
Posted by: Vamshi - Wednesday, 2 January 2008 04:42:56
Thanks for putting 1.9.3 out there. I have been waiting!
How do you merge the ASP Profile that I already have with the YAF profile? I didn't merge anything relating to Profiles from development.config. I get an exception in YAF.Classes.Utils.YafContext:GetProfile function - [i]can't cast ProfileCommon to YafUserProfile.[/i]
Here is a simple bug I think -
YAF.Classes.Utils.YafContext:ForumRoot function (line 786-789 context.cs). I can't see how [i]if ( path.StartsWith( "~" ) )[/i] will never get executed after the line at 786 which is [i]if ( path [0] != '/' ) path = path.Insert( 0, "/" );[/i]. Also, I had to change 785 to [i]path += YAF.Classes.Config.Root;[/i] to get my installation going.
I'm on VS2008 and .NET 3.5. And it works mostly. I have a couple of issues like the Forums not showing under a category. I will send back any bugs I find/fix.
Posted by: guest - Wednesday, 2 January 2008 04:46:25
Hi
I downloaded YAF v1.9.3 ALPHA (Dated 12/22/2007) which is having Membership roles. It is working fine. I want to merge that into my application. In the previous YAF which does not have Membership worked fine after merging into my application when i modified the root in yafnet.config. But in the YAF v1.9.3 ALPHA it is not having yafnet.config.Can you plz tell me where to modify that.And can i merge YAF's web.config file to my applications web.config file as one application should have only one web.config file.
Thanks
Posted by: Ederon - Wednesday, 2 January 2008 06:40:43
@ashokt4 - root tag is now in app.config IIRC
Posted by: book_man25 - Wednesday, 2 January 2008 08:11:01
I have a problem when trying to add yaf to an existing website with already created membership and roles. I'm not exactly sure how to do it but what I've tried to do is add the yaf roles, membership, and profile to the exisiting web.config file. Everything works fine until I try to migrate existing users over to yaf. I then receive the following error. This is from the install process and the user doesn't exist until I add him as the admin user on the previous step. Any ideas what I might be doing wrong?
The user 'bryan' is already in role 'Administrators'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Configuration.Provider.ProviderException: The user 'bryan' is already in role 'Administrators'.
Source Error:
Line 190: {
Line 191: RoleMembershipHelper.SyncRoles( PageBoardID );
Line 192: RoleMembershipHelper.SyncUsers( PageBoardID );
Line 193: }
Line 194: e.Cancel = false;
Source File: d:\wwwroot\aamro\site\forums\install\default.aspx.cs Line: 192
Stack Trace:
[ProviderException: The user 'bryan' is already in role 'Administrators'.]
System.Web.Security.SqlRoleProvider.AddUsersToRolesCore(SqlConnection conn, String usernames, String roleNames) +2238010
System.Web.Security.SqlRoleProvider.AddUsersToRoles(String[] usernames, String[] roleNames) +705
System.Web.Security.Roles.AddUserToRole(String username, String roleName) +341
YAF.Classes.Utils.RoleMembershipHelper.MigrateUsersFromDT(Int32 pageBoardID, Boolean approved, DataTable dt) +3062
YAF.Classes.Utils.RoleMembershipHelper.SyncUsers(Int32 pageBoardID) +254
YAF.Install._default.Wizard_NextButtonClick(Object sender, WizardNavigationEventArgs e) in d:\wwwroot\aamro\site\forums\install\default.aspx.cs:192
Posted by: Ederon - Wednesday, 2 January 2008 08:40:46
@book_ma25 - look at [url=http://forum.yetanotherforum.net/yaf_postst5153_Install-Problem-Existing-Administrators-role-issue.aspx]this topic[/url], I think it dicusses your issue. It's fixed in SVN, but I'm not sure whether it is already in latest distribution. But it's really minor change, so you might be able to apply it yourself.
Posted by: book_man25 - Wednesday, 2 January 2008 11:01:51
Actually it's not a problem with the roles but rather the users. I thought it might have something to do with having multiple roles, membership, and profiles in my web.config. It seems like it's trying to add the user multiple times to the role.
Posted by: guest - Wednesday, 2 January 2008 22:26:38
But in app.config file it is not accepting .Can u please help me.
Where to keep that root.
Thank you
Posted by: Jaben - Wednesday, 2 January 2008 23:05:20
[b][/b]
Posted by: karcom2007 - Thursday, 3 January 2008 06:35:59
Quick question and hopefully it will help others.
I have an existing website (classic ASP) with a SQL Server DB backend for authentication. I have existing authentication sprocs and very specific user table (username/password).
To integrate YAF, will I need to build a custom Membership Provider with methods specific to what YAF might expect in a Membership Provider?
Thanks in advance for more information and direction.
Posted by: Jaben - Thursday, 3 January 2008 13:25:12
Yes, you'd need to write a custom membership provider. YAF will use any provide and has no specific method requirements.
Posted by: phaedoHD - Sunday, 6 January 2008 00:42:03
Just curious how stable the alpha version of 1.9.3 is seeming to be? I realize it obviously will have some bugs, but I'm eager to use it in one of my existing sites which currently has no forum but has a large existing membership base using the .net membership provider.
So anyways, I'm just wondering if the alpha version seems to have a lot of bugs or if for the most part it seems somewhat stable. If it's more on the occasional bug side of things I will probably put it up as my site has no forum, so a buggy forum would be an improvement.
Also when the "final" release of 1.9.3 comes out is anticipated that the upgrade from the alpha or eventual beta version(s) will require a lot of work, or mostly just replacing the binaries and files? Thanks!
Posted by: Clegs - Monday, 7 January 2008 19:52:32
It seems to be running fine for me on my localhost with no crashes. I tried upgrading my older versions, however, and it turned out to be a disaster. After hours of trying, I finally gave up and reinstalled the older version onto my site.
Posted by: Jaben - Monday, 7 January 2008 22:09:11
Clegs... Please explain some of your problems. It's ALPHA software and you can give back a lot more by at least offering your experience to help. Saying it was "a disaster" only creates FUD without basis.
Posted by: tep - Tuesday, 8 January 2008 01:22:46
hello all,
The error is displayed below after changing language type (Turkish) & save in the admin panel.
Any comment ?
Server Error in '/YetAnotherForum.NET' Application.
--------------------------------------------------------------------------------
Missing page pointer: INBOX
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: Missing page pointer: INBOX
Source Error:
Line 107:#if DEBUG
Line 108: if (_pagePointer == null)
Line 109: throw new Exception("Missing page pointer: " + tag);
Line 110:#endif
Line 111:
Source File: C:\Inetpub\wwwroot\yaf\YAF.Classes\YAF.Classes.Utils\Localization\Localizer.cs Line: 109
Stack Trace:
[Exception: Missing page pointer: INBOX]
YAF.Classes.Utils.Localizer.GetText(String tag, String& localizedText) in C:\Inetpub\wwwroot\yaf\YAF.Classes\YAF.Classes.Utils\Localization\Localizer.cs:109
YAF.Classes.Utils.YafLocalization.GetText(String page, String tag) in C:\Inetpub\wwwroot\yaf\YAF.Classes\YAF.Classes.Utils\Localization\Localization.cs:136
YAF.Controls.Header.RenderRegular(HtmlTextWriter& writer) in C:\Inetpub\wwwroot\yaf\YAF.Controls\Header.cs:122
YAF.Controls.Header.Render(HtmlTextWriter writer) in C:\Inetpub\wwwroot\yaf\YAF.Controls\Header.cs:88
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +189
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +234
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +53
System.Web.UI.Control.Render(HtmlTextWriter writer) +31
YAF.Forum.Render(HtmlTextWriter writer) in c:\Inetpub\wwwroot\yaf\YetAnotherForum.NET\App_Code\YAF\Forum.cs:111
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +189
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +234
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +53
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +98
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +43
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +333
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +189
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +56
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +234
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +53
System.Web.UI.Control.Render(HtmlTextWriter writer) +31
System.Web.UI.Page.Render(HtmlTextWriter writer) +38
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +189
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5540
Posted by: Clegs - Tuesday, 8 January 2008 13:13:15
[quote=Jaben]Clegs... Please explain some of your problems. It's ALPHA software and you can give back a lot more by at least offering your experience to help. Saying it was "a disaster" only creates FUD without basis.[/quote]
Sorry, first it couldn't write the config password to the config file (even though I gave it write permission). So I wrote some script to hash the password for me, then it worked fine. After I did the upgrade, it kept giving me errors about undeclared
Posted by: Ederon - Tuesday, 8 January 2008 14:30:48
[quote=Clegs]Sorry, first it couldn't write the config password to the config file (even though I gave it write permission). So I wrote some script to hash the password for me, then it worked fine. After I did the upgrade, it kept giving me errors about undeclared
Posted by: Jaben - Tuesday, 8 January 2008 17:35:21
[quote=Clegs][quote=Jaben]Clegs... Please explain some of your problems. It's ALPHA software and you can give back a lot more by at least offering your experience to help. Saying it was "a disaster" only creates FUD without basis.[/quote]
Sorry, first it couldn't write the config password to the config file (even though I gave it write permission). So I wrote some script to hash the password for me, then it worked fine. After I did the upgrade, it kept giving me errors about undeclared
Posted by: tep - Saturday, 12 January 2008 14:39:18
Hi all,
when we change source code manually how to deploy the project to put in the production ?
Thanks
Posted by: guest - Tuesday, 15 January 2008 06:22:19
Hi
I am looking at v1.9.3, but can't get it to compile. I get 88 errors, all related to Unknown server tag 'YAF.[name of control]'.
The YAF.Controls compile correctly into the root /Bin folder, so it *should* know the tags for the controls... or am I missing something?
In other threads, you mention that the YAF.dll should be in the /Bin folder of the root (eg, when people have YAF in a subfolder of the root). I cannot find the YAF.dll, or is this the .dll generated when the Forums compile correctly?
I am using VS2008, with the solution set to use .NET 2.0
YAF looks great, just what I need, although 1.9.1.x has been running slowly on a Virtual Server with 1GB RAM and using SQL Server Express 2005.
But thanks the hard work.
Regards
Andrew
Posted by: Ederon - Tuesday, 15 January 2008 09:43:59
[quote=aewrigley]Hi
I am looking at v1.9.3, but can't get it to compile. I get 88 errors, all related to Unknown server tag 'YAF.[name of control]'.[/quote]
What type of project? 1.9.3 uses VS2005 web site project with dynamic compilation, those unknown YAF tags are defined in web.config (are you missing it?). Look in install.txt.
Posted by: guest - Wednesday, 16 January 2008 09:17:22
Hi everyone :)
I have a problem with embedding YAF in my sample site with standard User and Role providers.
[size=4](Offtop: Before all, I have run forum as standalone web site and it's ok; then I turned Role and User providers to standard ones and it was almost ok: I can register (user created in DB in asp.net table) but can't login :) )
[/size]
To embed YAF to my site, I have read this (http://wiki.yetanotherforum.net/embeddedYaf.ashx), but what is this:
[quote]
Move the yafnet.config file from ~/yaf to ~.
Ensure that the yafnet.config file "points" to the place where you have YAF installed, in the example case:
/yaf
[/quote] ?
what is "yafnet.config"? YAF 1.9.3 haven't this file :(
Posted by: marinette2 - Thursday, 17 January 2008 08:02:06
Missing files....
MS does not always copy all files using Vista FTP and copy files from zips correctly (98% OK, 2% oops).
I had a Vista Issue with the YAF extract not getting copies of all the zip files into the folder. And Microsoft FTP in windows is worse than useless. Use Putty or smartftp.
Posted by: tep - Thursday, 17 January 2008 10:05:05
Please try [url=http://fireftp.mozdev.org/]FireFtp [/url]
I am happy with it that runs on Firefox as add-on
Posted by: airsickmoth - Thursday, 17 January 2008 13:48:05
[quote=lak-b]Hi everyone :)
I have a problem with embedding YAF in my sample site with standard User and Role providers.
[size=4](Offtop: Before all, I have run forum as standalone web site and it's ok; then I turned Role and User providers to standard ones and it was almost ok: I can register (user created in DB in asp.net table) but can't login :) )
[/size]
To embed YAF to my site, I have read this (http://wiki.yetanotherforum.net/embeddedYaf.ashx), but what is this:
[quote]
Move the yafnet.config file from ~/yaf to ~.
Ensure that the yafnet.config file "points" to the place where you have YAF installed, in the example case:
/yaf
[/quote] ?
what is "yafnet.config"? YAF 1.9.3 haven't this file :([/quote]
Check the install.txt in the website directory, but I think you can use either debug.config or release.config, both those files are the new replacement for yafnet.config and use the release.config if you are publishing your site.
Posted by: guest - Friday, 18 January 2008 14:09:44
Could anyboudy provide a sample project like this: simple website (with 2 page: login.aspx and default.aspx) with embedded YAF? This will be useful for many users :)
Posted by: guest - Tuesday, 22 January 2008 12:00:47
I got it up and running in a couple hours... got it all converted to a web app until I realized the app_code wasnt working right and dint want to mess with it.
I'm running a ASP.NET 3.5 Ajax futures site with the forum integrated into asp.net membership, role, and profile providers on VS2008 Team Systems
Posted by: guest - Wednesday, 23 January 2008 00:26:26
[b]MaxxedMan[/b] Please! Give us a sample project! :)
Posted by: guest - Thursday, 24 January 2008 08:40:38
[quote=Ederon][quote=aewrigley]Hi
I am looking at v1.9.3, but can't get it to compile. I get 88 errors, all related to Unknown server tag 'YAF.[name of control]'.[/quote]
What type of project? 1.9.3 uses VS2005 web site project with dynamic compilation, those unknown YAF tags are defined in web.config (are you missing it?). Look in install.txt.[/quote]
Arrgh! Why did I not read install.txt?
Posted by: bladefist - Thursday, 24 January 2008 18:07:00
I was wanting to use the defualt, asp.net membership stuff with YAF. I have successfully changed the web.config for roles and memberships to the defualt. The profile however, I cannot figure out. Does anyone have the web.config to do this?
Thanks
Posted by: Lac - Thursday, 24 January 2008 21:04:45
[quote=bladefist]I was wanting to use the defualt, asp.net membership stuff with YAF. I have successfully changed the web.config for roles and memberships to the defualt. The profile however, I cannot figure out. Does anyone have the web.config to do this?
Thanks[/quote]this:?
[code]
[/code]
Posted by: bladefist - Friday, 25 January 2008 11:20:33
lac, thanks!
Only question, why does the profile part inherit "YAF.Classes.Utils.YafUserProfile" ??
Posted by: RikoNaz - Saturday, 26 January 2008 05:47:16
Jaben will someone be able to look up the issue where a user will be able to create a duplicate screenname of a user when registering. ive tested the flaw in 1.9.1.7 and 1.9.3 and it works on both, allowing a user to create an exact duplicate of a name. so far ederon is looking into it.
Posted by: Ederon - Saturday, 26 January 2008 07:23:59
[quote=RikoNaz]Jaben will someone be able to look up the issue where a user will be able to create a duplicate screenname of a user when registering. ive tested the flaw in 1.9.1.7 and 1.9.3 and it works on both, allowing a user to create an exact duplicate of a name. so far ederon is looking into it.[/quote]
It's now fixed, but so far only available via SVN.
[size=8]I strongly advise against putting 1.9.3 ALPHA into procution. Apart from the fact its still ALPHA, your forum is vulnerable unless you apply all fixes added to the SVN. They are not published as a download package yet. If you have 1.9.3 forum online, download latest version from SVN and update your forum immediately.[/size]
Posted by: BoSJo - Saturday, 26 January 2008 16:21:29
db.config
Original:
had to remove "integrated security=SSPI" and add UID & PWD
Am not much in to MsSQL and .net so it might be me that don't understand it, so just a heads up on that one :p .
When "Require User Login:" is enabled :
No logg in box is visible in IE 7
Well actually, I can't get the log Inn box to show at all in IE 7
Seems like the Box HTML ain't being sent out at all
When editing under Administration/Host Setting
Clicking Save, don't take you back to the same pages, but to the Admin main page.
Ill put it up as a BUG as it's annoying to have to click 2 extra times during setting up each page.
But a much improved interface :-d
Viewing a direct (Copy/Paste in browser address bar) link with out permission on the user will generate the following error :
System.NullReferenceException: Object reference not set to an instance of an object.
at YAF.Classes.Base.ForumPage.ForumPage_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
This was Copy/paste a link to the Admin section with a Guest user.
Seems that this only happens when "Require User Login:" is set
Clicking link in new Reply notification mail invoked the "you have tried to access a page you do not have access to.....or something"
Redirected to :
There has been a serious error loading the forum. No futher information is available.
Please contact the administrator if this message persists.
Event log shows :
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at YAF.Controls.ForumStatistics.BindData()
at YAF.Controls.ForumStatistics.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at YAF.Pages.forum.BindData()
at YAF.Pages.forum.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I only got this Event log out because i Had a Tab open in the Admin section.
I can no longer enter the forum without getting the above error.
Posted by: BoSJo - Saturday, 26 January 2008 16:26:47
Forum inaccessible at [url=http://test.bojohansen.no]test.bojohansen.no[/url]
But if i enter a direct link to admin section [url=http://test.bojohansen.no/default.aspx?g=admin_hostsettings]http://test.bojohansen.no/default.aspx?g=admin_hostsettings[/url] i get in.
Posted by: Jaben - Saturday, 26 January 2008 19:38:38
http://test.bojohansen.no worked fine for me.
Posted by: Jaben - Saturday, 26 January 2008 22:37:21
Updated release! Please be sure and test this baby. Hopefully it will be much closer and we can think about a BETA release of v1.9.3.
Posted by: BoSJo - Sunday, 27 January 2008 02:46:05
[quote=Jaben]http://test.bojohansen.no worked fine for me.[/quote]
I deleted the cookies in IE7, and the site displays the login box again.
After login i get the same error again.
Try going to test.bojohansen.no
User: BoSJo_Test
PWD: 123456
After login you get the error, but then paste this in the browser
http://test.bojohansen.no/default.aspx?g=cp_pm
You can surf everything except the forum part.
Should i keep it for debugging, or just overwrite with the new release?
Posted by: Ederon - Sunday, 27 January 2008 04:00:20
[quote=BoSJo][quote=Jaben]Should i keep it for debugging, or just overwrite with the new release?[/quote]
Maybe send us your web.config/app.config as I suspect it's config error. Anyway, have you looked to YAF event log? If you can't reach it via web, look directly to the database.
Posted by: BoSJo - Sunday, 27 January 2008 04:18:55
[quote=Ederon]
Maybe send us your web.config/app.config as I suspect it's config error. Anyway, have you looked to YAF event log? If you can't reach it via web, look directly to the database.
[/quote]
Event log when calling site root with firefox and cookie set on an administrator account.
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at YAF.Controls.ForumStatistics.BindData()
at YAF.Controls.ForumStatistics.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at YAF.Pages.forum.BindData()
at YAF.Pages.forum.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Web.Config and app.config are mailed
Posted by: Ederon - Sunday, 27 January 2008 04:33:45
ok, thanks. I'll look into code responsible for that exception.
Posted by: BoSJo - Sunday, 27 January 2008 08:46:46
When "Require User Login:" is activated, you cannot register a new account.
Clicking the "register" link just throws you the login box.
I cannot get the CAPTCHA to work when registering new user.
No matter how i try to write the text in the image, it tells me that it's wrong.
Works fine for : "Enable CAPTCHA for Post a Message:"
but i find it annoying that it's Case sensitive, as it can be difficult to determine if it's upper or lower case.
New user not yet verified by email gets Password incorrect alert when trying to login.
Perhaps he should get a message to verify his account instead.
mail Notification sends out link like :
http://test2.bojohansen.no/default.aspx?g=posts&m=3#3
Which bring up the page
[quote]
http://test2.bojohansen.no/default.aspx?g=info&i=4#3
Access Denied
You tried to enter a area where you didn't have access.
Continue...
[/quote]
Administration
Link "Board Settings" says "Forum Settings"
Link "Admin Index" don't indicate anywhere that this is where you are
Looks great :-d
Really nice to have found this forum SW where things are really moving forward.
Keep the good work coming guys :-d
Posted by: Ederon - Sunday, 27 January 2008 08:52:07
[quote=BoSJo]When "Require User Login:" is activated, you cannot register a new account.
Clicking the "register" link just throws you the login box.[/quote]
This is already fixed, but I did it just now so it's not in version published here. You may want to dl SVN version, which contains latest source.
Anyway thanks for reporting, it's helping a lot.
Posted by: BoSJo - Sunday, 27 January 2008 09:23:50
[quote=Ederon]
Anyway thanks for reporting, it's helping a lot.
[/quote]
Well thats the least i can do for you guys that are doing all the work
[quote=Ederon]
You may want to dl SVN version, which contains latest source.
[/quote]
Is there a little how to on that?
I Dll'ed the TortoiseSVN and can browse with it.
So I right click "YetAnotherForum.NET"
https://yafdotnet.svn.sourceforge.net/svnroot/yafdotnet/trunk/yafsrc/YetAnotherForum.NET
and downloaded it all.
Is that the way to do it?
Posted by: Ederon - Sunday, 27 January 2008 12:36:42
[quote=BoSJo]So I right click "YetAnotherForum.NET"
https://yafdotnet.svn.sourceforge.net/svnroot/yafdotnet/trunk/yafsrc/YetAnotherForum.NET
and downloaded it all.
Is that the way to do it?[/quote]
Just create new empty directory somewhere, right-click it and choose "SVN Checkout", and checkout this address, not just website:
http://yafdotnet.svn.sourceforge.net/svnroot/yafdotnet/trunk/yafsrc
Posted by: Jaben - Sunday, 27 January 2008 13:44:59
[quote=BoSJo][quote=Ederon]
Maybe send us your web.config/app.config as I suspect it's config error. Anyway, have you looked to YAF event log? If you can't reach it via web, look directly to the database.
[/quote]
Event log when calling site root with firefox and cookie set on an administrator account.
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at YAF.Controls.ForumStatistics.BindData()
at YAF.Controls.ForumStatistics.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at YAF.Pages.forum.BindData()
at YAF.Pages.forum.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Web.Config and app.config are mailed[/quote]
Your problem appears to be with your language localization not being in sync with the english.xml localization.
Directly copy the entries for the forum stats over from the english.xml file.
Copy (from the FORUM page):
MAX_ONLINE
stats_posts
stats_lastpost
stats_members
THEN localize them -- but verify it works.
Posted by: BoSJo - Sunday, 27 January 2008 13:46:45
Thanks Ederon.
I'm Dll'ing VS2008 so i can compile it.
maybe it's about time to do some coding again.....haven't read the .net book i bought some years though :| but it's never to late :)
Posted by: BoSJo - Sunday, 27 January 2008 14:02:53
[quote=Jaben]
Your problem appears to be with your language localization not being in sync with the english.xml localization.
[/quote]
Funny why it happened just by clicking link in new Reply notification mail.....
I'll see if i get the time to try your fix tomorrow.
Thanks :)
Posted by: BoSJo - Sunday, 27 January 2008 14:26:22
Can't disable "Allow Quick Answer:" in admin section
Uncheck it, Save settings, then it's checked again
Test on your own...I've messed allot around with my test setup today.
Posted by: Jaben - Sunday, 27 January 2008 14:31:28
Thanks for all your help testing BoSJo.
Posted by: Ederon - Sunday, 27 January 2008 14:35:06
[quote=BoSJo]Can't disable "Allow Quick Answer:" in admin section
Uncheck it, Save settings, then it's checked again[/quote]
Fixed
Posted by: Jaben - Sunday, 27 January 2008 16:21:49
Zips updated with todays fixes. Thank you everyone for your help.
Posted by: tep - Sunday, 27 January 2008 23:21:56
This updated Alpha is close to Beta ? Is there any exact date for that Jaben ?
Thanks
Posted by: Jaben - Sunday, 27 January 2008 23:33:58
Well, the next couple of weeks are going to be a bit rough for YAF... I'm moving hosting and so I'll be putting a lot of energy into that. (YAF may be down a tad during transitions.) I'd like to be in BETA by the beginning of March (using v1.9.3 on this support forum) -- then RC1 soon after. Ideally v1.9.3 will be released around May.
Posted by: tep - Monday, 28 January 2008 00:35:46
Thanks for reply Jaben :)
Posted by: Lac - Monday, 28 January 2008 23:55:17
Please, include in file name buld number or revision, becose my proxy save to cache archives and i hardly look for changes befor understanding this :cheesy:
Posted by: Minaki - Monday, 4 February 2008 02:29:09
Nice work! I love this software. Just what I was looking for!
Just a couple of (probably minor) things I noticed while installing this version...
I'm using a custom-built provider for Membership and Roles. My membership provider uses an integer to store the ProviderUserKey but this caused an error while creating the admin user with YAF, as YAF's user table stored the ProviderUserKey as a GUID. (Since my site is still under development it wasn't a problem for me, I just changed my provider to use a GUID instead of an integer.)
Also I was thinking it might be nice to be able to select an existing admin user instead of having to create a new one. (Again not an issue for me as my site is still in development.)
Posted by: Don_Thrash - Tuesday, 5 February 2008 05:10:31
Thanks for all the great work guys. I think I am going to be setting up a test environment as well, as long as I can find the machines to do so. We are pumped for 1.9.3.
Posted by: Mek - Tuesday, 5 February 2008 09:07:22
[quote=Don_Thrash]Thanks for all the great work guys. I think I am going to be setting up a test environment as well, as long as I can find the machines to do so. We are pumped for 1.9.3. [/quote]
Run VMWare like everyone else :-)
Posted by: Jaben - Wednesday, 6 February 2008 05:12:25
Was going to release a new alpha but keep finding bugs... so it's coming here with a lot of fixes but since I'm increasing the DB version number I want to pack in quite a few database tweaks.
Alpha v1.9.3.2 should be up tomorrow...
Posted by: tep - Wednesday, 6 February 2008 06:30:24
if you emphasize database modification (stored procedure,table etc) seperetaly, it will be better.
Posted by: Don_Thrash - Wednesday, 6 February 2008 07:38:51
[quote=Mek][quote=Don_Thrash]Thanks for all the great work guys. I think I am going to be setting up a test environment as well, as long as I can find the machines to do so. We are pumped for 1.9.3. [/quote]
Run VMWare like everyone else :-)
[/quote]
scary man, scary...these are dev machines, its my personal machine, VMWare will kill it. Although I could set one up at my work...hmmmmm
Posted by: guest - Wednesday, 6 February 2008 17:13:15
Upgraded to v1.9.3 -- smooth process...
Posted by: Jaben - Wednesday, 6 February 2008 19:00:28
[quote=ბესო]Upgraded to v1.9.3 -- smooth process...[/quote]
Uh-oh... Watch out. That version of v1.9.3 has some major issues.
PLEASE UPGRADE ALPHA v1.9.3.2 immediately before you do any pasword resetting (that's where the bug is).
Posted by: Jaben - Wednesday, 6 February 2008 19:20:07
v1.9.3.2 has been released with a load of fixes! It has a new DB version so for v1.9.3 you'll need to run install. (It will run automatically though.)
Posted by: tep - Wednesday, 6 February 2008 21:51:25
when i try to compile source code, the error below is shown. I check that file , it is not exist there indeed.
[quote]
Error 47 Source file 'C:\Inetpub\wwwroot\yaf-v1.9.3.2-alpha\YAF.Controls\VoteBar.cs' could not be opened ('The system cannot find the file specified. ') YAF.Controls
[/quote]
and the bug in
[url=http://forum.yetanotherforum.net/yaf_postst5423_Problem-in-YAF-v193-ALPHA-UPDATED-1272008--2.aspx]
http://forum.yetanotherforum.net/yaf_postst5423_Problem-in-YAF-v193-ALPHA-UPDATED-1272008--2.aspx
[/url]
did not fixed ? Code is same.
TEP
Posted by: Jaben - Wednesday, 6 February 2008 23:02:35
[quote=tep]
when i try to compile source code, the error below is shown. I check that file , it is not exist there indeed.
[quote]
Error 47 Source file 'C:\Inetpub\wwwroot\yaf-v1.9.3.2-alpha\YAF.Controls\VoteBar.cs' could not be opened ('The system cannot find the file specified. ') YAF.Controls
[/quote]
and the bug in
[url=http://forum.yetanotherforum.net/yaf_postst5423_Problem-in-YAF-v193-ALPHA-UPDATED-1272008--2.aspx]
http://forum.yetanotherforum.net/yaf_postst5423_Problem-in-YAF-v193-ALPHA-UPDATED-1272008--2.aspx
[/url]
did not fixed ? Code is same.
TEP
[/quote]
Hmm. Thought Mek was going to do that. Anyway, both very minor things are fixed and the release has been updated.
EDIT: VoteBar.cs is not needed. You can just remove.
Posted by: guest - Wednesday, 6 February 2008 23:51:01
[quote=Jaben][quote=ბესო]Upgraded to v1.9.3 -- smooth process...[/quote]
Uh-oh... Watch out. That version of v1.9.3 has some major issues.
PLEASE UPGRADE ALPHA v1.9.3.2 immediately before you do any pasword resetting (that's where the bug is).[/quote]
OK, thnkz...
Posted by: tep - Wednesday, 6 February 2008 23:54:55
What about new structure of email templates. It is located in xml files anmymore but when i open the english.xml file it is displayed as shown below
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Password Retrieval</title>
<style type="text/css">
<!--
.style1 {font-family: Verdana, Arial, Helvetica, sans-serif}
-->
</style>
</head><body>
<p class="style1"> A new password has been generated for you on <b>{forumname}</b> at <a href="{forumlink}">{forumlink}</a>.</p>
<p class="style1"> Please return to the site and log in using the following information:</p>
<blockquote><span class="style1">
User Name: <b>{username}</b><br />
Password: <b>{password}</b></span></blockquote>
</body>
</html>
is it correct ? any exact reason placing < , > instead of < > ?
Posted by: Jaben - Wednesday, 6 February 2008 23:57:40
It's in a XML file so it has to be escaped.
If you just leave the HTML section blank it will just ignore it.
If you have a design-time HTML editor just copy the source code from your email HTML into the design side of it.
Then you'll have your escaped HTML in the source.
Posted by: guest - Wednesday, 6 February 2008 23:58:44
[quote=ბესო][quote=Jaben][quote=ბესო]Upgraded to v1.9.3 -- smooth process...[/quote]
Uh-oh... Watch out. That version of v1.9.3 has some major issues.
PLEASE UPGRADE ALPHA v1.9.3.2 immediately before you do any pasword resetting (that's where the bug is).[/quote]
OK, thnkz...[/quote]
Plz
Write about "Full text search" -- installation shows some problem there -- what is to be done?
Are some changes to be done inside database?
Is full text search possible for Unicode texts?
Posted by: tep - Thursday, 7 February 2008 00:11:05
OK, I got it.
How can you decide which email type (text / html) will be used ?
Posted by: tep - Thursday, 7 February 2008 00:19:20
while creating new user ; (using dev-recommended-web.config as web.config)
[quote]
Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
Source Error:
Line 129: // copy password to hash buffer + salt
Line 130: System.Buffer.BlockCopy( unencodedBytes, 0, buffer, 0, unencodedBytes.Length );
Line 131: if ( useSalt ) System.Buffer.BlockCopy( saltBytes, unencodedBytes.Length - 1, buffer, unencodedBytes.Length - 1, saltBytes.Length );
Line 132:
Line 133: // Check Encoding format / method
Source File: C:\Inetpub\wwwroot\yaf-v1.9.3.2-alpha\YAF.Providers\Membership\YafMembershipProvider.cs Line: 131
[/quote]
Posted by: guest - Thursday, 7 February 2008 00:57:09
[b]tep[/b], i got this error too. (but i'm using recommended-web.config)
this error appears to me not only while creating new user, but while login too)
Posted by: Jaben - Thursday, 7 February 2008 01:11:29
k... I need to test this "recommended configuration" a bit more. That's a nice off by one bug I need to fix.
[quote]How can you decide which email type (text / html) will be used ?[/quote]
It's not either/or. It's Text or Text AND Html. The view is decided by the email client -- if they support HTML they'll display the HTML... if they don't they'll display text.
Put a BLANK _HTML entry in the language resource and it will not send an HTML version of the message -- just a text.
Posted by: Jaben - Thursday, 7 February 2008 01:25:16
New release addresses this exception... Thanks for your testing help guys.
Posted by: tep - Thursday, 7 February 2008 02:35:57
thanks for info :)
in the mean there is no text & html type (EMAILTOPIC_TEXT & EMAILTOPIC_HTML) for tagged EMAILTOPIC.
may be you forgot that
Posted by: tep - Thursday, 7 February 2008 03:03:36
one more thing.
With this new email template structure you also fixed language based character display in email subject & from fields ?
Posted by: Jaben - Thursday, 7 February 2008 03:25:48
There is no TEXT and HTML type for EMAILTopic correct. It's not an email. It's just a template that's used on the site to send a email topic.
Well, I modified the code so yes, I hope the character display (Unicode) works properly now. Remember that sometimes its the email clients that have the limitations -- so I doubt it works perfectly everywhere.
Posted by: tep - Thursday, 7 February 2008 05:06:45
OK Jaben, Let's try & see :)
When new updated alpha will be ready ?
TEP
Posted by: Jaben - Thursday, 7 February 2008 13:51:27
tep... the latest version is up. v1.9.3.3
Posted by: guest - Friday, 8 February 2008 02:29:33
Upgrading 1.9.3.2 to 1.9.3.2 error
Posted by: guest - Friday, 8 February 2008 02:36:08
Can't attach image...
Erros is about:
procedures.sql
object is already
yaf_checkmail_list
Posted by: guest - Friday, 8 February 2008 02:41:31
missing...
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[{databaseOwner}].[{objectQualifier}checkemail_list]') AND OBJECTPROPERTY(id,N'IsProcedure') = 1)
DROP PROCEDURE [{databaseOwner}].[{objectQualifier}checkemail_list]
GO
Posted by: Ederon - Friday, 8 February 2008 06:31:44
[quote=ბესო]missing...
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[{databaseOwner}].[{objectQualifier}checkemail_list]') AND OBJECTPROPERTY(id,N'IsProcedure') = 1)
DROP PROCEDURE [{databaseOwner}].[{objectQualifier}checkemail_list]
GO[/quote]
I've fixed this yesterday probably just few moments before Jaben released it.
Posted by: airsickmoth - Friday, 8 February 2008 13:34:25
Hey, this causes an SQL error when the script gets this far when I am updating a DB that was 1.9.3.x to 1.9.3.3
Line 553 in contraints.sql
[code]
if not exists(select 1 from dbo.sysindexes where id=object_id('[{databaseOwner}].[{objectQualifier}User]') and name='PK_{objectQualifier}User')
alter table [{databaseOwner}].[{objectQualifier}User] with nocheck add constraint [PK_{objectQualifier}User] primary key clustered(UserID)
go
[/code]
I commented it out and it finished the upgrade A-OK.
Great update BTW!
Posted by: Demigod - Friday, 8 February 2008 17:23:18
I am attempting to dpgrade from v1.9.1 to v1.9.3.3. I've integrated it into my VS2008 project. I was running the upgrade/install when I received an error.
--------------------------------------------------------------------------------
The parameter 'username' must not contain commas.
Parameter name: username
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
[code]Exception Details: System.ArgumentException: The parameter 'username' must not contain commas.
Parameter name: username
Source Error:
Line 190: {
Line 191: RoleMembershipHelper.SyncRoles( PageBoardID );
Line 192: RoleMembershipHelper.SyncUsers( PageBoardID );
Line 193: }
Line 194: e.Cancel = false;
Source File: c:\Projects\Delta\forum\install\default.aspx.cs Line: 192 [/code]
I have found that 2 users have commas in their name. Now that the install has aborted... where do i go from here? If I correct the usernames and start over will it actualy start over and work?
Posted by: Demigod - Friday, 8 February 2008 18:40:52
I fixed the names, erased all the tables, views, procedures and functions that were created and started over. It worked... sort of.
Once it was done I went to view the forum and received this error:
[code]Server Error in '/' Application.
--------------------------------------------------------------------------------
Specified cast is not valid.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidCastException: Specified cast is not valid.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidCastException: Specified cast is not valid.]
YAF.Classes.Utils.Mession.get_LastVisit() +99
YAF.Classes.Base.ForumPage.ForumPage_Load(Object sender, EventArgs e) +481
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 [/code]
I have NO idea... I do remember altering the original User DB to add a few fields of my own to make the user accounts more integrated into my website, but I don't recall altering the LastVisit field. Any idea on this one?
Posted by: Demigod - Friday, 8 February 2008 19:00:13
I got it to work. How dare I already have a session variable called LastVisit... what was I thinking.
That brings me to another problem. When I go to Log In, the header and footer are there, but there is nothing in between. I've commented out all of the session variables I was using in my site just to make sure it wasn't something else, but it's still not working. I've checked the Event Log table and there is nothing after the last Invalid cast error.
Posted by: Demigod - Friday, 8 February 2008 20:37:33
All is good. I was still dropping cookies with my own code and that seemed to be messing things up.
One thing to add to the docs is to make sure to move all of your themes over to the new system before accessing it.
Oh, one more thing, none of my profile information was moved over during the upgrade. My name, password, email.. that was all moved, but the other stuff About Me, Location, Home page.. all those things seem to be missing from my profile on the upgraded site....
Posted by: eddr666 - Monday, 25 February 2008 08:36:23
Installed 1.9.3.3 & it's working, but there is a message error when I try to expand/collapse any windows in the main page - Active Discussions, for example.
It says that there was an error in 'gettitle' function.
I'm using English.
Posted by: guest - Thursday, 6 March 2008 12:38:01
Hello, I'm installing the 1.9.3.3 Alpha and getting a windows dialog error that "Keyword not supported: 'id'."
I'm trying to initialize/upgrade database. This is a new install against SQL 2000.
What do i need to change to make the install work against sql 2000?
Posted by: guest - Thursday, 6 March 2008 13:06:17
Sorry, forgot to add where it is occuring.
when installing a new instance it breaks here:
private void FixAccess( bool bGrant )
{
using ( YAF.Classes.Data.YafDBConnManager connMan = new YafDBConnManager() )
Posted by: Demigod - Thursday, 6 March 2008 18:45:45
Is there some kind of roadmap for this Alpha version that can give me some idea what kind of progress is being made and when we might see a Beta or final release?
Posted by: Lac - Thursday, 13 March 2008 03:17:07
Dear authors, if it will not take a cost, tell please when next build will be posted? :) our users wait it very much :)
Posted by: Demigod - Saturday, 15 March 2008 08:17:14
So when are we going to see another update to 1.9.3? I'm getting anxious!
Posted by: ReFleX - Wednesday, 19 March 2008 12:59:15
When will be ready Release version of forum:?:
Posted by: Ederon - Wednesday, 19 March 2008 14:35:37
I can say for myself I'll try to do something for YAF this week(end).
Posted by: Sirusdv - Sunday, 23 March 2008 20:32:18
[quote=Ederon]I can say for myself I'll try to do something for YAF this week(end).[/quote]
*crosses fingers*
Posted by: Demigod - Sunday, 23 March 2008 20:34:25
[quote=Sirusdv]*crosses fingers*[/quote]
I'm with ya.
Posted by: Kaan1983 - Monday, 24 March 2008 05:16:39
hey, me too!
Do you have any time estimation when an update will be released?
Posted by: airsickmoth - Monday, 24 March 2008 14:01:56
1.9.3 is working great. And the team moves fast on all the bugs that come up, which aren't show stopper bugs by any means. I don't think there are any significant problems with it that's keeping it from going Beta soon. Once the context thing is settled, I think it's just cosmetic and feature enhancements.
Posted by: guest - Monday, 24 March 2008 20:34:33
Great work!
Posted by: Demigod - Tuesday, 25 March 2008 16:00:34
Is anyone else having a problem with the yaf_prov_Profile table being populated after an upgrade from 1.9.1? Mine is empty... is is supposed to be?
Posted by: Jaben - Wednesday, 26 March 2008 04:15:44
Are you using the YAF profile provider?
Posted by: sastry.kodavanti - Wednesday, 26 March 2008 08:44:57
I have successfully installed YAF v1.9.1.7 version but When i am trying to install YAF v1.9.3.3 freshly (it is not update), i am getting the following error:
[b]There has been a serious error loading the forum. No futher information is available.
Please contact the administrator if this message persists. [/b]
The instructions in install.txt sre in brief, where can i find the detailed installation guide.
Help me out please... :( :( :(
Posted by: Demigod - Wednesday, 26 March 2008 08:47:29
Yes, I am using the Yaf Provider.
Posted by: Kaan1983 - Wednesday, 26 March 2008 09:24:05
Hi, I'm trying to integrate YAF 1.9.3.3 to my existing application under the folder 'forum'
I moved all the .dll's under the bin folder and App_Code/YAF directory under my App_Code directory.
I combined all the config files under my web.config file
Now I'm getting this error:
'/forum/pages/forum.ascx' virtual path points another not-permited application
Error Source:
Satır 79: try
Satır 80: {
Satır 81: YAF.Classes.Base.ForumPage forumControl = ( YAF.Classes.Base.ForumPage ) LoadControl( src );
Satır 82: forumControl.PageTitleSet += new EventHandler( forumControl_PageTitleSet );
Satır 83:
Kaynak Dosya: c:\Documents and Settings\Kaan\Desktop\EM-YAF\App_Code\YAF\Forum.cs Satır: 81
Yığın İzleme:
[ArgumentException: '/forum/pages/forum.ascx' sanal yolu izin verilmeyen başka bir uygulamayı gösteriyor.]
System.Web.VirtualPath.FailIfNotWithinAppRoot() +3199906
System.Web.Compilation.BuildManager.ValidateVirtualPathInternal(VirtualPath virtualPath, Boolean allowCrossApp, Boolean codeFile) +3480984
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +102
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93
System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) +76
System.Web.UI.TemplateControl.LoadControl(String virtualPath) +23
YAF.Forum.Forum_Load(Object sender, EventArgs e) in c:\Documents and Settings\Kaan\Desktop\EM-YAF\App_Code\YAF\Forum.cs:81
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Any help would be greatly appreciated.
Thanks in advence.
Posted by: vladk - Wednesday, 26 March 2008 19:10:51
Hi there.
Has anybody successfully integrated this new version into another application?
Wiki talks about the previous version but because of custom providers I need to use 1.9.3
I already have a site running and I would like to stick YAF in there as control, sounds easy enough but so far it's a no go with this new version. If anyone has done this, could you please help me out?
I've merged web.config, I tried adding app_code/yaf to my web site, I tried registering different DLLs and so on, still no luck.
Thanks
Posted by: Kaan1983 - Friday, 28 March 2008 05:58:41
Sorry for my previous post, I found some documentation. I'll give a try and ask if problems occur...
Posted by: Kaan1983 - Friday, 28 March 2008 09:37:49
I went through the documentation but unfortunately that doesn't work neither.
Could you please give some hints about how to embed latest version into an existing web site?
-Is it ok to make necessary yaf configuration in my existing web.config file?
Posted by: vladk - Friday, 28 March 2008 09:55:38
[quote=Kaan1983]I went through the documentation but unfortunately that doesn't work neither.
Could you please give some hints about how to embed latest version into an existing web site?
-Is it ok to make necessary yaf configuration in my existing web.config file?[/quote]
You have to merge the files. Even after merging web.config and doing everything I could think of I still can't get it to run in embedded mode. I copeid YAF to App_Code, I copied all dlls, I updated root web.config with all the info from YAF web.config and from db.config/app.config. It still doesn't work. I'm going crazy here, it should be a relatively simple procedure but for some reason it just doesn't work.
Posted by: Kaan1983 - Friday, 28 March 2008 10:01:13
Exact same situation here! I did merge config files already but I was thinking if I'm doing wrong.
What error r u getting vladk?
Posted by: vladk - Friday, 28 March 2008 11:17:12
[quote=Kaan1983]Exact same situation here! I did merge config files already but I was thinking if I'm doing wrong.
What error r u getting vladk?[/quote]
I've tried many different things and ended up with different errors.
I am not sure which one was the closest to the solution. That's actually the reason I am having a tough time solving this. It's like I'm running in circles, I fix one thing, another one breaks. I'll give it one more try and then look into some other board, too bad asp.net doesn't really have anything of vBulletin caliber.
Posted by: Kaan1983 - Friday, 28 March 2008 13:58:25
Hehe we are experiencing the same things currently. I'll wait a bit for some fixes, and at least for a beta, then maybe there'll be some documentation to follow :)
Posted by: Kaan1983 - Saturday, 29 March 2008 00:06:10
this friend of mine got some permision problems: YAF.Classes.Base.ForumPage
(Forum.cs Line 81)
hoping to get some ideas guys, so that I can work around.
Posted by: Jaben - Saturday, 29 March 2008 01:41:50
Please post in the Bugs & Problems v1.9.3.3. This is not the place to discuss this problem.
Posted by: Kaan1983 - Saturday, 29 March 2008 02:37:02
Sorry, I moved my post, please feel free to delete these ones
Posted by: ash360 - Monday, 31 March 2008 04:56:38
what is the latest stable version of yaf, i am currently using 1.9.1.6
is 1.9.3.3 ready to use, or still being tested , i realy would love to upgrade
thanks for the efforts
Posted by: Ederon - Monday, 31 March 2008 05:03:42
[quote=ash360]what is the latest stable version of yaf, i am currently using 1.9.1.6
is 1.9.3.3 ready to use, or still being tested , i realy would love to upgrade
thanks for the efforts
[/quote]
1.9.1.7 is latest stable, 1.9.3.x is alpha
Posted by: herman_herman - Friday, 11 April 2008 23:46:21
Hi
Just to ask if there is going to be any update to 1.9.3.probably 1.9.3.4 or the beta version.
To me it is stable enough to enter Beta!
Thanks
Posted by: Ederon - Sunday, 13 April 2008 04:13:11
Yes, there will be at least beta followed by RC or FINAL. Depending on how stable/ready it is. Now we struggle with lack of time for this project, which might hopefully get better in some time.
Posted by: jdadojr - Monday, 14 April 2008 03:59:22
Hi there yavdevs, currently I am stress testing your yaf. Putting in around 40K users and 3Million posts.
As I have noticed, slowdowns and bottlenecks causing sql timeouts are in the sql aggregation queries.
You may need to have tables for computed colums and sql jobs to update those tables.
Keep up the good work anyway..
Posted by: sastry.kodavanti - Monday, 14 April 2008 09:37:33
Updated
Posted by: Jaben - Tuesday, 15 April 2008 01:32:57
[quote=jdadojr]Hi there yavdevs, currently I am stress testing your yaf. Putting in around 40K users and 3Million posts.
As I have noticed, slowdowns and bottlenecks causing sql timeouts are in the sql aggregation queries.
You may need to have tables for computed colums and sql jobs to update those tables.
Keep up the good work anyway..
[/quote]
Which version of YAF? It would be of great assistance if you could provide some specifics on which database functions are exponentially slower.
Posted by: jdadojr - Tuesday, 15 April 2008 03:25:23
i noticed that most of the sql's on 1.9.1.8 and 1.9.3.3 are the same
anyway here are some stored procedures that slows down on me
---------------------------
alter procedure [dbo].[yaf_board_stats]
..
...
-- On this else routine 'passing an int parameter to boardid
-- always resulted in sql timeout, that is less than a million posts.
-- I have to alternative but remove this and just use the first select.
-- The error in the forum is when you click the admin link
else begin
select
NumPosts = (select count(1)
from [dbo].[yaf_Message] a
join [dbo].[yaf_Topic] b ON a.TopicID=b.TopicID
join [dbo].[yaf_Forum] c ON b.ForumID=c.ForumID
join [dbo].[yaf_Category] d ON
...
...
---------------------------
alter procedure [dbo].[yaf_forum_listread]
..
..
x.ReadAccess
from
[dbo].[yaf_Category] a
join [dbo].[yaf_Forum] b on b.CategoryID=a.CategoryID
join [dbo].[yaf_vaccess] x on x.ForumID=b.ForumID
left outer join [dbo].[yaf_Topic] t ON t.TopicID = [dbo].[yaf_forum_lasttopic](b.ForumID,@UserID,b.LastTopicID,b.LastPosted)
-- the above line of yaf_forum_lasttopic will definitely slow down the
-- main page, sometime an error, most of the the time too slow.
-- what I do is just to replace it with just this
-- ON t.TopicID = b.LastTopicID
----------------
Posted by: Jaben - Tuesday, 15 April 2008 15:24:12
Where is this "million post" forum?
Posted by: jdadojr - Tuesday, 15 April 2008 18:10:41
this is my experimental yaf forum
now on 2Million post
http://216.128.24.132/
------
also on the
ALTER procedure [dbo].[yaf_forum_moderators]
...
...
from
[dbo].[yaf_vaccessfull]
...
-- i have to replace it with
-- [dbo].[yaf_vaccessfull_mods]
-- that is specifically targeted to moderators
-- else sql timeout will occur..
Posted by: Jaben - Tuesday, 15 April 2008 22:25:09
Yes, that is a large forum. I wish I had such a large forum to mess with so I could do performance testing with it.
I can see it needs performance tuning -- page generation times are in the 25+ second arena.
You running the SQL DB on a dedicated box? What kind of IO? RAID 5 array of 15K SCSI drives? How much ram? 8GBs?
This DB has to have massive IO and RAM requirements.
What forum were you running before -- on what DB?
Posted by: jdadojr - Tuesday, 15 April 2008 23:12:09
I again made some modification and make it a litte faster now.
I can see that the yaf_topic_latest will return all the
topics that a user has rights to(all 13K of topics that is).
I modify the yaf_topic_latest to return nothing at all
and looks like there is no effect on the forum itself but much faster response.
Our last forum was a hosted IPB but since we are being hacked time and
again we transfer to CS forum. However it looks like that CS
also suffer from some sort of slowdown to death.
Now I am trying your Yaf, hoping this will make a difference.
Posted by: Jaben - Tuesday, 15 April 2008 23:27:17
YOu need to need some good hardware on that SQL database machine...
Posted by: Jaben - Tuesday, 15 April 2008 23:31:29
[quote=jdadojr]I again made some modification and make it a litte faster now.
I can see that the yaf_topic_latest will return all the
topics that a user has rights to(all 13K of topics that is).
I modify the yaf_topic_latest to return nothing at all
and looks like there is no effect on the forum itself but much faster response.
[/quote]
yaf_topic_latest does not return all topics...
That's what this line is for:
SET ROWCOUNT @NumPosts
Posted by: jdadojr - Tuesday, 15 April 2008 23:47:39
your right, i will look more on this
Posted by: Jaben - Wednesday, 16 April 2008 00:10:07
Can you answer the question about the db hardware? I will take further discussion about performance with a grain of salt if you aren't talking about serious hosting.
YAF is DB intensive. SQL Server is resource intensive. There are no free lunches.
Of course, improvements can be made... but I have to know [b]you[/b] are being realistic with your expectations.
Are you using "shared" SQL Server hosting?
Posted by: jdadojr - Wednesday, 16 April 2008 00:37:41
We are using a dedicated Xeon Quad 1.86 Ghz with 1GRam, Serial ATA/Raid 5
these are the only hardware details that I know of.
IIS also resides on this machine
Posted by: Jaben - Wednesday, 16 April 2008 00:39:16
GET MORE RAM. That is WAY, WAY too little ram for a server that is running both IIS and SQL Server.
Minimum 3GB -- the more the better.
Also... we're talking "real" SQL server here, right? Not SQL Server Express?
Posted by: Jaben - Wednesday, 16 April 2008 00:42:33
Also... that could explain your speed problems... The ASP.NET caching mechinism doesn't work AT ALL with low RAM resources. It's considered "low priority" and with low system resources it will constantly push the cache out of memory creating a sitution where nothing is cached... so a trip to the DB every time.
If in fact, you are running 1GB of ram. (Please double-check.)
Posted by: jdadojr - Wednesday, 16 April 2008 01:11:08
yes its a real mssql
more memory, hmmm..
okey i will try to have it upgraded..
Posted by: agibby5 - Wednesday, 16 April 2008 05:38:51
[quote=jdadojr]yes its a real mssql
more memory, hmmm..
okey i will try to have it upgraded..[/quote]
RAM is really, really cheap right now too... no reason not to upgrade.
Posted by: Jaben - Wednesday, 16 April 2008 14:56:31
[quote=agibby5]
RAM is really, really cheap right now too... no reason not to upgrade.[/quote]
That's not true across the board. DDR3 is not cheap. DD2 is cheap... but it could be an older server which requires DDR.
Posted by: agibby5 - Wednesday, 16 April 2008 15:30:31
[quote=Jaben][quote=agibby5]
RAM is really, really cheap right now too... no reason not to upgrade.[/quote]
That's not true across the board. DDR3 is not cheap. DD2 is cheap... but it could be an older server which requires DDR.[/quote]
Not always true... but given the specs he mentioned, I figured it was DDR or DDR2, both are very affordable right now.
Posted by: herman_herman - Tuesday, 22 April 2008 03:40:24
[quote=jdadojr]Hi there yavdevs, currently I am stress testing your yaf. Putting in around 40K users and 3Million posts.
As I have noticed, slowdowns and bottlenecks causing sql timeouts are in the sql aggregation queries.
You may need to have tables for computed colums and sql jobs to update those tables.
Keep up the good work anyway..
[/quote]
Hi
How do you stress test YAf in this way.i mean putting data in the forum.All of the software i have seen so far just test the SQL itself.
Thanks
Posted by: Demigod - Friday, 2 May 2008 17:23:49
It's been some time since any progress was posted on the status of 1.9.3. Is it any closer to beta or release?
Posted by: Mek - Saturday, 3 May 2008 01:09:06
We're still fixing bugs as our time on the project allows, it's getting there.. just slowly.