Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: indytycoon on January 08, 2012, 04:56:18 PM

Title: Error on New Post
Post by: indytycoon on January 08, 2012, 04:56:18 PM
When someone makes a new topic.  They receive the following error:  The website encountered an error while retrieving http://<MY WEBSITE>/forums/index.php?action=post2;start=0;board=104. It may be down for maintenance or configured incorrectly.

It does create the post.

I'm not sure where to look.
Title: Re: Error on New Post
Post by: kat on January 08, 2012, 04:58:28 PM
Anything in your error logs?

Tried "Repair stuff", in Admin>Forum Maintenance?
Title: Re: Error on New Post
Post by: indytycoon on January 08, 2012, 05:20:40 PM
Quote from: K@ on January 08, 2012, 04:58:28 PM
Anything in your error logs?

Tried "Repair stuff", in Admin>Forum Maintenance?

Tried repair stuff.

Nothing in error log.
Title: Re: Error on New Post
Post by: kat on January 09, 2012, 07:06:11 AM
Might be best to give your host the exact error-message and see what they say.
Title: Re: Error on New Post
Post by: indytycoon on February 26, 2012, 04:01:32 PM
Quote from: K@ on January 09, 2012, 07:06:11 AM
Might be best to give your host the exact error-message and see what they say.

I am the host.. I have not been able to track it down.
Title: Re: Error on New Post
Post by: kat on February 26, 2012, 04:08:27 PM
Ah... You never told us that. :P

I really don't have a clue, then, I'm afraid.

Sorry, mate. :(

Let's hope someone else does.
Title: Re: Error on New Post
Post by: indytycoon on February 26, 2012, 04:38:58 PM
Quote from: K@ on February 26, 2012, 04:08:27 PM
Ah... You never told us that. :P

I really don't have a clue, then, I'm afraid.

Sorry, mate. :(

Let's hope someone else does.

Thanks...  After a bit more research I found an error message that says:  8: Undefined index: can_quote
Title: Re: Error on New Post
Post by: kat on February 26, 2012, 04:48:19 PM
Yuk.

I doubt that'll affect new posts, though.

I could be wrong, of course.

Can you create that index? (Sorry, I'm not good with database stuff, I'm afraid).
Title: Re: Error on New Post
Post by: pushkardua on February 26, 2012, 04:52:17 PM
whats the latest mod you applied??
Title: Re: Error on New Post
Post by: Illori on February 26, 2012, 04:53:00 PM
well it might help to know what file is causing the error, as that can help us determine if that error is causing the error on posting, which an error on quoting may not.

also it is not a database index, it is a file/php error
Title: Re: Error on New Post
Post by: indytycoon on February 26, 2012, 04:56:31 PM
Quote from: pushkardua on February 26, 2012, 04:52:17 PM
whats the latest mod you applied??

I've uninstalled the mods, still there.  SO I re-installed them.. still there.
Title: Re: Error on New Post
Post by: indytycoon on February 26, 2012, 04:58:19 PM
Quote from: Illori on February 26, 2012, 04:53:00 PM
well it might help to know what file is causing the error, as that can help us determine if that error is causing the error on posting, which an error on quoting may not.

also it is not a database index, it is a file/php error

The referenced file in the error log is:  Post.template.php  I have attached it.
Title: Re: Error on New Post
Post by: Illori on February 26, 2012, 05:01:47 PM
Quote from: indytycoon on February 26, 2012, 04:38:58 PM
8: Undefined index: can_quote

is that the full error message? is there eval after it?
Title: Re: Error on New Post
Post by: indytycoon on February 26, 2012, 05:03:06 PM
Quote from: Illori on February 26, 2012, 05:01:47 PM
Quote from: indytycoon on February 26, 2012, 04:38:58 PM
8: Undefined index: can_quote

is that the full error message? is there eval after it?

Yes.

/home/***/public_html/***/forums/Themes/default/Post.template.php (main sub template - eval?)
Title: Re: Error on New Post
Post by: Illori on February 26, 2012, 05:04:13 PM
Admin -> Server Settings -> Disable evaluation of templates
Then post any new error messages without eval in them
Title: Re: Error on New Post
Post by: indytycoon on February 26, 2012, 05:50:12 PM
I am not finding any error reference in SMF, or on the server.  Any else place I can look on the server (it is running apache)
Title: Re: Error on New Post
Post by: Aleksi "Lex" Kilpinen on March 10, 2012, 01:14:14 PM
Quote from: indytycoon on January 08, 2012, 04:56:18 PM
When someone makes a new topic.  They receive the following error:  The website encountered an error while retrieving http://<MY WEBSITE>/forums/index.php?action=post2;start=0;board=104. It may be down for maintenance or configured incorrectly.

It does create the post.

I'm not sure where to look.
Does this happen to everyone? Do you get the same error when you try to post?
Title: Re: Error on New Post
Post by: indytycoon on March 10, 2012, 02:38:07 PM
Yes, and yes.
Title: Re: Error on New Post
Post by: Aleksi "Lex" Kilpinen on March 10, 2012, 02:39:00 PM
You already noted you have checked your error log, but just to make sure - have you checked the server error log in addition to the SMF log?
Title: Re: Error on New Post
Post by: indytycoon on March 10, 2012, 02:41:58 PM
I did, but I can look again.  Anything in particular might throw a flag?
Title: Re: Error on New Post
Post by: Aleksi "Lex" Kilpinen on March 10, 2012, 02:44:03 PM
Any PHP errors, if there, would be useful info.

Also, do you have many mods installed? Could you list those that you know should be installed?