I wrote a small website in PHP and ZF2.
Had a friend test it out by posting a link to it on Facebook.
Apparently I forgot to turn off ZendFramework reporting and he find an error. Posted a photo of the error.
In the photo it is exposed that I'm using ZF2 and my account's username, and paths to error exposing ZF2 file location.
/home/user/public_html, things like that
Example
An error occurred
Additional information:
Zend\Mail\Transport\Exception\RuntimeException
File:
/home/username/public_html/domain.net/vendor/zendframework/zend-mail/src/Transport/Sendmail.php:290
Message:
Unable to send mail:
Stack trace:
#0 [internal function]: Zend\Mail\Transport\Sendmail->mailHandler('mail <mail@mail...', 'Your ...', 'Your Commission...', 'Date: Sat, 21 M...', ' -fservice@mail...')
#1 /home/username/public_html/domain.net/vendor/zendframework/zend-mail/src/Transport/Sendmail.php(138): call_user_func(Array, 'mail <mail@mail...', 'Your ...', 'Your Commission...', 'Date: Sat, 21 M...', ' -fservice@mail...')
#2 /home/username/public_html/domain.net/module/Commission/src/Mail/Mail.php(22): Zend\Mail\Transport\Sendmail->send(Object(Zend\Mail\Message))
(username and domain and emails in message above are altered)
Is the text on the photo endangering my security?
Do I ask him to take it down?