Simfatic Forms > Help > Troubleshooting > fopen() : failed to open stream: Permission denied

Simfatic Forms is being discontinued.

See the announcement →

failed to open stream: Permission denied

Error (2): fopen(./formdata/formname-46527eb8-log.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied

or

mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied


The script does not have permission to write to the file in the formdata folder.

Solutions

The solution is to provide write permissions to the 'formdata' folder.

Note that this solution assumes that you were doing manual upload. If you were Swift Uploading the script and you get this error, please submit this form.

Watching the video demo on Manual Upload helps.

The steps below shows how to manually upload a the script and provide the correct URL.

1. In the 'Take the code' wizard, in the 'Manual Upload' step, click the link and open the folder where the generated code is placed.

Open the output folder


2.Open your FTP client(if you are uploading through FTP). It is recommended that you create a folder for the new form; Makes it easy to manage the files and folders. Upload the entire folder contents in the output folder to the remote location.

Upload the code to the remote location


3. Update the permissions of the 'formdata' folder to be writeable.
Most FTP clients have a right click menu item to change the folder permissions.

file permission menu item

Update the permissions to 777

4. Provide the URL of the main form processor script back in Simfatic Forms 'Take the Code' wizard.

Paste the URL in the Take the Code Wizard

Also see:

Back to troubleshooting main page