Author Topic: new install on suPHP host - do I run lock.php before login?  (Read 10179 times)

0 Members and 1 Guest are viewing this topic.

Offline H

  • Newbie
  • *
  • Posts: 20
    • View Profile
new install on suPHP host - do I run lock.php before login?
« on: April 04, 2012, 06:39:34 AM »
I'm trying to get a new install to work.
The install.php worked. finished what it had to do.
Then I got a 500 server error attempting to use login.php - ftp showed me the trouble - everything is set to permissions 777.

and we all know that doesnt fly with suPHP and its security measures.
I tried 644 only on the login.php. Still 500 error code.

SO do I needed to run the lock.php before I do my first login?

or bottom line - how do I make tp2 happy IN suPHP's world?
thanks
H

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1963
    • View Profile
    • Pretty Girls from your city for night
Re: new install on suPHP host - do I run lock.php before login?
« Reply #1 on: April 04, 2012, 09:14:33 AM »
Yes, try to chmod entire tp folder with 644 permissions(recursive to subdirs and files), also make sure to change user:group options.

Offline H

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: new install on suPHP host - do I run lock.php before login?
« Reply #2 on: April 04, 2012, 10:12:11 AM »
Yes, try to chmod entire tp folder with 644 permissions(recursive to subdirs and files), also make sure to change user:group options.
OK I modded all to 644 - then went to folders and set them to 755 and the css files too. login then worked.
Is this what lock.php does?  or do I still need to run than anyway?

I am not sure what options you want me to work on with "change user:group options" - I thought only permissions with chmod was need.

let me know
H

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1963
    • View Profile
    • Pretty Girls from your city for night
Re: new install on suPHP host - do I run lock.php before login?
« Reply #3 on: April 04, 2012, 10:15:11 AM »
user:group your host needs to do it via ssh. Basically lock.php yes, does what U just did + changing of user:group.

Remember, lock.php does not secure your files if U run suphp so I always advise people not to use it. From discussing with various techs it doesn't help security at all(suphp) :(

Offline H

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: new install on suPHP host - do I run lock.php before login?
« Reply #4 on: April 04, 2012, 10:21:07 AM »
i have this particular site on shared hosting so I am not sure what options I have on exiting suPHP. I'll ask about not having it. but no breathe holding advised. thanks for the quick answers.
H

Offline donedeal

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: new install on suPHP host - do I run lock.php before login?
« Reply #5 on: April 04, 2012, 02:44:24 PM »
cmod the tp folder and all its contents to 755 to get it to work