PDA

View Full Version : I'm at a loss...


ITPDiesel
December 7th, 2004, 11:37 AM
I've got a couple of installation issues that I just can't seem to get resolved.

1. During the installation we are instructed to go to /squirrelcart/diag_session.php. The instructions show what the output should look like, but mine looks different (maybe this isn't a problem)? Mine is missing what I assumed was some kind of session identifier after the line "Waking up session"...see my output below and let me know if I'm OK here.
Session test file for Squirrelcart. Last updated 12/4/03.
--------------------------------------------------------------------------------

Waking up session
The counter is now 7

2. If I try to go to my home.php, I get the following output:
Fatal error: Call to undefined function: show_best_sellers() in D:\Web-FTP Sites\ITP\home.php on line 7

3. I was getting a similar "undefined function" early on with #1 above as well, I don't know for sure what changed that.

4. CURL / MCRYPT / OPENSSL - This is giving me the biggest problems. I'm NOT a programmer and a lot of the text on the PHP site is just "mumbo jumbo" to me. On top of that, I'm running this product on a windows box, which puts me at a disadvantage because of my lack of scripting/compiling/programming knowledge. I did manage to find binary file downloads for the products, but I can't seem to get them working and the text files that are included with them don't tell me where to put the files or if I need to "register" them or edit the PHP.INI file, etc. Below are the files I have, please just help me put them in the right places and get them working.

CURL:
curl.exe - I was expecting a DLL?
curl-ca-bundle.crt - do I need to install this certificate?
libcurl.dll - I found this elsewhere on the site, not in my binary distribution?
ssleay32.dll - This was not in the CURL or OpenSSL distributions, but there was a comment on the PHP website that it was needed. I had to do a google search to find a copy and I don't know if it's needed or not.

OPENSSL:
libeay32.dll - This one is mentioned in the same place as ssleay32.dll above.
libssl32.dll - This one was in the distribution file, but no mention of it on the CURL site?
openssl.exe - ?

MCRYPT:
libmcrypt.dll - ?

I did notice that there are "extension=php_xxx" lines for CURL, MCRYPT and OPENSSL...do I need to remove the comment (;) from those to make this work correctly? I tried that last night and it just made the site hang until I put the comment marks back in.

THANK YOU IN ADVANCE FOR YOUR HELP! Sorry I'm such a newbie :(

Dennis Schroeder
Owner - ITPDiesel

Jamie
December 7th, 2004, 11:56 AM
Hi Dennis,

We don't provide support for installing the different PHP components that Squirrelcart uses, just the software itself. Most of our customers don't run into those issues as they are using hosted servers where these components are installed and maintained by the hosting company.

Because of this, I can't address your last question. I will address the Squirrelcart specific ones below, and maybe someone that is good at installing these components can respond and fill in the rest. :squirrel:

1. As long as that counter increments on refresh, your sessions should be working fine.

2. Home.php is not meant to be opened directly in your browser. It gets included by store.php. This page should help:
http://www.squirrelcart.com/help/1.5.0/?6.2.2

3. You may have gotten that if there was a problem including your config.php file at the top of store.php (or that diag_session.php file).

Thanks,
Jamie

ITPDiesel
December 7th, 2004, 12:23 PM
Jamie,

Thanks! I believe that the cart portion is working fine then.

If you know anyone that's worked with these components in the Windows environment that might be willing to help, please point them my way!!!

Dennis

Jamie
December 7th, 2004, 01:51 PM
Your welcome! Don't let Mcrypt give you too much trouble. If you can't get it going, I have a workaround I can send you so you won't need it.

Thanks,
Jamie

ITPDiesel
December 7th, 2004, 02:19 PM
I think I got CURL and OpenSSL working...

Server Information

PHP Version: 4.3.9 (click here for full PHP details)
MySQL Version: 3.23.55-nt
CURL Version: libcurl/7.11.2 OpenSSL/0.9.7c zlib/1.1.4

Does that look right?

How can I tell if I get Mycrypt working?

Jamie
December 7th, 2004, 03:58 PM
Hi Dennis,

That definitely looks right. With mcrypt, you should see something about it in your phpinfo file, if it is installed. http://www.YOURSITE.COM/squirrelcart/phpinfo.php

You can test it by trying to register for UPS OnLine Tools (see documentation for info). If you don't get an mcrypt error, you should be all set.

Thanks,
Jamie

ITPDiesel
December 7th, 2004, 07:59 PM
Apparently it's working because I was able to register the UPS online tools...Thanks!

Dennis

Jamie
December 8th, 2004, 11:15 AM
Great! :squirrel: