Hi Josh,

Thanks for that, I was able to get the log information, in short, yes, 
variables from line 94 are being output to the log:

Sep 30 17:13:13 hccVCLWeb01 shibboleth: tmp: 
>amartinez@HOSTOSCUNY|10.32.14.218|1601536222|shibboleth|11<



Sep 30 17:13:13 hccVCLWeb01 shibboleth: PHP Notice:  Undefined offset: 5 in 
/var/www/html/vcl-2.5.1/.ht-inc/authentication.php on line 111
Sep 30 17:13:13 hccVCLWeb01 shibboleth: You have an error in your SQL syntax; 
check the manual that corresponds to your MariaDB server version for the right 
syntax to use near '' at line 1#012SELECT ts FROM shibauth WHERE id = 
#012ERROR(101): General MySQL error#012Mode was 
viewRequests#012#012#012Backtrace:#012=-=-=-=-=-=-=-=-=-=-=-=#012Call#:1 => 
index.php:initGlobals() (line#:60)#012Call#:2 => utils.php:readAuthCookie() 
(line#:172)#012Call#:3 => authentication.php:doQuery() 
(line#:115)#012#012Backtrace with 
Arguments:#012=-=-=-=-=-=-=-=-=-=-=-=#012Call#:1 => index.php:initGlobals() 
(line#:60)#012Arguments(none):#012-----------------------#012Call#:2 => 
utils.php:readAuthCookie() 
(line#:172)#012Arguments(none):#012-----------------------#012Call#:3 => 
authentication.php:doQuery() (line#:115)#012Arguments(2)#012#012Argument#: 1 => 
SELECT ts FROM shibauth WHERE id = #012Argument#: 2 => 
101#012-----------------------
Sep 30 17:13:13 hccVCLWeb01 shibboleth: PHP Fatal error:  Call to undefined 
function getFooter() in /var/www/html/vcl-2.5.1/.ht-inc/utils.php on line 14234

________________________________________
From: Josh Thompson <[email protected]>
Sent: Wednesday, September 30, 2020 12:42 PM
To: MARTINEZ, ARIEL
Cc: [email protected]
Subject: Re: [Suspected SPAM] Re: [EXTERNAL] Re: ADFS SSO Authentication

Hi Ariel,

Sorry, I assumed the errors you included before were from a php error log.  By
default, I think logging of errors is off.  You'll need to modify php.ini to
enable logging.  Modify /etc/php.ini and configure it to log to syslog.
You'll also need to ensure log_errors is set to On.

log_errors = On
error_log = syslog

httpd will need to be restarted after saving the changes to php.ini

Josh

On Tuesday, September 29, 2020 5:08:55 PM EDT you wrote:
> Hi Josh,
>
> I added the line but could not find where php would be logging the errors.
> It wasn't inside of /var/log/httpd and I didn't find anything php specific
> outside. In a default installation, where would this be logged to?

> I checked Shib_Session_ID after the error and it is populated.
>
> Thanks
>
> -----Original Message-----
> From: Josh Thompson <[email protected]>
> Sent: Tuesday, September 29, 2020 4:28 PM
> To: [email protected]
> Cc: MARTINEZ, ARIEL <[email protected]>
> Subject: Re: [Suspected SPAM] Re: [EXTERNAL] Re: ADFS SSO Authentication
> Importance: Low
>

--
-------------------------------
Josh Thompson
Systems Programmer
Virtual Computing Lab (VCL)
North Carolina State University

[email protected]
919-515-5323

my GPG/PGP key can be found on pool.sks-keyservers.net

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.

Reply via email to