|
|
 Rank: YAF Commander

Joined: 3/28/2008 Posts: 121 Location: New York
|
i ve upgraded form 1.9.1.8 to 1.9.3 beta , after browsing through 5 pages in the fourums it became extremly slow , and stuck , after refresing the page , it loged out from the admin account , i tried to sign in again , i got access denied msg , after that the forums wont work at all , it shows: page connot be displayed as if there is no website at all. i didnt do any modifications in the settings at all , just browsing and viewing posts tried restoring the database of the old version and upgrading one more time but it didnt work , it did exactly the same thing before. what could be the problem i am using godaddy shared hosting , i am runnung annother fourm 1.9.1.8 and its running perectly note: i did migrate the Yafdatabase from a yaf 1.9.1.8 to a new domain and did the upgrade , could that be the problem?Visit my Forums: FORUMZ360.com
|
|
|
 Rank: YAF Commander

Joined: 3/28/2008 Posts: 121 Location: New York
|
hi again i tried reinstalling and i got this error( i still didnt modify anything, just an upgrade) after the upgrade the error below shows up after i did the same things in the post above , when it comes to the point where i get "page connot be displayed" as if there is no website at all i tried to reinstall and i got this Code:Server Error in '/' Application. --------------------------------------------------------------------------------
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. 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.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
Source Error:
Code:The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration> <system.web> <compilation debug="true"/> </system.web> </configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario. Stack Trace: Code:HttpException (0x80004005): Unable to validate data.] System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +294 System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +203
[ViewStateException: Invalid viewstate. Client IP: 69.115.238.80 Port: 59174 User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; .NET CLR 3.5.21022) ViewState: /wEPDwULLTE1Mjc2MDU1NTkPZBYCAgMPZBYCAgEPPCsADwEOaBYCZg9kFgICAQ9kFgJmD2QWAmYPZBYCAgMPZBYEAgMPEA8WAh4LXyFEYXRhQm91bmRnZBAVHiIoR01UIC0gMTI6MDApIEVuaXR3ZXRvaywgS3dhamFsaWVuIihHTVQgLSAxMTowMCkgTWlkd2F5IElzbGFuZCwgU2Ftb2EUKEdNVCAtIDEwOjAwKSBIYXdhaWkTKEdNVCAtIDk6MDApIEFsYXNrYScoR01UIC0gODowMCkgUGFjaWZpYyBUaW1lIChVUyAmIENhbmFkYSkoKEdNVCAtIDc6MDApIE1vdW50YWluIFRpbWUgKFVTICYgQ2FuYWRhKTQoR01UIC0gNjowMCkgQ2VudHJhbCBUaW1lIChVUyAmIENhbmFkYSksIE1leGljbyBDaXR5PChHTVQgLSA1OjAwKSBFYXN0ZXJuIFRpbWUgKFVTICYgQ2FuYWRhKSwgQm9nb3RhLCBMaW1hLCBRdWl0bzQoR01UIC0gNDowMCkgQXRsYW50aWMgVGltZSAoQ2FuYWRhKSwgQ2FyYWNhcywgTGEgUGF6GShHTVQgLSAzOjMwKSBOZXdmb3VuZGxhbmQ7KEdNVCAtIDM6MDApIEJyYXppbCwgQnVlbm9zIEFpcmVzLCBHZW9yZ2V0b3duLCBGYWxrbGFuZCBJcy4zKEdNVCAtIDI6MDApIE1pZC1BdGxhbnRpYywgQXNjZW50aW9uIElzLiwgU3QgSGVsZW5hJyhHTVQgLSAxOjAwKSBBem9yZXMsI...]
[HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.] System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +267 System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +282 System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4 System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37 System.Web.UI.HiddenFieldPageStatePersister.Load() +198 System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83 System.Web.UI.Page.LoadAllState() +35 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213 System.Web.UI.Page.ProcessRequest() +86 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.install_default_aspx.ProcessRequest(HttpContext context) +4 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 Visit my Forums: FORUMZ360.com
|
|
|
 Rank: YAF Commander

Joined: 3/28/2008 Posts: 121 Location: New York
|
forum very slow , Internet Explorer cannot display the webpage Visit my Forums: FORUMZ360.com
|
|
|
 Rank: YAF Head Dude

Joined: 10/10/2004 Posts: 2,950 Location: Honolulu, HI
|
http://forum.yetanotherf...te-MAC-failed-error.aspx"When you are grateful, fear disappears and abundance appears”." 
|
|
|
 Rank: YAF Commander

Joined: 3/28/2008 Posts: 121 Location: New York
|
Jaben wrote:http://forum.yetanotherforum.net/yaf_postst3223_Validation-of-viewstate-MAC-failed-error.aspx jaben thanks a lot man i am sorry i missed that post i used this code as you mentioned in the post Code: <machineKey validationKey="FDC9C9EF51EEA5A28F568E15C9ED4F1BA0632D0C" decryptionKey="48C6BA0179974166BACF21FCC41BBEAB3EF34BD35E1EA86A" decryption="3DES" validation="SHA1" />
and its running perfectly Thnx again sir Visit my Forums: FORUMZ360.com
|
|
|
 Rank: YAF Commander

Joined: 3/28/2008 Posts: 121 Location: New York
|
unfortunately after 12 hours , my forums decided not work again now its displaying Internet Explorer cannot display the webpage how do i do this part , i ve read it in the post you directed me to : This is generally only a problem for spam attacks that are scripted so it's less likely that you would see it unless you were a target *and* you had a fast server. What I've done to since resolve it (I *think) is to disable the controls until Page_LoadComplete()...Visit my Forums: FORUMZ360.com
|
|
|
 Rank: YAF Commander

Joined: 3/28/2008 Posts: 121 Location: New York
|
okay here is whats going on so far i tried upgrading again a few times , and i ve noticed that the forum starts acting slow and crazy and eventualy show Internet Explorer cannot display the webpage ONLY when i view a post .. browsing the forum as an admin and going through the settings and anything else but not the post wont cause issues, but as soon as i click on a post it views it and everything , then when i go to anywhere else it logs out , become slow and eventualy show Internet Explorer cannot display the webpage ... this is killing me Visit my Forums: FORUMZ360.com
|
|
|
 Rank: YAF Head Dude

Joined: 10/10/2004 Posts: 2,950 Location: Honolulu, HI
|
Please supply the EXACT post causing problems. It could be an issue with the new BBCode processing code. Albeit a rare problem -- it can cause 100% CPU usage occasionally. But I need the post so I can test and fix. "When you are grateful, fear disappears and abundance appears”." 
|
|
|
 Rank: YAF Commander

Joined: 3/28/2008 Posts: 121 Location: New York
|
Hi jaben its not only one post , most of the posts are causing the problems here is one : i pressed edit and copied as it is and i put it between quotes Quote:here you go create a new console window then try this code: Read a text file:The following code uses the StreamReader class to open, to read, and to close the text file. You can pass the path name of a text file to the StreamReader constructor to open the file automatically. The ReadLine method reads each line of text and increments the file pointer to the next line as it reads. When the ReadLine method reaches the end of the file, it returns Nothing. Declerations:Code:Code: Dim objStreamReader As StreamReader Dim strLine As String
'Pass the file path and the file name to the StreamReader constructor. objStreamReader = New StreamReader("C:\Boot.ini")
'Read the first line of text. strLine = objStreamReader.ReadLine
'Continue to read until you reach the end of the file. Do While Not strLine Is Nothing
'Write the line to the Console window. Console.WriteLine(strLine)
'Read the next line. strLine = objStreamReader.ReadLine Loop
'Close the file. objStreamReader.Close()
Console.ReadLine()
Write a text file:The following code uses the StreamWriter class to open, to write to, and to close the text file. Similar to StreamReader, you can pass the path name of a text file to the StreamWriter constructor to open the file automatically. The WriteLine method writes a complete line of text to the text file. Code: Dim objStreamWriter As StreamWriter 'Pass the file path and the file name to the StreamWriter constructor. objStreamWriter = New StreamWriter("C:\Testfile.txt")
'Write a line of text. objStreamWriter.WriteLine("Hello World")
'Write a second line of text. objStreamWriter.WriteLine("From the StreamWriter class")
'Close the file. objStreamWriter.Close()
one more thing i ve just noticed that the post is showing wired characters on my forum but not when i posted them here: create a new console window then try this code@ñÒ1664010595êÖ50õæ Read a text file@ñÒ1664010595êÖ51õæ Declerations@ñÒ1664010595êÖ52õæ Code@ñÒ1664010595êÖ53õæ Write a text file@ñÒ1664010595êÖ54õæ if you notice the characters shows after the (colen) symbol ":" and this is in every post not the one i copied if you want here is the link of the forum try going through some posts and see how whats gonna happen i ve just did a fresh upgraded and didnt touch anything so u can try ( the database is from my old forum) 1.9.1.8 Visit my Forums: FORUMZ360.com
|
|
|
 Rank: YAF Head Dude

Joined: 10/10/2004 Posts: 2,950 Location: Honolulu, HI
|
I think one of your replacement or smilies regular expressions is conflicting with the internal replacement code. Please go through your smiles and replacement expression and verify they are larger. For example: this type of smiliy is BAD: That might cause some real problems. "When you are grateful, fear disappears and abundance appears”." 
|
|
|
 Rank: YAF Head Dude

Joined: 10/10/2004 Posts: 2,950 Location: Honolulu, HI
|
I'm modifying the replacement code to be even MORE unique in the RC1. "When you are grateful, fear disappears and abundance appears”." 
|
|
|
 Rank: YAF Commander

Joined: 3/28/2008 Posts: 121 Location: New York
|
thnx man okay so now i have to modify all the smilies codes and use more letters .. dose this include the smilies in the post , if so that means i have to search for the post with smilies in the database and replace them too. i am going to try to export the YAF_message table form the db to xml or csv and do a FIND and REPLACE then do an import. thnx for your help jaben Visit my Forums: FORUMZ360.com
|
|
|
 Rank: YAF Commander

Joined: 3/28/2008 Posts: 121 Location: New York
|
i changed all the smilies to words between colons :smilies: but it still didnt work .. i couldnt modify the posts in the database, its giving me a hard time , i cant import the modifies csv files to the db.. anyway dose this mean in RC1 that problem will be gone ?? Jaben wrote:I'm modifying the replacement code to be even MORE unique in the RC1. Visit my Forums: FORUMZ360.com
|
|
|
 Rank: YAF Commander

Joined: 3/28/2008 Posts: 121 Location: New York
|
i changed all the smilies in the all the post and still having the same problem i don't know Visit my Forums: FORUMZ360.com
|
|
|
 Rank: YAF Head Dude

Joined: 10/10/2004 Posts: 2,950 Location: Honolulu, HI
|
Send you an email. "When you are grateful, fear disappears and abundance appears”." 
|
|
|
| Users browsing this topic |
|
Guest (3)
|