jmackay Posted March 17, 2004 Share Posted March 17, 2004 Ok, I've taken over a website because the person wanted to switch hosts. We have had a few problems with setting it up since they used modified code (not sure what because it wasn't documented well) and I'm having problems getting the authorize.net part of the site working correctly. We just upgraded and installed the newest curl / php on our server, and I installed the newest version of ADC direct for authorize.net (they were using an old version before) but now I'm just getting a blank error page when I try to buy through authorize.net The page is completely blank with only black text saying "There has been an error connecting to Authorize.net." How can I test to see if curl is installed and working correctly? I'm using the default settings from ADC for the curl placement, on a Win NT box using IIS 5. Can someone help me with either where to point the curl info to, or anything else that might help? What should I set the curl settings to in authorizenet_direct.php? Thanks, John Link to comment Share on other sites More sharing options...
user99999999 Posted March 17, 2004 Share Posted March 17, 2004 Did you copy the dlls from php/dlls to your system32 dir, curl needs libeay32.dll and ssleay32.dll for SSL connections. Link to comment Share on other sites More sharing options...
jmackay Posted March 18, 2004 Author Share Posted March 18, 2004 I'm not sure, another person setup the curl on the server. He said that they are installed however. Is there an easy way I can check if CURL (SSL version)is working from a PHP script? Just a simple connection, nothing fancy. If that connection fails, then I can narrow down the problem, if it succeeds then its something wrong with the authorize.net scripts. Also, where should I have the php script look for the curl exe? Or do I not need to if I'm using the php_curl extension :S As you can see, I'm new to this curl stuff :blink: Link to comment Share on other sites More sharing options...
jmackay Posted March 19, 2004 Author Share Posted March 19, 2004 anyone? Link to comment Share on other sites More sharing options...
user99999999 Posted March 20, 2004 Share Posted March 20, 2004 Why not look in the directory and see if they are in there. Link to comment Share on other sites More sharing options...
user99999999 Posted March 20, 2004 Share Posted March 20, 2004 Here is a test script http://curl.haxx.se/libcurl/php/examples/?ex=simpleget.php Link to comment Share on other sites More sharing options...
paco-shalom Posted April 15, 2004 Share Posted April 15, 2004 This script is great and easy to use. I think that my host has the SSL part not set up properly. How can I test that? I already know that when I open the script referenced above, it works fine. If I change the URL to retrieve to an https URL, then nothing is returned. I am working in a Linux Redhat shared hosting environment with my own SSL certificate installed for my domain. I do not have telnet access now, so it I can't look directly at the SSL installation or see any of the root directories. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.