Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Sean Flanagan
Sean Flanagan
33,234 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,662 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,234 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,662 Points

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