YAFLogo

eutychus
  • eutychus
  • 100% (Exalted)
  • YAF Lover Topic Starter
9 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: 4.0.0 rc 2
9 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?

Originally Posted by: eutychus 

Can you post the full error message?

eutychus
  • eutychus
  • 100% (Exalted)
  • YAF Lover Topic Starter
9 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
  • 100% (Exalted)
  • YAF Lover Topic Starter
9 years ago
Any ideas? Anyone?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago

Any ideas? Anyone?

Originally Posted by: eutychus 

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
  • 100% (Exalted)
  • YAF Lover Topic Starter
9 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
  • 100% (Exalted)
  • YAF Lover Topic Starter
9 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: 4.0.0 rc 2
9 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.

Originally Posted by: eutychus 

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
  • 100% (Exalted)
  • YAF Lover Topic Starter
9 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.

Originally Posted by: tha_watcha 

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?

Originally Posted by: eutychus 

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: 4.0.0 rc 2
9 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.

Originally Posted by: eutychus 

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?

Originally Posted by: tha_watcha 

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

Originally Posted by: eutychus 

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

eutychus
  • eutychus
  • 100% (Exalted)
  • YAF Lover Topic Starter
9 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
  • 100% (Exalted)
  • YAF Lover Topic Starter
9 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
  • 100% (Exalted)
  • YAF Lover Topic Starter
8 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: 4.0.0 rc 2
8 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

Originally Posted by: eutychus 

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

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

eutychus
  • eutychus
  • 100% (Exalted)
  • YAF Lover Topic Starter
8 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

Originally Posted by: tha_watcha 

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

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

Originally Posted by: eutychus 

Same thing.