alivesay / open-source-self-check

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

Cannot get past "Checking your account please wait." #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enter SIP2 server info in config.php; enter library card # length (14) in 
config.php; disable PHP errors
2. Restart web server, browse to http://localhost
3. Scan library card

What is the expected output? What do you see instead?
Site hangs on "Checking your account please wait."

What version of the product are you using? On what operating system?
Open Source Self Check 1.2 on both Debian 7.7 (Iceweasel 31) and Windows 7 
(included portable Firefox and Firefox 33).

Please provide any additional information below.
I am not very familiar with PHP, so I'm not sure what the issue could be. I've 
tried all the suggestions for this issue from the other threads.

My guess is that there's some communication issue with the SIP2 server, but I'm 
not really sure where to start troubleshooting.

This is the SIP2 info my supervisor gave me:

Library Host Name: <sip2 ip address>
Library Port Number: <port>
SIP2 Server Login: <user>
SIP2 Server Password: <pass>
SIP2 Server Location: 1

And these are the variables I have changed in config.php:

$sip_hostname = '<sip2 ip address>';
$sip_port = "<sip2 port>";
$sip_login='<user>';
$sip_password='<pass>';
...
$patron_id_length=14;

I also disabled PHP errors as suggested in some of the other threads. In 
config.php:

$display_php_errors='off';

In /etc/php5/apache2/php.ini:

error_reporting = ~E_ALL

We have multiple services that successfully connect to our SIP server, so I'm 
not sure why this would be a problem.

Any help would be greatly appreciated.

Original issue reported on code.google.com by sam.c...@pcplib.org on 1 Dec 2014 at 5:22

GoogleCodeExporter commented 9 years ago
Make sure your pho installation has sockets enabled. 

Original comment by ericmelton1@gmail.com on 4 Dec 2014 at 12:41