Solved

PHP Permissions Promblem

Posted on 2007-11-24
4
222 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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 i…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
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 count occurrences of each item in an array.

726 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