File Not Generating For Some Reason

When I click on a certain file on my website it is meant to generate another file but it doesn’t please help!


How do I make it so it has permission to create the file?

I have all the files set to 777 just to make sure there are no issues, still not working.

Have you checked file & folder permissions? If you are generating another file, your server/folder must allow creation of such file and this is primarily a permissions issue!

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @Yusheec,

I’ve had the same issue in the past, apart from the permissions on your folders and files, you’ll need to have the correct ownership as well.

To actually change your ownership, you can use the command chown. If this is still not working, you’ll need to start generating PHP error logs and review those for the errors.

Regards, KDSys

This comment has been deleted