Skip navigation
Currently Being Moderated

PHP Include causes FTP/PUT error in Dreamweaver CS6

Aug 16, 2012 10:12 PM

Tags: #php #dreamweaver #include #ftp_error

If I add a PHP "Include" to my code, I receive the following error when I do a "PUT" (but NOT when I PUT directly from the "Files" listing):

 

- error occurred - Access denied.  The file may not exist locally,  may be open in another program, or there could be a local permission problem.

 

All the rest of the file and it's dependencies work normally.  However, the one "included" file does not upload.

 

Now, when I select the specific file in the local "Files" listing, and click the up arrow to put it to the server, it works without error.

 

The include line is as follows:

 

<?php include('inc/header_includes.php'); ?>

 

I have deleted the file remotely - and re-uploaded.  I've wiped the entire site, and re-uploaded.  Nothing seems to work.

 

Anyone have a solution for this.  It apparently is happening to many people.

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points