• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

PHP Permissions Promblem

I bought a php template. I loaded it to my server, I download pages to my computer, made some changes to the wording, nothing major. When I try to upload it back to my web server I get this.
chkLogin.php: Permission denied
I did not change anything PHP related. Why would I be getting this.
0
sendhelp
Asked:
sendhelp
  • 2
1 Solution
 
steelseth12Commented:
sendhelp You need to provide more information to be able to help you.
E.g The code of the page that is giving you the problem.

If i had to guess i would say that you put some html code above the php code initialised the session thus not allowing for the login session to register.
0
 
steelseth12Commented:
sessions are initialize with session_start()
so you might want to check if you have anything else above that.
Also if you have any includes at the top part of your page... include("filename") or require("filename") check if the session_start code is inside those files.
0
 
Loganathan NatarajanLAMP DeveloperCommented:
>>> When I try to upload it back to my web server I get this.
chkLogin.php: Permission denied

do you have upload permission after downloading or modifying the file??? please check your server permission to put the file again??

try other file upload and test it well...

hope this helps.,
0
 
sendhelpAuthor Commented:
It was a server permission problem. I needed to use my admin permissions.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now