Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Anonymous on March 31, 2004, 01:09:16 AM
-
Hi all
I'm looking for a linux based shopping cart software
that will run well with sme server.
Any recommendations would be greatly appreciated.
Thanks to all.
-
Hello
if you are using sme there is a contrib for osCommerce by Craig Jensen that is great do a search
on this site the latest I think is
e-smith-osCommerce-sme6x-2.0-04.noarch.rpm
after you install it just go to
http://your-domain.com/catalog/install
and follow the instructions
if you are using just linux you will need to get the download from osCommerce website
hope this helps
-
Thanks for the info
The folks on this forum are sooooooo helpful.
thanks again
-
Hi All
Installed OSC in
/home/e-smith/files/ibays/store/html/catalog
Locally I can get to it.
When I htt://www.mydomain.com it takes me to........
Index of /
Name Last modified Size Description
-----------------------------------------------
Parent Directory 05-Apr-2004 01:35 -
catalog/ 20-Apr-2004 14:17 -
-----------------------------------------------
and not into catalog/
If I click on catalog/ I then get OSC index.php
Thanks for all the help.
-
Hi All
Installed OSC in
/home/e-smith/files/ibays/store/html/catalog
Locally I can get to it.
When I htt://www.mydomain.com it takes me to........
Index of /
Name Last modified Size Description
-----------------------------------------------
Parent Directory 05-Apr-2004 01:35 -
catalog/ 20-Apr-2004 14:17 -
-----------------------------------------------
and not into catalog/
If I click on catalog/ I then get OSC index.php
Thanks for all the help.
-
Hello
you need to follow the osCommerce howto you have missed a line in the setup config or better yet use the best rpm for osCommerce at this link it installs to the catalog folder
you don't have all the other config to deal with
http://www.eelriver.com/sme/e-smith-osCommerce-sme6x-2.0-04.noarch.rpm
you still have to go to the install link and set it up though
http://your-server/catalog/install
hope this helps
-
Hi,I am looking for a shopping cart that works on sme 7
I did have look at osCommerce and tried e-smith-osCommerce-2.0-04cdj.noarch.rpm
e-smith-osCommerce-sme6x-2.0-04.noarch.rpm
can someone tell me what this error means or how do i enable register_globals in php.ini
[error msg]
FATAL ERROR: register_globals is disabled in php.ini, please enable it!
Thanks, Russell
-
php.ini is at /etc/php.ini
register_globals = Off is on line 43 in SME7b5
You'll need to restart apache after changing "Off" to "On" and saving the file. The simplest way is to reboot.
If you get osCommerce to work on SME7b5 please consider making a note in the GPL Contribs - working section of
http://no.longer.valid/phpwiki/index.php/SME7Contribs
Thanks!
RonM
-
[error msg]
FATAL ERROR: register_globals is disabled in php.ini, please enable it!
Thanks, Russell
FYI..
Be on the lookout for a way to enable register_globals per ibay in a future 7.0 beta release.
Done, in e-smith-ibays-1.1.3-03:
- Allow per-ibay override for PHP register_globals setting.
To enable:
/sbin/e-smith/db accounts setprop <ibay> PHPRegisterGlobals enabled
JB
-
John's advice is better than mine; for one thing it allows you to control this at the ibay level. For another it shouldn't get overwritten by an upgrade.
Sorry
RonM
-
I installed zen cart in a matter of minutes on my SME 6.0.1 with SME plus updates. Not a single complaint during the install of setup. Search around here for the link I don't have it handy
-
OK, I got it to work on SME7B5, here's what i did
download oscommerce from http://www.oscommerce.com/redirect.php/go,19
or wget http://www.oscommerce.com/redirect.php/go,19
unpack oscommerce
tar xvzf oscommerce-2.2ms2.tar.gz
I chose to create a download dir and extracted tar.gz in a temp directory, you can put oscommerce within any ibay, for this example i have chosen to create an ibay named store
cd /downloads/temp/oscommerce-2.2ms2
copy catalog and extras within oscommerce-2.2ms2 to an ibay
cd /downloads/temp/oscommerce-2.2ms2
cp -R catalog /home/e-smith/files/ibays/store/html/
cp -R extras /home/e-smith/files/ibays/store/html/
edit php.ini
cd /etc/php.ini
register_globals = Off is on line 43 in SME7b5
change to
register_globals = On
Modify your httpd server for osCommerce
Create the catalogue structure for templates-custom
[root@server root]# cd /etc/e-smith/templates-custom/
[root@server templates-custom]# mkdir etc
[root@server templates-custom]# cd etc
[root@server etc]# mkdir httpd
[root@server etc]# cd httpd/
[root@server httpd]# mkdir conf
[root@server httpd]# cd conf
[root@server conf]# mkdir httpd.conf
[root@server conf]# cd httpd.conf/
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
copy and paste within lines
pico 86osCommerce
======================================================
# ------------------------------
# osCommerce apache config
# 01-06-2004 Craig D. Jensen
# ------------------------------
<Directory /home/e-smith/files/ibays/store/html/catalog>
AddType application/x-httpd-php .php .php3 .phtml
php_flag magic_quotes_gpc on
php_flag track_vars on
Options Indexes +Includes FollowSymLinks
order deny,allow
deny from all
allow from all
</Directory>
# -----------------------------
# EOF
# -----------------------------
======================================================
Save by pressing Ctrl x, press y to save changes and press enter
Change Permissions & Ownership
chmod 644 /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/86osCommerce
chown -R www.www /home/e-smith/files/ibays/store/html/catalog
chmod 706 /home/e-smith/files/ibays/store/html/catalog/includes/configure.php
chmod 706 /home/e-smith/files/ibays/store/html/catalog/admin/includes/configure.php
chmod 777 /home/e-smith/files/ibays/store/html/catalog/admin/images
chmod 777 /home/e-smith/files/ibays/store/html/catalog/images
Create Database
cd /home/e-smith/files/ibays/store/html/catalog/install
mysql -e "create database osCommerce"
mysql -e "grant all privileges on osCommerce.* to osCommerce@localhost identified by 'createpassword'"
mysql -e "flush privileges"
mysql -uosCommerce -pyourpassword osCommerce < oscommerce.sql
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/init.d/httpd-admin restart
/etc/rc.d/init.d/httpd-e-smith restart
Setup osCommerce
http://www.yoursite.com.au/store/catalog/install