Advertisement:

Author Topic: Since my server upgraded my SMF forum becomes a blank screen  (Read 13399 times)

Offline numapepi

  • Semi-Newbie
  • *
  • Posts: 55
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #20 on: July 30, 2015, 12:22:09 AM »
done.

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,872
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • https://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #21 on: July 30, 2015, 02:21:55 PM »
It's really weird that it's not displaying any errors at all even after all that. Are there any recent PHP-related errors in the server error log?
Michael Eshom
Cincy Space - now open!

Offline CoreISP

  • Server Admin
  • Server Team
  • SMF Super Hero
  • *
  • Posts: 18,003
  • Gender: Male
  • Liroy van Hoewijk
    • coreisp on GitHub
    • liroyvh on LinkedIn
    • @liroyvh on Twitter
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #22 on: July 30, 2015, 04:01:11 PM »
Do check the permissions indeed, or simply ask the host to have a look in their error log. They can see more. :)
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

Offline numapepi

  • Semi-Newbie
  • *
  • Posts: 55
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #23 on: July 30, 2015, 07:24:29 PM »
The Siteground support team kind of repaired my forum...

Hello John,

Thank you for contacting our Help Desk.

I have straced the system call made by the execution of the index file of your application and it showed that the data loaded was from the cache folder of your application.

Therefore I have renamed the cache folder to cacheOLD which has basically flushed the cache and the issue appears to have been resolved.

If you have any further questions, do not hesitate to contact us again.

Best Regards,

Dimitar Dimov
Technical Support Team

So it would seem that the cache was the root of the problem?

However the forum now has an error message that the cache is not available and will negatively effect my forum...

Any ideas?

Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,573
  • Gender: Male
    • Kindred-999 on GitHub
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #24 on: July 30, 2015, 07:57:06 PM »
you need a cache directory....  he should have just deleted the cache*.* files out of that directory rather than renaming the whole thing
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 numapepi

  • Semi-Newbie
  • *
  • Posts: 55
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #25 on: July 30, 2015, 11:05:02 PM »
There is a cache directory.

He deleted the cache and it solved the problem. But this problem seems to reappear. I can't log in as admin when the problem happens however.

I could fo through C Panel and delete a file or edit a text file... But that still won't solve the macro issue...

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #26 on: July 31, 2015, 04:58:33 AM »
That is a progress.

Can you check the permissions of the cache directory itself, as well as the files inside it?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline numapepi

  • Semi-Newbie
  • *
  • Posts: 55
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #27 on: July 31, 2015, 11:16:43 AM »
It looks like th permissions for the files in that directory are:

          User   Group   World

Read     X         X          X

Write     X         0          0

Execute 0         0          0

Is that what you wanted?

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #28 on: July 31, 2015, 11:28:08 AM »
644, that's fine.
What about the files inside?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,460
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #29 on: July 31, 2015, 11:30:36 AM »
644, that's fine.
What about the files inside?

644 on files is what was posted.

It looks like th permissions for the files in that directory are:

so then you want to know the chmod on the folder not the files?

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #30 on: July 31, 2015, 11:32:02 AM »
Ups :P

Yeah, what are the permissions on the "cache" folder itself?
And is the forum running now?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline numapepi

  • Semi-Newbie
  • *
  • Posts: 55
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #31 on: July 31, 2015, 11:50:38 AM »
The cache folder itself is 755.

The forum is running for now.

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #32 on: July 31, 2015, 12:12:06 PM »
OK, let's keep our bets in the permissions issue in the folder or the files inside.
If it crashes again (which is expected to happen, according to your recent past :( ) please check the permissions of the folder and all files inside, then delete all files (which should bring it back to life)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline numapepi

  • Semi-Newbie
  • *
  • Posts: 55
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #33 on: July 31, 2015, 12:17:09 PM »
Are you suggesting the permissions could change?

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #34 on: July 31, 2015, 12:45:07 PM »
When SMF creates a file (cache files are created by SMF) it tries several permission levels until it eventually reaches 777, this being the "last resort".
My guess at this point is that, for some reason (usually ownership issues) it finds the need to reach 777 on any given file and that your server kills the script because of having a file with these permissions.

That being said: can you try to chmod your index.php to 777 and see if the white screen returns? Then chmod it back to 644 and check if it lives again?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline numapepi

  • Semi-Newbie
  • *
  • Posts: 55
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #35 on: July 31, 2015, 04:36:48 PM »
I changed the cache folder to 777... it worked fine. I also changed all the cache files to 777 and it still worked. Then I changed them back.

I guess I didn't read the post correctly. I noticed it said index.php and not cache.  I changed the index.php to 777 and it hosed up the forum, but differently than the white screen. The error was "error code 500...

If you are the webmaster of this site please log in to Cpanel and check the Error Logs. You will find the exact reason for this error there.

Common reasons for this error are:

Incorrect file/directory permissions: Above 755.
In order files to be processed by the webserver, their permissions have to be equal or below 755. You can update file permissions with a FTP client or through cPanel's File Manager.

Incorrect Apache directives inside .htaccess file.
Make sure you have not specified unsupported directives inside the local .htaccess file. Such include PHP settings and Apache module settings."

I changed the index back and it works again.

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #36 on: July 31, 2015, 05:08:00 PM »
Dang...

I'm now officially lost. Your tests (thank you) totally got me lost.

So, cache folder, the original culprit, seems to be permissions-tolerant. While index.php throws a perfectly visible 500 error (expected). So my theory was just flushed :P
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline numapepi

  • Semi-Newbie
  • *
  • Posts: 55
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #37 on: July 31, 2015, 05:32:37 PM »
Could the subprogram somehow be caching a corrupted file? Is PHP somehow involved with the cache process? Could the new version cause a cache file to be corrupted?

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #38 on: July 31, 2015, 05:49:26 PM »
No idea. It would be nice if your host tell us what's going on in the logs, really...
As of now, we can only guess :(
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline CoreISP

  • Server Admin
  • Server Team
  • SMF Super Hero
  • *
  • Posts: 18,003
  • Gender: Male
  • Liroy van Hoewijk
    • coreisp on GitHub
    • liroyvh on LinkedIn
    • @liroyvh on Twitter
Re: Since my server upgraded my SMF forum becomes a blank screen
« Reply #39 on: August 01, 2015, 06:38:49 PM »
The server preventing .php files with permission 777 to execute is completely normal, it's a security mechanism.
777 should be avoided unless needed. So setting things like Settings.php and the cache folder to 777 is fine and dandy (though preferably 755 if it'll accept that), and that should keep the forum running just fine; but keep index.php lower than 777 with a max of 755. (And that's, imho, already too high) If the cache folder is 777 and that starts causing issues, that is... vague.
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.