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-11-04, 02:41 PM   #1
67mustang
 
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
OSCommerce as index page

I've already installed OSCommerce, but want my Web site home page to be the OSCommerce catalog index page. Do I have to delete OSCommerce and reinstall it checking the option to make it my home page (I seem to recall that option as I was installing it.) or is there some simple change I can make in one or two files or move them from one folder or directory to another to make my site's home page the OSCommerce index page?

Thanks for your help.

Doug
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Old 12-11-04, 04:23 PM   #2
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
The best option is to delete and reinstall. Some people will tell you to put a redirect in, but that will hurt your search engine rankings.

If you have a program that will do it, download all the files, delete the catalog folder and its contents, then re-upload to the htdocs folder. Don't forget to change the paths in the configure.php files accordingly. If you do it this way, you won't lose any of the work you put in.
__________________
Steve
stevel is offline  
Old 12-11-04, 04:51 PM   #3
67mustang
 
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
Thanks, Steve. I read on te OSCommerce forum that I could move the contents of the catalog folder to the root folder. Do I do that and upload the catalog folder contents to htdocs or upload the catalog folder with all its contents still inside?
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Old 12-11-04, 05:48 PM   #4
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
Actually, what I'd suggest is that you put in a support request asking that the contents of your "catalog" directory be moved up a level to htdocs. They can do it easier than you can. The way you would have to do it is by downloading, deleting, and uploading to the new path.
__________________
Steve
stevel is offline  
Old 12-12-04, 11:25 PM   #5
67mustang
 
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
So how do I make OSCommerce my home page?

I've gotten good at deleting OSCommerce then reloading it, trying to get it to be my index page, messing it up, deleting it again and starting all over. I almost had it, but when I tried to delete the install information as it said to in the pink bar atop the page, I messed it up and the site wouldn't work anymore.

So how do I set it up so that my home page will be the OSCommerce index page? Powweb tech support suggested a redirect from index.html to OSCommerce's index.php. But i've seen other sites that had OSCommerce as the index page, so it must not be too hard.

Thanks for your help.
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Old 12-13-04, 12:07 PM   #6
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
All you do is upload the contents of the "catalog" folder to your htdocs folder, so that what in the osC distribution is catalog/index.php is on your site htdocs/index.php Make sure you remove any other index files in htdocs.

You will have to upload the install folder, run the install, then remove it.
__________________
Steve
stevel is offline  
Old 12-13-04, 12:24 PM   #7
67mustang
 
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
Thanks, Steve. So do I run the install again after moving the catalog contents and uploading them, even after I've already run the install through Powweb?
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Old 12-13-04, 01:51 PM   #8
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
No, you don't have to if all you are doing is relocating an existing site. Just update the paths in the two configure.php files and you'll be good to go.
__________________
Steve
stevel is offline  
Old 12-13-04, 07:14 PM   #9
67mustang
 
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
Thanks again, Steve. Once I move the contents of the catalog folder, do I then need to delete the empty catalog folder?
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Old 12-13-04, 10:03 PM   #10
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
I would recommend it. You will need a tool that will do recursive deletes, such as SmartFTP or even MSIE.
__________________
Steve
stevel is offline  
Old 12-14-04, 11:16 PM   #11
67mustang
 
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
Thanks, Steve. Meanwhile, I've screwed up something else. When I try to open my admin page, I get the following message:

Parse error: parse error, unexpected T_VARIABLE in /www/a/axehauler/htdocs/aha/includes/functions/general.php on line 2

It previosuly worked fine, but at some point as I was trying to fix the security problems and update the links after moving the contents of the catalog folder, this problem occurred. I use Dreamweaver, which automates link updating. I haven't changed anything on this page, general.php. Any idea what the problem is?

Thanks again for all your help.
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Old 12-15-04, 11:02 AM   #12
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
You should not have let Dreamweaver touch the links, though I don't know that that is the problem. It looks as if a syntax error was introduced in that include file. Post the first 10 lines of it.
__________________
Steve
stevel is offline  
Old 12-15-04, 09:45 PM   #13
67mustang
 
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
Steve,

I fixed that problem but in doing so caused another but then fixed that. I think that's a record, fixing two things in one night by myself, so maybe I'm actually learning something here.

Thanks for your help. I'm sure I'll need it again.
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com

Last edited by 67mustang : 12-16-04 at 12:15 AM.
67mustang 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 05:11 PM.


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