Koozali.org: home of the SME Server

oscommerce and secv2.2

renwald

oscommerce and secv2.2
« on: September 15, 2003, 09:17:40 PM »
Hello All!

I was wondering if anyone has had any experience using OSCommerce  with the new secv2.2 contribution.  This looks like a great enhancement to OSC and I'd like to get it going...
I'm using 5.6r4 and have installed this contrib in a new ibay using the files that came with the contrib for the 'easy_install_123' (A base MS2 store with the changes pre-made).  After making the configure and db changes, I have the catalog portion running properly.  I cannot get the admin ftn to come up (I get a blank screen)!

I have setup other stores with a stock MS2 release and have not had this problem before.  I am using .htaccess to protect their admin directories.  This new contrib advises you to login with a vaild email(!)/pwd to access the admin screen, but I don't even get that challenge.

I thought I'd ask for advice before I dig in to see if this has already been solved by someone.  Asking other OSCr's here first saves a bunch of miscommunication with others that don't use ibays...

Thanks in advance for any guidance.

renwald

Re: oscommerce and secv2.2
« Reply #1 on: September 17, 2003, 04:20:54 AM »
Hi!  Any OSC'rs out there that have stores running on SME?  I'd be happy to collaborate with anyone wishing to write a how-to on this, but right now I could use some advice.  Thanks

Steve

Re: oscommerce and secv2.2
« Reply #2 on: September 17, 2003, 04:53:36 AM »
I have just installed the online store for the first time it looks great but having trouble logging into secure server ie: can't create accounts or check out from website,
HTTP 404 - File not found
everything else seems ok. Yes i did tick the box to use SSL.

And I can't get rid of this warning no matter what I do (chmod 755 configure.php)

Warning: I am able to write to the configuration file: /home/e-smith/files/primary/html/store/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

All my admin pages work fine too any help would be most grateful.

Steve (newbie)

renwald

Re: oscommerce and secv2.2
« Reply #3 on: September 17, 2003, 05:34:35 AM »
what did you install (MS2 / a snapshot / or what)?
how did you install it?

kinda sounds like a file didn't get copied or a config error in \catalog\includes\configure.php. .  As to your 2nd problem, chmod 644 should do the trick (after you make your config changes)

there's a good how-to at:
www.acenet-tech.org/cdj/  
- look for the OSCommerce how-to.  

Additional help can be found at
http://wiki.oscommerce.com/helpDocuments

If your just starting up a shop, take a look at the secv2.2 contrib from the webmakerscorner.com.  It has a lot of features that most people will probably use and the download includes a copy of MS2 that already includes the changes.  It is a bit different from MS2, so there's an additional learning curve...

Steve

Re: oscommerce and secv2.2
« Reply #4 on: September 17, 2003, 06:19:31 AM »
Thanks for the info i will be in touch

This is what i installed:
cdj-mitel-oscommerce-1.0-07.noarch.rpm

Steve

renwald

Re: oscommerce and secv2.2
« Reply #5 on: September 18, 2003, 08:02:11 AM »
I discovered a typo in my db connection.  This problem is solved.  Bleary eyes strike again...  Sorry for any wasted time.

I do recommend that SMEr's that use OSCommerce check out the Shoppe Enhancement Controller (SECv2.2) contribution though.  It provides quite a bit of useful flexibility in pricing and presentation.

Steve

Re: oscommerce and secv2.2
« Reply #6 on: September 19, 2003, 03:31:11 PM »
Ok it's working now,

This line was missing:

define('HTTPS_SERVER', 'https://www.mydomain.com');

from my /catalog/includes/configure.php
which lives above this line:

define('ENABLE_SSL', true);

Steve