PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 12-9-02, 07:10 PM   #1
rd42
 
Join Date: Dec 2002
Location: Peoria, IL
Posts: 62
Reputation: 5
Oscommerce

Has anyone had any success setting up oscommerce on powweb?

I haven't found anything in the message boards.
rd42 is offline  
Old 12-10-02, 09:04 AM   #2
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
I have for a client.

http://www.cmdiecasttoys.com

be aware there is no easy solution to setting up this application, everything needs to be hand coded for changes. The OScommerse site does have some documentation on the program to get you started. I do suggest reaading through this as it covers some of the basic changes. The forums are fairly good though you may wait days for an answer and you might want to check out the dowloads for the contributions to help you out.

Another documentation site for oscommerce http://www.oscdox.com/

It took me about two days of recoding to get the site up and themed, and another 10 hours or so of tweaking and loading up the products.

Once you are set up, it is a pretty sweet (free) commerce package.
Jade Dragon is offline  
Old 12-11-02, 12:06 PM   #3
rd42
 
Join Date: Dec 2002
Location: Peoria, IL
Posts: 62
Reputation: 5
thanks

Thanks for the response. I going to start reading........
rd42 is offline  
Old 12-11-02, 01:35 PM   #4
rd42
 
Join Date: Dec 2002
Location: Peoria, IL
Posts: 62
Reputation: 5
missing files

I'm am reading the docs off of oscdox and it mentions some files which I don't have. I downloaded the unix version and uploaded it to powweb in ASCII.

it says to change the permissions for /catalog/includes/configure.php, this file is not there. the only config file is in /admin/configuration.php

it mentions and install.php during the setup process. It supposed to be located in /catalog/install/install.php? where is it?

Which version of OScommerce did you install successfully?
rd42 is offline  
Old 12-11-02, 01:44 PM   #5
rd42
 
Join Date: Dec 2002
Location: Peoria, IL
Posts: 62
Reputation: 5
dumb *** attack

pardon my dumb *** attack, I had the docs for the wrong version.
rd42 is offline  
Old 12-11-02, 04:14 PM   #6
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
Just a note.

when you start loading products & images use the "add product" to fill in the info. It also does an FTP upload on the images within the "add product" screen. If you try to upload the images first then link to them, it will over write the images data with a 0k (zero k) file. this is also true when you go to edit a product, you will need to reup the images within their FTP on the "add product" form.

dump I know, I haven't found a work around yet.
Jade Dragon is offline  
Old 12-11-02, 05:06 PM   #7
rd42
 
Join Date: Dec 2002
Location: Peoria, IL
Posts: 62
Reputation: 5
thanks

Thanks for the heads up. I was just getting ready to start playing with the products

Thanks again for the link to oscdox, it was a huge help. I have been putzing around with this on my on linux box for a while now.

rd42
rd42 is offline  
Old 12-11-02, 05:13 PM   #8
rd42
 
Join Date: Dec 2002
Location: Peoria, IL
Posts: 62
Reputation: 5
editing

Do you know of a way to mount the web directory on powweb to edit and preview with something like dreamweaver or frontpage?
rd42 is offline  
Old 12-11-02, 09:45 PM   #9
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
Sorry I did everything hand coded. Most of it once you get into the admin pannel you can go to "file Manager" and when you click "edit" it will pop up in a simple text editor.

The oscommerce engine is very complex in itself and I would strongly suggest not using front page as it does not like php at all. (I have FP 2002) I do not know how Dreamweaver handles php or how it can tract the links. There's Tons of them. I think that made up most my first day of setting up is trying to track all the links on where things were to change them. Mind boggling tis was. Expecially since this was my first real attempt at modifying a php engine site. Huge learning curve on my part.

OSC does make phpNuke seem like childs play in comparison.

Best thing to do to find something and then, right click and select properties. Then follow that path to the file you want to change.

Lots & Lots & Lots of changes.

It's been a while since I set this up, but if you have a question I'll do my best to answer.

JD
Jade Dragon is offline  
Old 12-12-02, 10:01 AM   #10
rd42
 
Join Date: Dec 2002
Location: Peoria, IL
Posts: 62
Reputation: 5
configure.php permissions

I have the permissions set to 755, 644, and 00 for /catalog/includes/configure.php and /admin/includes/configure.php, I when I load the page, in pink, at the top, I get...

Warning: I am able to write to the configuration file: /www/p/pharosman/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

I have been changing all my permission through ftp in a IE Browser window.

thanks for any help.
rd42 is offline  
Old 12-12-02, 11:40 AM   #11
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
I have mine set to 644, and it workd fine. Just on an off chance try 605, it's what I used on another php application to get it to work. Odd I know but it worked, don't know why you are having an issue with the config.php.

Perhaps check to make sure your settings are correct in the config file itself?
Code:
define('HTTP_SERVER', 'http://yoursite.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://server.powweb.com:XXXX'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure?

and
Code:
// define our database connection define('DB_SERVER', 'server.powweb.com'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', 'CHANGETHIS'); define('DB_SERVER_PASSWORD', 'CHANGETHIS'); define('DB_DATABASE', 'CHANGETHIS'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
Jade Dragon is offline  
Old 12-12-02, 11:49 AM   #12
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
Ok here's what I did for a workaround. I set the permissions to 644 so they're good then I escaped the whole error code in the ../includes/header.php

Code:
// check if the configure.php file is writeable // if (WARN_CONFIG_WRITEABLE == 'true') { // if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && //(is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { // tep_output_warning(WARNING_CONFIG_FILE_WRITEABLE); // } // }

Upon thinking I aslo tried allthe permissions and got an error like that. I figure it is a mismatch between the php powweb is running and how the scripts call each other.

I'm not a guru on php by any means, however it did work for me, and I haven't had any troubles with it.
Jade Dragon is offline  
Old 12-12-02, 03:21 PM   #13
rd42
 
Join Date: Dec 2002
Location: Peoria, IL
Posts: 62
Reputation: 5
work around

Sounds good to me. I will try it.

Pilámaya. Wakhan Thánka níci un. Akhé ú wo.
rd42 is offline  
Old 12-12-02, 10:06 PM   #14
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
U mayasi.

Nituktel he?

Or do you really not know Lakota?
Jade Dragon is offline  
Old 12-12-02, 11:34 PM   #15
nonner
Web Designing
 
nonner's Avatar
 
Join Date: Dec 2002
Location: California
Posts: 139
Reputation: 5
Talking also installing oscommerce

Hello Jade Dragon & rd42, I started install on this and am very happy to find you guys discussing the topic of my current project. I'll be joining in if you don't mind.

rd42 could you tell me the docs location I got docs for 2.2 but the dwnlod for 2.1 where'd you find your docs and what version are you installing? Please post the links for both.

Jade Dragon. Kudos on the cmdiecasttoys site.
I'm hoping to get mine to look like
SonyXplode's website.

I'll take a look at the oscdox to see if I find the right docs. I too read of directories that don't exist.

I just finished MySql tables setup. Now I'm reading about permissions for /admin/images and possible issues.
What permissions did you guys set for this?

Last edited by nonner : 12-13-02 at 12:08 AM.
nonner is offline  
Old 12-13-02, 12:15 AM   #16
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
dwnlod for 2.1

you should really find v 2.2 much more stable....

Download HERE v 2,2
heres the download link that I used.
Jade Dragon is offline  
Old 12-13-02, 12:18 AM   #17
rd42
 
Join Date: Dec 2002
Location: Peoria, IL
Posts: 62
Reputation: 5
It would be cool if I knew Lakota, unfortunately, just google.


Install Doc on oscdox.com
http://www.oscdox.com/modules.php?op...download&cid=1


Nonner, the problem I had with the missing directories was because I was reading the docs for osCommerse 2.1 and the docs are for 2.2. I am not aware of any documentation for previous versions.

osCommerse 2.2 CVS can be found here:
http://www.oscommerce.com/downloads....1ddbed8cfe4319
rd42 is offline  
Old 12-13-02, 12:19 AM   #18
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
Thanks for the complement. I'm off for the night.

try downloading and installing v2.2 you'll be much happier with it. Also a good idea to read up before you start. The boring way I know. Also make a complete backup copy of your files before you start editing. & editing & editing

Good luck,

JD
Jade Dragon is offline  
Old 12-13-02, 12:25 AM   #19
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
If you want to know what is said in Lakota:

Pilámaya. = Thanks.

Wakhan Thánka níci un. = May the Great Spirit go with you and guide you

Akhé ú wo = come again

U mayasi. = you told me to come.

Nituktel he? = Where are you?

I’m only just to the sentence structure, been studying it for about two months.

OK so this post was WAY off topic.
Jade Dragon is offline  
Old 12-13-02, 01:14 AM   #20
nonner
Web Designing
 
nonner's Avatar
 
Join Date: Dec 2002
Location: California
Posts: 139
Reputation: 5
Thumbs up

What language is Lakota?
BTW: Thanks for the links guys.
12:30 EST and reading. Good night...
nonner is offline  
Old 12-13-02, 08:46 AM   #21
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
Lakota is Native American Souix.

Good luck on your site.

JD
Jade Dragon is offline  
Old 1-12-03, 12:38 PM   #22
WnJBirds
 
Posts: n/a
Quote:
Originally posted by Jade Dragon
Ok here's what I did for a workaround. I set the permissions to 644 so they're good then I escaped the whole error code in the ../includes/header.php

Code:
// check if the configure.php file is writeable // if (WARN_CONFIG_WRITEABLE == 'true') { // if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && //(is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { // tep_output_warning(WARNING_CONFIG_FILE_WRITEABLE); // } // }

Upon thinking I aslo tried allthe permissions and got an error like that. I figure it is a mismatch between the php powweb is running and how the scripts call each other.

I'm not a guru on php by any means, however it did work for me, and I haven't had any troubles with it.
okay, now I'm totally lost..
Code:
// check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { tep_output_warning(WARNING_CONFIG_FILE_WRITEABLE); } }
To me, they look the same..
 
Old 1-12-03, 12:55 PM   #23
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
by putting "//" infront of the line of code you don't want to be parsed, you eliminate the error.


// php doesn't read this.

php will read this
Jade Dragon is offline  
Old 1-12-03, 01:10 PM   #24
WnJBirds
 
Posts: n/a
*smacking forehead* Duhhhhhhh!
Thanks, I missed that part!
 
Old 1-12-03, 01:19 PM   #25
WnJBirds
 
Posts: n/a
That was the ticket!
Thanks for your patience and help!
On to the next thing...: (LOL)
You know anything about php_website, or phpnuke?
 
Old 1-12-03, 01:30 PM   #26
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
Yup!

Just put up a Website just for Powweb users interested in phpNuke. (less than a week old) It gives more info than just the installation. & new tuts are going up almost daily.

http://www.pownuke.com

Check out the Tutorials. We are waiting on 6.5 final before putting up info for that, (after we test wil powweb servers).
Jade Dragon is offline  
Old 1-22-03, 01:54 AM   #27
andydavis27
 
Posts: n/a
Hey, thanks for the help about removing the pink warning banner at the top of osCommerce, Jade Dragon! I have been pulling my hair out over that one for a long, long time! lol

With permissions set at 644, I don't know why php thinks that file is writeable, but as long as it's fixed, I'm happy!

Thanks Again!

Andy

 
Old 1-22-03, 12:02 PM   #28
RCPartsHKG
 
Posts: n/a
PHP-Nuke V6.5

JD,

FYI - PHP-Nuke 6.5 Beta 5 runs very stable on Powweb. I have had it up and running for over a week now and I must say its the best build so far.

I just hope that the upgrade to 6.5 final is painless, as I really do not want to go through a complete upload again.
 
Old 1-25-03, 06:30 PM   #29
xmac
 
Posts: n/a
oscommerce

I have a full store with oscommerce here on powweb (asteroid.powweb.com)

check it:

http://www.xmac.no/store (it's in norwegian)

http://www.xmac.no (to get the full interface)

cheers!
mats staugaard
oslo, norway
 
Old 1-26-03, 11:49 PM   #30
megahertzman
 
Posts: n/a
Does anyone know of any place of themes I can download for OSCommerce so it's just as easy like installing new themes for phpBB?
 
Old 1-27-03, 12:06 AM   #31
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
As far as I know there are none. Every thing is hand coded.

To change logo look at /includes/header.php

header/footer/title are controlled by the /include/language files.

along with the welcome page at /includes/language/english/default.php

just need to look through the include files for the various scripts which create the design for the site.

JD
Jade Dragon is offline  
Old 1-27-03, 12:21 AM   #32
megahertzman
 
Posts: n/a
Okay thanks Jadey. But it would've been cool if there were a kind of theme-for-all kind of site out there.

Moderator now, huh? Congrats!
 
Old 2-6-03, 12:29 AM   #33
erodzen
It's fun to be a Pepere!
 
erodzen's Avatar
 
Join Date: Jan 2003
Location: in the Great state of Maine!
Posts: 117
Reputation: 5
Jade - You have suggested oscommerce to me in another thread so I have been searching, reading, studying. I took a look at your http://www.cmdiecasttoys.com/ and I am impressed.

Wondered if the "conditions of use" came with the install or if you wrote all of that? Can I have your permission to steal it when/if I set up our ecommerce site?

Also, noticed that the "shipping and returns" link on the site is not giving any info - you may want to remove it or change its output?

Thanks a ton for all your help here, both direct answers to me and prior answers that I have searched up in the forums - you are definitely a big part of the cream of the crop that makes powweb the best!

__________________
A man who says marriage is a 50-50 proposition doesn't understand two things: 1 - Women, 2 - Fractions
erodzen is offline  
Old 2-9-03, 11:55 PM   #34
nonner
Web Designing
 
nonner's Avatar
 
Join Date: Dec 2002
Location: California
Posts: 139
Reputation: 5
Hi All,

As I setup my oscommerce I am coming across this issue.

It appears that POWWEB will not let the file remain without owner write access.

I tested. I removed write by owner and refreshed and looked to find write still enabled. No matter what I did the file could not be changed. Could this be the issue here?

regards,

nonner

Quote:
Originally posted by rd42
I have the permissions set to 755, 644, and 00 for /catalog/includes/configure.php and /admin/includes/configure.php, I when I load the page, in pink, at the top, I get...

Warning: I am able to write to the configuration file: /www/p/pharosman/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

I have been changing all my permission through ftp in a IE Browser window.

thanks for any help.

Last edited by nonner : 2-9-03 at 11:59 PM.
nonner is offline  
Old 2-10-03, 12:12 AM   #35
erodzen
It's fun to be a Pepere!
 
erodzen's Avatar
 
Join Date: Jan 2003
Location: in the Great state of Maine!
Posts: 117
Reputation: 5
I just looked at mine and it is set to 644 like they say it should be. That sets Owner: Read and Write, Group: Read, and Public: Read. If I want to turn off Owner: Write it looks like I can but that makes it 444. Is yours acting different?

Also, as long as the admin subdirectory is properly password protected is there really any problem with the file security?
__________________
A man who says marriage is a 50-50 proposition doesn't understand two things: 1 - Women, 2 - Fractions
erodzen is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 04:08 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.