philbertphotos / osticket-multildap-auth-plugin

Plugin for OS Ticket that allows for authentication with multiple domains.
GNU General Public License v3.0
28 stars 16 forks source link

Unneeded slash #21

Closed tauthement closed 6 years ago

tauthement commented 6 years ago

https://github.com/philbertphotos/osticket-multildap-auth/blob/2a35fab0fd75bd13b9394dbbd5e9cd93a280fdda/multi-ldap/auth.php#L68

Hello again,

I was receiving the following error messages in my Apache log. I was able to get rid of the message by removing the slash in front of "scp".

Apache log: [Wed Nov 14 11:52:41 2018] [error] [client 10.50.5.67] PHP Warning: include_once(/home/csapps/public_html/osticket/include//scp/sync_mldap.php): failed to open stream: No such file or directory in /home/csapps/public_html/osticket/include/plugins/multi-ldap/auth.php on line 68, referer: https://itapps.nicholls.edu/osticket/scp/emails.php?id=2 [Wed Nov 14 11:52:41 2018] [error] [client 10.50.5.67] PHP Stack trace:, referer: https://itapps.nicholls.edu/osticket/scp/emails.php?id=2 [Wed Nov 14 11:52:41 2018] [error] [client 10.50.5.67] PHP 1. {main}() /home/csapps/public_html/osticket/scp/autocron.php:0, referer: https://itapps.nicholls.edu/osticket/scp/emails.php?id=2 [Wed Nov 14 11:52:41 2018] [error] [client 10.50.5.67] PHP 2. Signal::send() /home/csapps/public_html/osticket/scp/autocron.php:69, referer: https://itapps.nicholls.edu/osticket/scp/emails.php?id=2 [Wed Nov 14 11:52:41 2018] [error] [client 10.50.5.67] PHP 3. call_user_func_array:{/home/csapps/public_html/osticket/include/class.signal.php:98}() /home/csapps/public_html/osticket/include/class.signal.php:98, referer: https://itapps.nicholls.edu/osticket/scp/emails.php?id=2 [Wed Nov 14 11:52:41 2018] [error] [client 10.50.5.67] PHP 4. LdapMultiAuthPlugin->onCronProcessed() /home/csapps/public_html/osticket/include/class.signal.php:98, referer: https://itapps.nicholls.edu/osticket/scp/emails.php?id=2 [Wed Nov 14 11:52:41 2018] [error] [client 10.50.5.67] PHP Warning: include_once(): Failed opening '/home/csapps/public_html/osticket/include//scp/sync_mldap.php' for inclusion (include_path='./:/home/csapps/public_html/osticket/include/:/home/csapps/public_html/osticket/include/pear/:phar:///home/csapps/public_html/osticket/include/plugins/auth-ldap.phar/include') in /home/csapps/public_html/osticket/include/plugins/multi-ldap/auth.php on line 68, referer: https://itapps.nicholls.edu/osticket/scp/emails.php?id=2 [Wed Nov 14 11:52:41 2018] [error] [client 10.50.5.67] PHP Stack trace:, referer: https://itapps.nicholls.edu/osticket/scp/emails.php?id=2 [Wed Nov 14 11:52:41 2018] [error] [client 10.50.5.67] PHP 1. {main}() /home/csapps/public_html/osticket/scp/autocron.php:0, referer: https://itapps.nicholls.edu/osticket/scp/emails.php?id=2 [Wed Nov 14 11:52:41 2018] [error] [client 10.50.5.67] PHP 2. Signal::send() /home/csapps/public_html/osticket/scp/autocron.php:69, referer: https://itapps.nicholls.edu/osticket/scp/emails.php?id=2 [Wed Nov 14 11:52:41 2018] [error] [client 10.50.5.67] PHP 3. call_user_func_array:{/home/csapps/public_html/osticket/include/class.signal.php:98}() /home/csapps/public_html/osticket/include/class.signal.php:98, referer: https://itapps.nicholls.edu/osticket/scp/emails.php?id=2 [Wed Nov 14 11:52:41 2018] [error] [client 10.50.5.67] PHP 4. LdapMultiAuthPlugin->onCronProcessed() /home/csapps/public_html/osticket/include/class.signal.php:98, referer: https://itapps.nicholls.edu/osticket/scp/emails.php?id=2

philbertphotos commented 6 years ago

Thanks again ... fixed.