YAFLogo

eutychus
  • eutychus
  • 96.2% (Exalted)
  • YAF Lover Topic Starter
7 years ago
Since I updated to the latest version, I can't seem to log in locally. The site works fine on the remote server, but when I try to log in locally it gives me the error:

XML Parsing Error: no element found
Location: http://localhost:55492/IAD/forum/yaf_login.aspx?ReturnUrl=%2fIAD%2findex.aspx
Line Number 1, Column 1:

I suspect it's just some file that I forgot to download from the update install. Any ideas?
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
7 years ago
Originally Posted by: eutychus 

Since I updated to the latest version, I can't seem to log in locally. The site works fine on the remote server, but when I try to log in locally it gives me the error:

XML Parsing Error: no element found
Location: http://localhost:55492/IAD/forum/yaf_login.aspx?ReturnUrl=%2fIAD%2findex.aspx
Line Number 1, Column 1:

I suspect it's just some file that I forgot to download from the update install. Any ideas?



Can you post the full error message?

eutychus
  • eutychus
  • 96.2% (Exalted)
  • YAF Lover Topic Starter
7 years ago
Sadly, that is the extent of the browser error message, and I don't find any errors showing up in the message board log either.
eutychus
  • eutychus
  • 96.2% (Exalted)
  • YAF Lover Topic Starter
7 years ago
Any ideas? Anyone?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
7 years ago
Originally Posted by: eutychus 

Any ideas? Anyone?



The error only suggest that one of the files is empty or not correctly formatted. Did you try to copy and replace all files from remote to local again?

Is that issue happening when you press login or as soon as you want to to open the login page?
eutychus
  • eutychus
  • 96.2% (Exalted)
  • YAF Lover Topic Starter
7 years ago
It happens when I click on the Login button.

I have done two things. I've downloaded the complete site as it is online and still get the same problem. I have also tried downloading and setting up the Sample Application as it, editing only the connection string, and it throws the same problem as well.
eutychus
  • eutychus
  • 96.2% (Exalted)
  • YAF Lover Topic Starter
7 years ago
In other words, that's the error I get when I try to go to the Login page.

I suspect it's something to do with the URLRewriter. It seems to be trying to go to a page called yaf_login.aspx which does not exist; I'm assuming that's a holdover from an earlier version of YAF.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
7 years ago
Originally Posted by: eutychus 

In other words, that's the error I get when I try to go to the Login page.

I suspect it's something to do with the URLRewriter. It seems to be trying to go to a page called yaf_login.aspx which does not exist; I'm assuming that's a holdover from an earlier version of YAF.



Ok now we are getting closer to the problem is that the login link from within the forum or from inside your application?

If you are using the default urlrewriter config the link should work. If you are using an modified version can you post the content here?
eutychus
  • eutychus
  • 96.2% (Exalted)
  • YAF Lover Topic Starter
7 years ago
Originally Posted by: tha_watcha 

Originally Posted by: eutychus 

In other words, that's the error I get when I try to go to the Login page.

I suspect it's something to do with the URLRewriter. It seems to be trying to go to a page called yaf_login.aspx which does not exist; I'm assuming that's a holdover from an earlier version of YAF.



Ok now we are getting closer to the problem is that the login link from within the forum or from inside your application?

If you are using the default urlrewriter config the link should work. If you are using an modified version can you post the content here?



It's inside the application. I haven't done any modifications to the URLRewriter.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
7 years ago
Originally Posted by: eutychus 

Originally Posted by: tha_watcha 

Originally Posted by: eutychus 

In other words, that's the error I get when I try to go to the Login page.

I suspect it's something to do with the URLRewriter. It seems to be trying to go to a page called yaf_login.aspx which does not exist; I'm assuming that's a holdover from an earlier version of YAF.



Ok now we are getting closer to the problem is that the login link from within the forum or from inside your application?

If you are using the default urlrewriter config the link should work. If you are using an modified version can you post the content here?



It's inside the application. I haven't done any modifications to the URLRewriter.



Did you try to simply update the login link in your main application?

eutychus
  • eutychus
  • 96.2% (Exalted)
  • YAF Lover Topic Starter
7 years ago
Yes, I did. Here's my code:




Log In or Register


Hello,
/




I should also note that I used the YAF Sample Application and have had this problem right out of the box.
eutychus
  • eutychus
  • 96.2% (Exalted)
  • YAF Lover Topic Starter
7 years ago
Well, progress ... of a sort. I downloaded the latest version (2.2.1) an tried that. Now, instead of an error message, I just get a blank screen!

Once again ... this is just happening when I try to run it on my local machine. if I upload it exactly like it is onto webspace, it works like a charm.
eutychus
  • eutychus
  • 96.2% (Exalted)
  • YAF Lover Topic Starter
7 years ago
Still having this problem after the upgrade to 2.2.2. It just takes me to a blank page: http://localhost:50322/forum/yaf_login.aspx?ReturnUrl=%2findex.aspx
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
7 years ago
Originally Posted by: eutychus 

Still having this problem after the upgrade to 2.2.2. It just takes me to a blank page: http://localhost:50322/forum/yaf_login.aspx?ReturnUrl=%2findex.aspx



What happens when you turn off url rewriting completly in the app.config?


 <add key="YAF.EnableURLRewriting" value="false" />

eutychus
  • eutychus
  • 96.2% (Exalted)
  • YAF Lover Topic Starter
7 years ago
Originally Posted by: tha_watcha 

Originally Posted by: eutychus 

Still having this problem after the upgrade to 2.2.2. It just takes me to a blank page: http://localhost:50322/forum/yaf_login.aspx?ReturnUrl=%2findex.aspx



What happens when you turn off url rewriting completly in the app.config?


 <add key="YAF.EnableURLRewriting" value="false" />



Same thing.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

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

Powered by Resharper Donate with PayPal button