Simfatic Forms > Help > Troubleshooting > failed to open stream: No such file or directory

Simfatic Forms is being discontinued.

See the announcement →

failed to open stream: No such file or directory

Error (2): file_get_contents(./templ/file.txt) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory


The upload is incomplete. Some of the generated code is not uploaded.

Solution

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


If manual upload looks complex for you, Try Swift Upload.

Back to troubleshooting main page