Koozali.org: home of the SME Server

osCommerce & SME5.6

Drifting

osCommerce & SME5.6
« on: February 10, 2003, 10:48:33 PM »
Has any one tried the latest RPM from the site below?

http://www.acenet-tech.org/phpBB2/viewforum.php?f=13

The version I tried was store-1.0-04_cdj.noarch.rpm

It seemed the Ideal solution for a newbie like me?

Below is a screen dump of what I did? Expect I have missed something important? Any help would be good?
Latest version of Mitel Server 5.6? Developer edition.

rpm -ivh store-*.noarch.rpm
Preparing... ########################################### [100%]
1:store ########################################### [100%]
Creating database...
/bin/chmod: getting attributes of /etc/e-smith/web/functions/shopadmin': No suc
h file or directory
/bin/chmod: getting attributes of /etc/e-smith/web/panels/manager/cgi-bin/shopa
dmin': No such file or directory
/bin/chown: getting attributes of /etc/e-smith/web/functions/shopadmin': No suc
h file or directory

It seemed to create the directories in the Primary site, rather than the I-bays. I followed the instructions and created an I-bay called "store" and also created the "admin" & "catalog" in the I-bay.

Regards Paul.

Craig Jensen

Re: osCommerce & SME5.6
« Reply #1 on: February 11, 2003, 07:17:38 PM »
You are using two different installations.  

1. The how-to in the contribs of e-smith (http://www.e-smith.org/cgi-bin/contrib.cgi) is to install osCommerce from the latest snapshot into an i-bay.  It is a stand alone installation.

2. The rpm you mentioned is also to install osCommerce.  It is a package including a number of popular/useful mods.  It will install osCommerce in your primary html directory.

What you have done is create a store that will not be accessible because the url will be the same for either.

to fix:
Uninstall the rpm with the following as root-

rpm -e store-1.0-04_cdj
mysqladmin drop catalog

now, if you followed the #1 install above, you whould have the store installed and accessible from http://yourdomain.com/store/catalog

If you want the rpm install instead, then remove the ibay from server-manager and reinstall the rpm.

email me offlist if you have further questions/problems

Craig Jensen

Craig Jensen

Why I maintain BOTH the how-to AND rpm methods
« Reply #2 on: February 11, 2003, 08:05:04 PM »
I felt I whould explain why I have left the two options for installing osCommerce on SME Server.  See my reply to 'Drifting' here:

http://www.acenet-tech.org/phpBB2/viewtopic.php?t=20

There is good reason for one person or the other to choose one method and not the other, and BOTH methods will install the osCommerce package.

As I stated in the above reply, osCommerce has a great following and Harald Ponce de Leon seems very intent on making each of the 'stable' releases is a rock solid release.  So, the 'developement release', or 'snapshot' is the package to choose to get the latest code.  This is what lead me to believe there were likely two install options which fit most people's needs:  

One with the latest base code, customizable from that base (the how-to method "http://www.acenet-tech.org/cdj/osCommerce_on-SME_howto/osCommerce-on-SME_5.5-how-to.htm")

And Two, a 'recent' release WITH  the most popular customizations pre-installed (my rpm "http://www.acenet-tech.org/cdj/osCommerce-rpm/store-1.0-04_cdj.noarch.rpm")

Craig Jensen

Drifting

Re: Why I maintain BOTH the how-to AND rpm methods
« Reply #3 on: February 11, 2003, 09:36:32 PM »
Thanks for the reply, in both forums. I did enter the one on you forum first, I assumed that perhaps you had better things to do than answer a hapless newbie. Hence the later post in here.

I assume that what you are saying is that I should not have run the RPM after creating the directories (Knew I would do something dumb!) I understand your fuller explanation about the latest release etc, but think with my knowledge of Linux (Small) that the RPM relase would be the better option.

Thank you ever so much for taking the time to reply.

Regards Paul.

Craig Jensen

Re: Why I maintain BOTH the how-to AND rpm methods
« Reply #4 on: February 11, 2003, 10:02:16 PM »
Paul,
> to do than answer a hapless newbie.

We have all been newbies, and I think we ALL learn from sharing our knowlege/experience.
 
> I assume that what you are saying is that I should not have
> run the RPM after creating the directories (Knew I would do
> something dumb!) I understand your fuller explanation about
> the latest release etc, but think with my knowledge of Linux
> (Small) that the RPM relase would be the better option.

You didn't do something dumb, just saw both options and thought they were together the same install.  I have not done the best job of making sure the rpm and the how-to are indeed separate.  That is what I am trying to accomplish btter now ;-)
 
> Thank you ever so much for taking the time to reply.

You're welcome

Craig

Drifting

Re: Why I maintain BOTH the how-to AND rpm methods
« Reply #5 on: February 11, 2003, 11:58:08 PM »
One quick question for you.  Why do I get the following? Across the site?

 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.

I followed the instructions as below?

cd /home/e-smith/files/primary/html/store/catalog/includes
      chmod 755 configure.php

Regards Paul.

Craig Jensen

Re: Why I maintain BOTH the how-to AND rpm methods
« Reply #6 on: February 12, 2003, 12:21:14 AM »
Make sure you 'refresh' your page after permission changes

cd /home/e-smith/files/primary/html/store/catalog/includes/

Comfirm permissions with ls -l

This message will disappear once this is confirmed.

Craig