PHP Build a Basic PHP Website (2018) Adding a Basic Form Using A Third-Party Library

Sean Flanagan
Sean Flanagan
33,223 Points

Error reading PHPMailer file

Hi.

I downloaded the PHPMailer folder to my computer then uploaded it to the workspace. Every time I try to do something with it, I get an error message. I can't rename it. I can't open the folders or files inside it. I can't delete it.

https://w.trhou.se/lw1sruifrp

Chris Shaw
Chris Shaw
26,640 Points

Hi Sean Flanagan,

Looking into your workspace, the vendor folder is empty which is the reason for the errors since the files don't exist.

1 Answer

Sean Flanagan
Sean Flanagan
33,223 Points

Hi Chris Shaw.

I reopened my workspace and PHPMailer wasn't there. However I still had the PHPMailer folder on my local computer so I uploaded PHPMailer again. This time the upload seems to have been successful. I don't know why it didn't work the first time but there's no point in sweating the small stuff.

So in future, if I upload something and the workspace won't let me do anything I shall:

1 Close down my workspace 2 Reopen it 3 Upload again

Thanks Chris! :-)

Chris Shaw
Chris Shaw
26,640 Points

Glad to hear you got it working, Sean Flanagan 🙂.