Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: krittin98 on December 05, 2014, 01:11:20 PM

Title: Forum not loading
Post by: krittin98 on December 05, 2014, 01:11:20 PM
My SMF 2.0.9 forum, http://theteamk.x10.mx, is not loading. I even tried a large package upgrade, but to no help.

Best Regards
Title: Re: Forum not loading
Post by: Kindred on December 05, 2014, 02:03:02 PM
you either have a blank index file -- or you have a php level errors that kills the board before it loads.
Title: Re: Forum not loading
Post by: krittin98 on December 05, 2014, 02:38:53 PM
There were no errors in the error log. If there were any blank If there were any blank index files or any php errors, then they shpuld have been rectified during the large package upgrade. Don't you think so?

Best Regards
Title: Re: Forum not loading
Post by: Arantor on December 05, 2014, 02:39:27 PM
Assuming you actually overwrote all the files while uploading it, that is.
Title: Re: Forum not loading
Post by: kat on December 05, 2014, 03:23:10 PM
...and you didn't use Filezilla with the Transfer type set to "auto"...?
Title: Re: Forum not loading
Post by: krittin98 on December 06, 2014, 12:16:49 AM
I used FileZilla to upload the large package upgrade files and even overwrote all the files. The problem still persists...

Best Regards
Title: Re: Forum not loading
Post by: Arantor on December 06, 2014, 12:21:06 AM
I would ask your host. Something weird is going on and it may be related to the Varnish cache there.

If you've uploaded clean files, check there isn't anything suspicious or broken in Settings.php (do NOT upload that file here, it contains your database password)

Thing is, the server isn't returning a 50x error as I'd expect, it's returning a 200 OK message which indicates something is empty... it's almost like Settings.php has a die instruction in it since *nothing* responds, not index.php, not SSI.php, not the SSI examples file, not even the subscriptions handler.
Title: Re: Forum not loading
Post by: krittin98 on December 06, 2014, 12:35:18 AM
My host had hid any php errors from public viewing, but I have turned them on. This is the error that I am getting:

Fatal error: Class 'TeamPage' not found in /home/theteamk/public_html/Sources/TeamPage.php on line 27
Title: Re: Forum not loading
Post by: Shambles on December 06, 2014, 12:58:36 AM
Does the file Subs-TeamPage.php exist in your /Sources folder?
Title: Re: Forum not loading
Post by: krittin98 on December 06, 2014, 03:38:28 AM
yeah, it exists....
Title: Re: Forum not loading
Post by: Shambles on December 06, 2014, 03:56:08 AM
.. and does it look complete? The missing class is defined in that file.

If all looks well it might be worth reposting your issue in the support topic for TeamPage.
Title: Re: Forum not loading
Post by: krittin98 on December 06, 2014, 10:12:10 AM
I don't know PHP. Can you have a look at those files? I have attached them
Title: Re: Forum not loading
Post by: kat on December 06, 2014, 10:22:54 AM
If you used Filezilla and the Transfer type was set to "auto", files might be screwed, as I mentioned, earlier.

If you change the Transfer Type to "binary" and upload the files, again, overwriting what's there, you might get lucky. :)
Title: Re: Forum not loading
Post by: Kindred on December 06, 2014, 10:58:25 AM
K@, 

We've been through this before...  ;)
FileZilla won't screw up .php files on auto (except apparently for you) :P
Title: Re: Forum not loading
Post by: kat on December 06, 2014, 11:51:44 AM
Not just me. That's the point. I've known this to happen for quite a number of people, unfortunately. :P
Title: Re: Forum not loading
Post by: krittin98 on December 08, 2014, 07:13:34 AM
what should be the transfer type then? Auto, ASCII, or binary?
Title: Re: Forum not loading
Post by: kat on December 08, 2014, 07:22:27 AM
Quote from: K@ on December 06, 2014, 10:22:54 AMIf you change the Transfer Type to "binary" and upload the files, again, overwriting what's there, you might get lucky. :)

:)
Title: Re: Forum not loading
Post by: krittin98 on December 09, 2014, 07:20:02 AM
I tried it again using the transfer type as "binary", but nothing happened. I am getting the same error, as stated above. Any other solutions?
Title: Re: Forum not loading
Post by: Arantor on December 09, 2014, 07:22:52 AM
How about asking in the mod's support topic as suggested?

FWIW I think the mod's using a hook and the hook wasn't installed properly (or since came uninstalled), in which case running the mod's installer should fix it. Again... the mod's support topic for help on this.