Advertisement:

Author Topic: Forum is down  (Read 1611 times)

Offline billpoynter

  • Newbie
  • *
  • Posts: 8
Forum is down
« on: December 24, 2017, 01:06:01 PM »
In trying to fix a problem with forum users suddenly being unable to either post or view attachments, I've now made the forum non-accessible. 
The following error message now appears when trying to access the forum:  Fatal error: require_once() [function.require]: Failed opening required '/home/content/55/3007655/html/simplemachinesforum/Sources/Subs-Auth.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/55/3007655/html/simplemachinesforum/Sources/Security.php on line 535 

I would greatly appreciate any help you can offer.


Bill

Offline SaltedWeb

  • Sr. Member
  • ****
  • Posts: 861
  • Gender: Male
  • The Tired One
Re: Forum is down
« Reply #1 on: December 24, 2017, 01:10:24 PM »
Sounds like a permission on a file changed ? I would start there and see if the permissions are correct.
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,204
  • Gender: Male
    • i30 Owners Club
Re: Forum is down
« Reply #2 on: December 24, 2017, 01:17:00 PM »
I would say the Subs-Auth.php file has been deleted -  most likely by your host's security scans.

Have a look in the /Sources folder and see if it's there,

Offline billpoynter

  • Newbie
  • *
  • Posts: 8
Re: Forum is down
« Reply #3 on: December 24, 2017, 01:30:33 PM »
That file is indeed missing.  How should I proceed?

Offline br360

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: Forum is down
« Reply #4 on: December 24, 2017, 01:50:30 PM »
If you don't already have a copy; download the smf version you have to your computer, extract the package and then upload Subs-Auth.php back to where your other source folders are. Then open a ticket with your host explaining what they did and make sure they know not to delete the file again.


Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,561
Re: Forum is down
« Reply #5 on: December 24, 2017, 02:15:53 PM »
If you don't already have a copy; download the smf version you have to your computer, extract the package and then upload Subs-Auth.php back to where your other source folders are. Then open a ticket with your host explaining what they did and make sure they know not to delete the file again.



you may need to upload the file with your hosts file manager rather then FTP to make it say in place.

Offline billpoynter

  • Newbie
  • *
  • Posts: 8
Re: Forum is down
« Reply #6 on: December 24, 2017, 02:29:09 PM »
Here's the result after I uploaded the file:  Fatal error: require_once() [function.require]: Failed opening required '/home/content/55/3007655/html/simplemachinesforum/Sources/Subs-Auth.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/55/3007655/html/simplemachinesforum/Sources/Security.php on line 543

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,561
Re: Forum is down
« Reply #7 on: December 24, 2017, 02:51:10 PM »
did you upload it with your hosts file manager?

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,452
Re: Forum is down
« Reply #8 on: December 24, 2017, 03:21:41 PM »
On GoDaddy servers, if you upload source files via ftp, upload will be successful but file will immediately be deleted.  If you watch carefully, you can see it happen.  This can affect up to a dozen source files.  You can upload the file using cpanel file manager and it will stick.  I've only seen this on GD, but a couple of recent posts indicate it may be happening on other hosts.

Offline billpoynter

  • Newbie
  • *
  • Posts: 8
Re: Forum is down
« Reply #9 on: December 24, 2017, 05:44:51 PM »
I uploaded the file using GoDaddy's file manager.  The forum will now come up, but when I try to log in, I get this error message:  Fatal error: Call to undefined function safe_unserialize() in /home/content/55/3007655/html/simplemachinesforum/Sources/Subs-Auth.php on line 114

Offline SaltedWeb

  • Sr. Member
  • ****
  • Posts: 861
  • Gender: Male
  • The Tired One
Re: Forum is down
« Reply #10 on: December 24, 2017, 06:14:54 PM »
Not that its any fault of SMF, but seems that GD is consistently causing issues with this software.
Make one wonder if it should not be recommended at that not unless they just do this no matter what program they have installed. ( sorry didnt mean to Hijack the post seems allot of GD have issues)
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Offline billpoynter

  • Newbie
  • *
  • Posts: 8
Re: Forum is down
« Reply #11 on: December 24, 2017, 06:33:08 PM »
I was wondering if upgrading to a newer version would correct all of the errors in my forum.  I can't log on as an administrator at this time.  My website is culvercadet.com and there's a link there to the forum.

Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,607
  • Gender: Male
    • Kindred-999 on GitHub
Re: Forum is down
« Reply #12 on: December 24, 2017, 07:41:57 PM »
sounds like you might not have uploaded a current version of the file...   or you uploaded the 2.0.15 version and you are not actually running 2.0.15
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline billpoynter

  • Newbie
  • *
  • Posts: 8
Re: Forum is down
« Reply #13 on: December 28, 2017, 10:58:12 AM »
I seem to have everything working except for this error message: The default theme's directory is wrong, please correct it by clicking this text.     I can't seem to resolve this issue.  Any ideas?

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,561
Re: Forum is down
« Reply #14 on: December 28, 2017, 11:01:06 AM »
What is repair_settings.php? should fix that for you.

Offline billpoynter

  • Newbie
  • *
  • Posts: 8
Re: Forum is down
« Reply #15 on: December 28, 2017, 02:41:56 PM »
I've now managed to create a new problem by changing one of the database settings in the repair_settings tool.  I now get this message when I try to run repair settings:   Fatal error: Call to undefined function () in /home/content/55/3007655/html/simplemachinesforum/repair_settings.php on line 368

Warning: Unknown: open(/home/content/55/3007655/tmp/sess_2er7q4arga7240tjne152mkg55, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,452
Re: Forum is down
« Reply #16 on: December 28, 2017, 03:24:18 PM »
Why did you change a db setting?  Which one?

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,564
    • sbulen on GitHub
Re: Forum is down
« Reply #17 on: December 28, 2017, 03:29:35 PM »
To me, that looks like 'Enable DB Sessions' was disabled.  Two thoughts: 

First, I would suggest re-enabling it.   

Second, I would suggest talking with your host to determine why /tmp isn't configured/working properly. 
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline billpoynter

  • Newbie
  • *
  • Posts: 8
Re: Forum is down
« Reply #18 on: December 28, 2017, 03:45:10 PM »
Is it possible that I could give someone access to the site so that they can determine what I have done to it?  I think that the original problem was caused by GoDaddy, but I have only made it worse.  I take one step forward and two back.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,452
Re: Forum is down
« Reply #19 on: December 28, 2017, 03:56:20 PM »
PM your username/password for GD account and I'll have a look.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,735
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Forum is down
« Reply #20 on: December 29, 2017, 12:21:00 AM »
Is it possible that I could give someone access to the site so that they can determine what I have done to it?  I think that the original problem was caused by GoDaddy, but I have only made it worse.  I take one step forward and two back.

A reminder about admin / ftp passwords...
Did you try what shawnb61 suggested?

To me, that looks like 'Enable DB Sessions' was disabled.  Two thoughts: 

First, I would suggest re-enabling it.   

Second, I would suggest talking with your host to determine why /tmp isn't configured/working properly. 

Though, GoDaddy is probably one the worst hosts out there for forums and other non-static content.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Just Another Member

  • Newbie
  • *
  • Posts: 0
Re: Forum is down
« Reply #21 on: December 29, 2017, 01:45:58 AM »
I seem to have everything working except for this error message: The default theme's directory is wrong, please correct it by clicking this text.     I can't seem to resolve this issue.  Any ideas?
A bit late but I had the same problem about 24 hours ago and went to my Themes settings page and found that repair_settings didn't fix the theme settings. I had gone to the same domain name but a different TLD.

Evidently repair_settings missed some of the theme settings despite theme settings being shown right in repair_settings. I'm sure I had all the settings right in repair_settings.

But. Too late now. Wish I'd seen this topic about 20 minutes ago. Might have worked for you too.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,452
Re: Forum is down
« Reply #22 on: December 29, 2017, 12:29:36 PM »
I have this forum up and running, just some cleaning up to do tonight.  Another GoDaddy ******up. :P

Offline Just Another Member

  • Newbie
  • *
  • Posts: 0
Re: Forum is down
« Reply #23 on: December 29, 2017, 01:50:10 PM »
Another GoDaddy ******up. :P
LOLOL! You realize that's an oxymoron! :D :D :D

Please, make plans to change providers. Look forward to the date when your current contract expires and shop around ahead of time to find a better plan with a REAL provider, not a TOY provider like GoDaddy.

Note that you can change providers and then host your current domains as external sites, allowing you time to transfer your domains gracefully. I highly recommend hxxp:internet.bs [nonactive] (located in the Bahamas) as being a very professional domainn registrar outfit with good support and excellent rates.* In fact you could benefit by transferring your sites there any time and host them at Who'sYaDaddy! ;) if they are smart enough to be able to handle hosting external domains (doubtful but who knows?). Please note that I don't go around recommending sites or products unless I feel strongly about them.

It's very smart to have your hosting at one company and your domain registration at another company, VERY SMART! When your hosting service is also your registrar they hold power over you and your domain. When your domain is at a registrar not connected with your hosting service, just make backups, get a new host, restore your backups and then delete the stuff at your nasty hosting provider. They get left holding an empty bag. Come to think of it, GoDaddy is already holding an empty bag—of hot air and poor hosting.


* I'm in the process of moving all my domains (about 10) to Internet.BS. I've done business with them about 3-4 years and it was only recently that 1and1 began pissing me off that I decided to get my own server, fire 1and1, and start moving domains around to eventually all land at Internet.BS. My situation was complicated by having a lot of money in BTC and Internet.BS not accepting BTC. I had to go to an intermediate registrar and up my domains for 10 years and then move them to Internet.BS. I'm currently hung up on the 60 day rule but in a few months every domain I own will be with Internet.BS.

(BTW 1and1 is fine for most people although some PPL at SMF don't like them, but I simply grew too big for a shared hosting account at 1and1 and got my own dedicated server. I send people to 1and1 unless they are big enough to require a dedicated server. I'd rather be dipped in mud than rent a dedicated server from 1and1, there are much better rates and better dedicated servers elsewhere. For sure 1and1 is 1000x better than Who'sYaDaddy!)

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,735
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Forum is down
« Reply #24 on: January 08, 2018, 05:16:04 AM »
I have this forum up and running, just some cleaning up to do tonight.  Another GoDaddy ******up. :P

I'm assuming this is ready to be marked solved then?
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas