OK, so I am finally getting more time to devote back to these links. I think the ease of the troubleshooting comes with the experience of the troubleshooter though.
I changed the applet tags on the applet.php so that so javascript would not run and I added some code to spit out the variables used in the applet.php When I run the link through the risAccess.php page, something is happening at the fetch_row portion of applet.php, and I cannot figure out why it works through the regular system but fails through the risAccess page.
When I view the image from PacsOne, this is the data I get back:
Code: Select all
uids array = Array ( [0] => 1.2.392.200036.9125.4.0.319806482.2051802472.399170569 )
uid = 1.2.392.200036.9125.4.0.319806482.2051802472.399170569
result = mysqli_result Object ( [current_field] => 0 [field_count] => 1 [lengths] => Array ( [0] => 107 ) [num_rows] => 1 [type] => 0 )
row array = Array ( [0] => //10.60.9.250/cia/CIA/PACSOne/Archive/MMC/2014/05/26/1.2.392.200036.9125.4.0.319806482.2051802472.399170569 )
When I use the risAccess link to try to view the same image, this is what I get back:
Code: Select all
#0 MyDatabase->fetch_row() called at [C:\Program Files (x86)\PacsOne\php\applet.php:29] #1 appletViewer(Array ([0] => 1.2.392.200036.9125.4.0.319806482.2051802472.399170569)) called at [C:\Program Files (x86)\PacsOne\php\risAccess2.php:73]
uids array = Array ( [0] => 1.2.392.200036.9125.4.0.319806482.2051802472.399170569 )
uid = 1.2.392.200036.9125.4.0.319806482.2051802472.399170569
result =
row array =
The UIDs are exactly the same, so I'm not dealing with different images, it seems there's something failing in that fetch_row() call and I don't know enough about what it is doing or how it works to troubleshoot it further. When it fails it does not pass the UNC path to the applet parameter and that's why I keep getting the "no image" error.
Do you have any other suggestions as to what I can do to get this working, or least how to better troubleshoot the fetch_row error?