|
Tuesday, May 27, 2008(UTC)
|
|
Tuesday, April 06, 2010 8:02:09 AM(UTC)
|
37 [0.10% of all post / 0.04 posts per day] |
|
0
(View Thanks)
|
|
0
|
|
0
|
View All Posts by User
|
Thanks, yes that turns it off which helps, but really I want to keep it enabled and have the link point to my current integrated site login link???
|
|
Retried with default connectionstring, the test forum doesnt show after creation.
My dataproviders just call the yaf ones, so no problems there for integration.
|
|
Not sure if I am missing something here, I disabled registration in 1.9.4RC1 as i am intergrating with my custom site and added a custom login page, however when I click login it defaults to the YAF login?
|
|
Not sure whats going on here yet, but :-
1) every user that logs in is being logged in as admin.
(Note I am integrating YAF-MySQL with an existing site).
2) the categories and forums are not showing after using sql to fill them as in following example, and removing the default test ones (note they show in the admin console).
call yaf_category_save(1, 0, 'Cat', 50, NULL); call yaf_forum_save(0, 2, NULL, 'Forum', 'Desc', 50, 0, 0, 0, 0, NULL, NULL, 1);
Note these errors were not reproducable in MSSQL version.
Also note it could be due to my MySQL connection string GUIDs maybe? I will retest and try and provide more details.
|
|
So far so good, as a fairly confident developer would this release be safe to use (from an upgradeable to final release point of view)?
|
|
I can install v1.9.3 MySQL final without any issues. I need case sensitive for my main (parent) website. The root user also works in 1.9.3.
I will try and get more info for you on 1.9.4.
Edit: My BAD! Had the databasename in the app.config and schema I created in mysql with different cases ie "forums" and "Forums". All installed now! Will start testing.
|
|
Thanks mate, I use localhost to test from XP IIS, version 5.1 I think!? and MySQL v5.1
When I comment out that section it happens on the next one too (checkemail).
Could this be a permission error? Note I use the 'root' user as my user to install. I am also runnning the forums in a subfolder from the main app.
Edit: I also use case sensitive table names.
|
|
Error when trying to install MYSQL version RC1 as follows;
FILE: mysql/indexes.sql
ERROR: Error on rename of '.\forums\yaf_Buddy' to '.\forums\#sql2-798-9' (errno: 121)
STATEMENT: CALL forums.yaf_add_or_check_indexes(); 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: FILE: mysql/indexes.sql
ERROR: Error on rename of '.\forums\yaf_Buddy' to '.\forums\#sql2-798-9' (errno: 121)
STATEMENT: CALL forums.yaf_add_or_check_indexes();
Source Error:
Line 6434: catch (Exception x) Line 6435: { Line 6436: throw new Exception(String.Format("FILE:\n{0}\n\nERROR:\n{2}\n\nSTATEMENT:\n{1}", scriptFile, sql, x.Message)); Line 6437: } Line 6438: }
Source File: C:\Projects\YAF_1.9.4RC1_MYSQL_SRC\YAF.Classes\YAF.Classes.Data\DB.cs Line: 6436
Stack Trace:
[Exception: FILE: mysql/indexes.sql
ERROR: Error on rename of '.\forums\yaf_Buddy' to '.\forums\#sql2-798-9' (errno: 121)
STATEMENT: CALL forums.yaf_add_or_check_indexes();] YAF.Classes.Data.DB.system_initialize_executescripts(String script, String scriptFile, Boolean useTransactions) in C:\Projects\YAF_1.9.4RC1_MYSQL_SRC\YAF.Classes\YAF.Classes.Data\DB.cs:6436 YAF.Install._default.ExecuteScript(String scriptFile, Boolean useTransactions) in c:\Inetpub\wwwroot\Forums\install\default.aspx.cs:1365 YAF.Install._default.UpgradeDatabase(Boolean fullText) in c:\Inetpub\wwwroot\Forums\install\default.aspx.cs:999 YAF.Install._default.Wizard_NextButtonClick(Object sender, WizardNavigationEventArgs e) in c:\Inetpub\wwwroot\Forums\install\default.aspx.cs:619 System.Web.UI.WebControls.Wizard.OnNextButtonClick(WizardNavigationEventArgs e) +108 System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +418 System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +19 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37 System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +118 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
|
|
Again similar issue, page in a loop redirect to http://localhost/yaf/default.aspx?g=info&i=7. I attached IIS to the debugger and found that the 'ASPNET' user needed to be added to the database and given 'db_owner' role to allow IIS to access the database.
|
|
I have a roll your own membership and profile system, so what would be the best way too?
Couldnt we just make a call to the YAF membership provider when creating a new user and logging in?
|
|