GallusMax / open-source-self-check

An OpenSource Selfcheck system that is FAST, intuitive and - Free Software! Enhancements against the code from code.google.com/p/open-source-self-check
GNU General Public License v3.0
6 stars 4 forks source link

Checking your account please wait #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Entering a valid barcode
2.
3.

What is the expected output? What do you see instead?
To be presented with the patrons home screen

What version of the product are you using? On what operating system?
1.2 on a Windows 7 x64 client, Chrome IE and Firefox Portable, Server is using 
IIS7 with PHP 5.5.11

Please provide any additional information below.
When entering an invalid barcode a sound and expected error message are 
displayed. However "Checking your account please wait" is displayed 
indefinitely instead of logging in the patron. The PHP errors log shows the 
following.

PHP Fatal error:  Maximum execution time of 300 seconds exceeded in 
C:\inetpub\wwwroot\selfcheck\includes\sip2.php on line 658

responses.php shows me 
Checkouts Allowed (Y or N): Y
Renewals Allowed (Y or N):  N(consider changing your sip2 configuration to allow 
renewals)

and

Array ( [fixed] => Array ( [Ok] => 0 [RenewalOk] => N [Magnetic] => N 
[Desensitize] => N [TransactionDate] => 20140811 165631 ) [variable] => Array ( 
[Raw] => Array ( [0] => AO [1] => AA110347 [2] => ABI1900096369 [3] => 
AJWarriors of the raven [4] => AH [5] => BHMYR [6] => BH0 [7] => AFThe item is 
not available for circula ) [AA] => Array ( [0] => 110347 ) [AB] => Array ( [0] 
=> I1900096369 ) [AJ] => Array ( [0] => Warriors of the raven ) [BH] => Array ( 
[0] => MYR [1] => 0 ) [AF] => Array ( [0] => The item is not available for 
circula ) [AZ] => Array ( [0] => on.| ) ) )

Response:   The item is not available for circula

Sip server logging shows the following.

2014-08-11 16:59:36,911 [4880] INFO  FunLogging 8/11/2014 4:59:36 PM Connected 
to:10.193.186.39
2014-08-11 16:59:36,911 [4880] INFO  FunLogging 8/11/2014 4:59:36 PM received: 
6300120140811    165935  Y       AO4|AA4287788|BP1|BQ5|AY0AZF29D

2014-08-11 16:59:36,911 [4880] INFO  FunLogging 8/11/2014 4:59:36 PM received: 
6300120140811    165935  Y       AO4|AA4287788|BP1|BQ5|AY0AZF29D

2014-08-11 16:59:36,911 [4880] ERROR FunLogging SIP2Server->NewClient 
Exception:System.NullReferenceException: Object reference not set to an 
instance of an object.
   at Fun.ACSServer.PatronInformationCommand.GetSIP2CommandResponse()
   at Fun.ACSServer.SIP2Server.NewClient(Object obj)
2014-08-11 16:59:36,911 [4880] ERROR FunLogging SIP2Server->NewClient Exception 
StackTrace:   at Fun.ACSServer.PatronInformationCommand.GetSIP2CommandResponse()
   at Fun.ACSServer.SIP2Server.NewClient(Object obj)

Original issue reported on code.google.com by ad...@moc.sa.edu.au on 11 Aug 2014 at 7:35

GoogleCodeExporter commented 8 years ago
Try turning off php errors in config.php and your php.ini. Let me know if that 
works.

Original comment by ericmelton1@gmail.com on 11 Aug 2014 at 11:57