Solved

PHP Permissions Promblem

Posted on 2007-11-24
4
217 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now