Jump to content
Click here if you are having website access problems ×

Internal Server Error


Geek

Recommended Posts

On posting a reply I was getting the 'Error Type 500 - internal server error' message. Luckily I checked whether the reply had actually succeeded before trying again.

 

From experience this is caused by a SQL syntax problem and given that the reply is actually getting saved then... does the update routine do anything after adding the reply? Updating the user profile for example?

Link to comment
Share on other sites

The page cannot be displayed

There is a problem with the page you are trying to reach and it cannot be displayed.

 

--------------------------------------------------------------------------------

 

Please try the following:

 

Open the www.blatchat.com home page, and then look for links to the information you want.

Click the Refresh button, or try again later.

 

Click Search to look for information on the Internet.

You can also see a list of related sites.

 

 

 

 

HTTP 500 - Internal server error

Internet Explorer

 

ARRRGGGHHH!!! *mad* *mad* *mad* *mad* *mad*

 

X777CAT

Link to comment
Share on other sites

Rob,

 

yes it does a few things

 

1) updates the time and date of the last post and the number of replies in this topic

 

2) updates the time and date of the last post and the number of posts in this forum

 

3) updates the user's post count

 

4) updates the total number of posts overall

Link to comment
Share on other sites

Hoops - actually having one of my busiest weeks for quite a while - but hardware problems not software which is giving me a bit of a chance to check emails out...

 

I'll probably go quiet again soon...

Link to comment
Share on other sites

Mr Site Manager, Sir.

 

There's probably a bit of SQL with dodgy syntax in one of these four actions. I've been having a similar problem(s) with another 7's related site that I'm writing (ASP based as well - I'm using Access as the backend, but not sure what you're using).

 

The method I've evolved of finding where the problem is is to put Response.End fairly high up the page (i.e. before one of the areas where the problem could be occurring) then test and move the Response.End down the page until the problem occurs.

 

It was usually something silly like a data type mismatch (forgot the quotes, etc), or I've changed the backend and not the query. It doesn't tend to happen with a SELECT, just an UPDATE or INSERT.

 

Is it intermittent? Affecting everyone or just particular people?

 

Sorry if I'm teaching you to suck eggs :o)

 

Link to comment
Share on other sites

seems to be intermittent. ☹️

 

I don't get it whilst testing here at home or on the test site that I have which is on the same server as BlatChat.

 

There are a couple of potential issues. Of course when I put the views count in, I have increased the workload on the server/database quite considerably, just take a look at the number of views compared with posts and work out how many more database updates there are now.

 

I suspect that the problem might be that I'm running on an Access backend too, and given that there were over 150 people connected earlier on today, the problems might just stem from that.

 

Who knows *confused*

 

Also it would be a lot more useful if I had some error messages to go on. Can you turn "friendly error messages" off in your browser and let me know the details when it happens next.

 

 

 

Link to comment
Share on other sites

I've taken the friendly error messages off but of course it's refusing to fall over now *confused*

 

Access gets a bit flaky with larger databases, but I wouldn't have thought you'd have reached that point yet.

 

I'll do the same thing with my project and if anything likely raises its head there I'll let you know.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...