Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: PenelopeQ on January 26, 2018, 12:45:16 AM

Title: Cannot access forum
Post by: PenelopeQ on January 26, 2018, 12:45:16 AM
[an error occurred while processing this directive]

That is what I get when I go to my forum.
Title: Re: Cannot access forum
Post by: Aleksi "Lex" Kilpinen on January 26, 2018, 01:02:30 AM
Can't say I've seen that error often. Does it come up immediately when you open the page, or when you are doing something on the forum?
Do you have access to your server error logs, and do they show anything that might be related?

I have seen that error happen with with other software sometimes, and if I remember correctly it had something to do with the formatting of the code. Any lines with <!--# in the beginning would throw that error, and removing the # would fix it -but what actually was to blame, I can't remember....
Title: Re: Cannot access forum
Post by: PenelopeQ on January 26, 2018, 01:40:22 AM
I just refreshed my page and got that and now get it when I try to go to the forum.
I was looking into an old and unfixed issue and decided to try to run upgrade.php...but then realized I don't have the doc and running that got that error message and now I get that same error for just trying to be on the forum.

Title: Re: Cannot access forum
Post by: Aleksi "Lex" Kilpinen on January 26, 2018, 01:47:02 AM
Do you have upgrade.php on your server right now?
If you do, remove it - then try running repair_settings.php.
Does it work, and does it show you have maintenance mode active or not?

What is repair_settings.php? (https://wiki.simplemachines.org/smf/Repair_settings.php)
Title: Re: Cannot access forum
Post by: PenelopeQ on January 26, 2018, 12:27:35 PM
No i don't have it. I finally went to cpanel and did a search; it is not there.

But did trying to run it--when not there--cause this current error which I believe is the same error I got when trying to run upgrade.php?
Title: Re: Cannot access forum
Post by: Aleksi "Lex" Kilpinen on January 26, 2018, 12:59:09 PM
It really should not. Please, check you error logs, and tell us if there is anything that could be related.
Title: Re: Cannot access forum
Post by: Sir Osis of Liver on January 26, 2018, 01:01:24 PM
No, you would get a 404.  Did you try running repair_settings?
Title: Re: Cannot access forum
Post by: PenelopeQ on January 26, 2018, 01:37:00 PM
Quote from: Sir Osis of Liver on January 26, 2018, 01:01:24 PM
Did you try running repair_settings?

Assuming that is forumaddress/repair_settings.php I just did it and got the same error...it seems that ANYthing with my forum address gives that error. Because of that I cannot check the error logs through the forum and will have to go to cpanel--I'm asking someone for help with that...and I'd love it if you can also give some advice as well.

Thanks
Title: Re: Cannot access forum
Post by: oldpilot on January 26, 2018, 03:42:31 PM
Looks like our forum is back up - although I can not explain why.
I guess we got some help from someone.
Title: Re: Cannot access forum
Post by: PenelopeQ on January 26, 2018, 05:18:01 PM
I have a volunteer systems admin who looked fixed it for me. So yes, we are up and running.

Thanks everyone!