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: 389
  • 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: Forum's Permissions Being Changed After Install  (Read 5060 times)

0 Members and 1 Guest are viewing this topic.

Offline Resentful

  • Semi Newbie
  • *
  • Posts: 10
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Forum's Permissions Being Changed After Install
« on: February 21, 2011, 10:55:40 PM »
I recently upgraded to SMF version 2.0 RC5. When I attempt to install SimplePortal, my folder's permissions are all changed to 777, and my forum becomes unusable to every member. The forum simple shows white pages. I have noticed many users have experienced the same issues.

Main Site:
http://www.cheatinghaven.com

This affects all of my sites considering it changes all of my folders settings.

I am hosted by Hostgator.com.

Thank you in advance,

Resentful

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Forum's Permissions Being Changed After Install
« Reply #1 on: February 22, 2011, 04:37:46 PM »
The SMF package manager will set permissions to 777 if possible.  If not, it will set permission to 755.
Some hosts won't let your php pages work if you set your permissions like this.
Try resetting your permissions, then check if the install succeeded.
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 Resentful

  • Semi Newbie
  • *
  • Posts: 10
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Forum's Permissions Being Changed After Install
« Reply #2 on: February 22, 2011, 10:58:45 PM »
It resets all of my permissions to 777.

The installation fails every time and simple makes my forum pages white. Once fixed, there is no sign of Simple Portal and it is still able to be installed.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Forum's Permissions Being Changed After Install
« Reply #3 on: February 23, 2011, 09:44:12 AM »
This problem is happening because of some difficulty between how SMF's package manager does things, and how HostGator has things set up.
 
Please check:
* The owner and group your files and directories belong to.
* The user php runs as when running your forum
* Are the above two the same?
 
The thing is a permission (chmod) of 0755 should work just fine to make your files writable. 0755 means "owner: 7 (r+w+x), group: 5 (r+x), world: 5 (r+x). If 0755 doesn't allow php to write files to a directory, then the user "running" php must not be the same user who owns the file.
 
Host Gator says they run suPHP. So php should be running as the user who owns your website, which should also be the user who runs your files.  If this is not the case, you will need help from HostGator to set things straight.
 
Many SMF users have reported similar problems installing other packages, and gotten the support they needed at simplemachines.org.
 
Please search the information on permissions and suphp from your host (you could start with a google search on hostgator chmod to turn up some good starting points)
 
I can continue to work with you on this, but it could take you a while, working with me, to find the source of your problem.
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 Resentful

  • Semi Newbie
  • *
  • Posts: 10
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Forum's Permissions Being Changed After Install
« Reply #4 on: February 23, 2011, 07:24:11 PM »
The permissions are correctly set and PHP is able to write and modify files.

Other packages install fine, but Simple Portal will not. It appears to be an issue with RC5 or Simple Portal itself.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Forum's Permissions Being Changed After Install
« Reply #5 on: February 24, 2011, 01:45:50 PM »
Which other mods have you installed successfully?
Can you check if any of them involve creating directories or copying files into existing directories?
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 Resentful

  • Semi Newbie
  • *
  • Posts: 10
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Forum's Permissions Being Changed After Install
« Reply #6 on: February 24, 2011, 11:18:43 PM »
No other mods are in charge of modifying or creating any directories.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Forum's Permissions Being Changed After Install
« Reply #7 on: February 25, 2011, 07:27:09 AM »
So -- SimplePortal is the only mod you have installed that requires files or directories to be created.
This is the reason you have not had this problem with the other mods, and only with SMF.
 
The problem arises when SMF's Package Manager attempts to copy some file into an existing directory, or else it occurs when the Package Manager attempts to create a directory.
 
When the Package Panager prepares to move a file or create a directory, it first checks to see if the directory it needs to put the file in is writeable. If not, it changes permission on the directory to 0755 and checks again. If the directory is still not writable, it changes permission to 0777.
 
The fact that SMF changed those directory permissions says that it saw those directories as not writable.
 
Please check
* Which user owns those files and directories
* Which user PHP is running as (suPHP or PHP suExec)
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 Resentful

  • Semi Newbie
  • *
  • Posts: 10
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Forum's Permissions Being Changed After Install
« Reply #8 on: February 25, 2011, 08:34:01 AM »
This only happened once SMF was updated. I will check on the PHP settings later today though.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Forum's Permissions Being Changed After Install
« Reply #9 on: February 25, 2011, 05:26:53 PM »
If SMF is doing something, it will be good to report it at simplemachines.org.
Please do check the CHOWN on the files.
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 Resentful

  • Semi Newbie
  • *
  • Posts: 10
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Forum's Permissions Being Changed After Install
« Reply #10 on: February 26, 2011, 01:40:42 PM »
The problem was that I had old themes that no longer existed. Once I deleted them, it installed fine.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Forum's Permissions Being Changed After Install
« Reply #11 on: February 27, 2011, 09:39:02 AM »
The problem was that I had old themes that no longer existed. Once I deleted them, it installed fine.
Thanks for providing that information. I hadn't heard that one before.
Can you be more specific? I'd like to add this information to our documentation.
 
When you say that the old themes "no longer existed", what does that mean? Where did they no longer exist?
 
When you say "Once I deleted them", did you mean that some of the themes' files were still there? Or that you needed to delete them from within the Admin Center?
 
Thanks for the information.
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?