collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 1049
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

Author Topic: 500 Internal Server Error Hell  (Read 2639 times)

0 Members and 1 Guest are viewing this topic.

Offline chaos945

  • Newbie
  • Posts: 3
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
500 Internal Server Error Hell
« on: December 01, 2011, 01:25:58 AM »
I am having the same issue reported in this post.

I spend hours with my host trying to figure out what happened and it is caused when the SP installer chmods files....

I'm not sure which files to chmod and what permissions to restore them to to get the errors to stop. Could someone give me a hand... Thanks.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 500 Internal Server Error Hell
« Reply #1 on: December 01, 2011, 09:12:17 AM »
I have given up using the SP package manager to chmod files.
My host is 1 and 1. When chmod sets permissions too permissively, the host throws a 500 error. For some reason, when I try to use SMF to chmod files, it doesn't stop with my forum.  It goes up  directory, chmods the ftp login directory to 777, and I cannot even ftp to my website after that. I need external help to re-chmod my root directory.  After that, it is an easy matter to re-CHMOD the rest of the files.

1and1 sets up the webserver with suphp. This means that, when you use the webserver/php to create files (as you do when you use the package manager), those files are created by you, not by whatever-user-they-have-set-up-to-run-the-webserver.

Since it is not necessary to allow any other user to write to your files, 1and1 also prohibits giving write permission to other users. It gives a 500 error if you try to give out "too much" permission.

See http://simpleportal.net/index.php?topic=6312.msg36685 for more.

Each digit in the chmod is the sum of : (execute (1 if yes, 0 if no)) + (write (2 if yes, 0 if no)) + (read (4 if yes, 0 if no))

The digits are: ugw (user, group, world)
For u, you can use any of the possible values. So 7 is fine for directories, 6 for ordinary files.
For w, write=0, which means you can use 0, 1, 4, or 5, but not 2, 3, 6, or 7.
For g, I've read either that you can use the same values as for u, or that you should stick to the same values that are OK for w.

This means that, for directories, you should be able to use 755 (775 might work, but you don't need it)
For files, 644 should work (or 664, but why bother?).

If you have fixed your chmod, and still get 500 errors, try temporarily removing your .htaccess file.  A bad .htaccess file can also cause a 500 error.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline chaos945

  • Newbie
  • Posts: 3
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: 500 Internal Server Error Hell
« Reply #2 on: December 01, 2011, 10:33:53 PM »
Ok after getting hold of my host to reset my root. They said they reset it to 711 fyi... My SMF forum is working again. I REALLY want to use mods on SMF but I am so scared to add anything worrying about breaking my root permissions again...

I changed my forum path to a folder of its own in an attempt to stop the maddness, but I've not tried it yet. Do you think this will resolve the issue? Or do you suggest something else?



[update]
 :dead: nope broken again and I didn't even get a chance to try the package manager... I was looking at the Permissions tab and applied all writable now I'm back to 555 errors.
« Last Edit: December 01, 2011, 10:55:12 PM by chaos945 »

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: 500 Internal Server Error Hell
« Reply #3 on: December 02, 2011, 10:24:56 AM »
I would recommend that you NOT use SMF's "set permissions" feature.
It does not seem to work at all well for you. I don't use it any more, either.

Instead, you can use your favorite FTP client to set file and directory permissions.
Some are going to be better than others for this task.
For this task, the command-line FTP client migh actually be the most convenient.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?