OSCommerce

  • Thread starter Thread starter Crush
  • Start date Start date
I'm sure it could be done. if you've got fp 2002 or newer make sure the
settings are so that fp won't try to edit existing page code. then unzip
the osc folder to someplace on your computer. then open FrontPage. make
sure there is no web opened, and click file/ open web and browse to the osc
folder, when you open the folder as if it were a web, fp will ask if you
want to add files to "convert it", let fp do that.

now just follow the instructions that came wit the app and publish it to a
subweb on your server.

you could follow the same directions above on www.candypress.com and it'll
be much easier. this is a very good cart and sells for a fraction of what
it's worth. here is one that I deployed for a someone:
http://eagleherblady.com it's only got slight modifications for look, and
the scrolling "add to cart box" was a mod I found and used because her
product descriptions were so long.

HTH
I'll help you from a "help desk" im trying to work out:
http://nedp.net/support
 
Yes, don't!

The FrontPage editor will convert the the last CRLF characters in the php
files into additional spaces at the end of the file.

When a header is sent, it cannot contain data before the header and you will
end up with a significant number of errors when viewing the pages.

As these are pgp files, you can't WYSIWYG them anyway, so you should use
WORDPAD to open and edit the files. Do not use NOTEPAD it has the same
problems as the Frontpage editor and will cause you grief.

Apart from that you can still use FP as the IDE, just don't edit the pages
in FP.

HTH.
Peter.
 
What do you mean Notepad has the same problem as FP edit functions?

Notepad is a plain text editor whereas WordPad, is a very, very, very lite
version of Word.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Hi Peter,

Have you tried this with FrontPage 2003? I'm curious about this issue and
wonder if FP still do this or not.

Also, I'm a little confused: did you mean to say that this also happens in
Wordpad, so you should use Notepad? I'm surprised if it's the other way
around.

-John
 
I've done it with FrontPage 2002 and with it set to leave page code alone
there is no problem. I've played around with a number of php, php/ mysql
apps with FrontPage and haven't had problems.
I've even been able to edit/ publish a pearl/cgi scripted app wit fp and not
had any problems.

HTH
 
WORDPAD works fine.
NOTEPAD doesn't.

It's generally only the files that write a php header that end up with an
additional space before it attempts to write the header which in a PHP world
will cause your script to crash.

It's not every PHP file either, but some of the files within the osCommerce
package cause me the problems with the CRLF characters that NOTEPAD doesn't
like.

I'm not saying this is a problem with ALL php files, just some of the ones
in the osCommerce package.

Specifically the includes/english.php file causes grief as well as some of
the shipping.php and privacy.php files. I haven't editied every file in the
package, these are just some that cause me grief.

I use FP2000 so I can't comment on other versions as to whether the problem
exists there or not.

You can use FP as the IDE, just do be aware that "I" run into some problems
with some files, you may not.

If you do get a problem with the php files writing invalid headers, consider
that this may have been the cause and revert back to using WORDPAD.

Peter.
 
honestly, I think it's a problem with your version. I was able to do
www.cmsimple.dk (a really cool app) that writes headers. I remember being
warned on a PEARL app about the very thing you're talking about the last
line.....

fwiw you may want to look at www.candypress.com it's a much nicer and more
complete app than osc. still I'm looking at the osc-phpnuke mod ;-)

I hope the original poster has followed this thread! ;-)
 
Back
Top