Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Hi Lee,
Sorry I don't have a solution, but hopefully my post can add focus to your problem as I'm experiencing a similar issue.
When I open my index.html file and 'preview in a browser' within Dreamweaver CS6, clicking the login button allows my login.php file to be displayed and function correctly. However,
Can someone explain why php is functioning differently when called outside of the Dreamweaver environment? My Database connections and Server behaviours were created in Dreamweaver CS6 so I'm wondering if this is where the problem lies? Perhaps if I attempt adding the connecting php code manually, then perhaps I can avoid these complications.
Thanks,
Kim