RowdyChildren / open-source-self-check

Automatically exported from code.google.com/p/open-source-self-check
0 stars 1 forks source link

Php Error and Possible Slow SIP response #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Restarting webserver or restarting xampp

What is the expected output? What do you see instead?

PHP throwing errors.

[17-Aug-2012 16:06:39] PHP Notice:  Undefined variable: include in 
C:\xampp\selfcheck\index.php on line 25

[17-Aug-2012 16:06:39] PHP Warning:  include_once(C:\xampp\selfcheck): failed 
to open stream: Permission denied in C:\xampp\selfcheck\index.php on line 25

[17-Aug-2012 16:06:39] PHP Warning:  include_once(): Failed opening '' for 
inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\selfcheck\index.php 
on line 25

What version of the product are you using? On what operating system?
Self Check 1.2 on Windows Server 08

Please provide any additional information below.

The self check is working but was in logs looking for an explanation on why it 
takes so long to talk to the SIP2 protocol when scanning a book and discovered 
the above problem. When looking at that line 25 it doesnt seem correct.

Maybe this belongs in another "ticket" but is it normal to scan a book and wait 
seconds before you can scan another? (SirsiDynix Symphony)

Original issue reported on code.google.com by mickeyfa...@gmail.com on 17 Aug 2012 at 6:37

GoogleCodeExporter commented 9 years ago
You can add the following below line 11 on index.php to get rid of that error 
but I don't think it's going to do anything for a slow response -sounds like a 
server or ils issue.

$include='pages/'.$page.'.php';

Original comment by ericmelton1@gmail.com on 17 Aug 2012 at 6:45

GoogleCodeExporter commented 9 years ago
Because of the delay in the software showing the book on the monitor after it 
is scanned is it possible without alot of work on your part to add the option 
to play a sound when the item scanned appears on the screen each time?

What is happening is when they walk up and scan like 5 items fast as they can 
by the time they hit print only 2 or 3 books are on the screen. I was hoping 
that it would slow them down if after one item scanned and shows on the screen 
the program could beep (i would of course turn off the scanner beep).

Original comment by mickeyfa...@gmail.com on 5 Oct 2012 at 1:29

GoogleCodeExporter commented 9 years ago
try adding the following in processes/checkout.php but keep in mind the sounds 
are sometimes delayed as well

put...

$.dbj_sound.play("'.$welcome_sound.'");

below...

$("#item_list").attr({ scrollTop: $("#item_list").attr("scrollHeight") });

Original comment by ericmelton1@gmail.com on 5 Oct 2012 at 4:44

GoogleCodeExporter commented 9 years ago
That works perfect!!!! Thank you so much!

Original comment by mickeyfa...@gmail.com on 5 Oct 2012 at 6:17