Solved

PHP Permissions Promblem

Posted on 2007-11-24
4
219 Views
Last Modified: 2010-04-21
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
Comment
Question by:sendhelp
  • 2
4 Comments
 
LVL 20

Expert Comment

by:steelseth12
ID: 20343394
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
 
LVL 20

Expert Comment

by:steelseth12
ID: 20343401
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
 
LVL 36

Accepted Solution

by:
Loganathan Natarajan earned 500 total points
ID: 20348211
>>> 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
 

Author Closing Comment

by:sendhelp
ID: 31410784
It was a server permission problem. I needed to use my admin permissions.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question