osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Change root directory for /catalog after installation???

This is a discussion on Change root directory for /catalog after installation??? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi, I installed 2.2CVS a few weeks ago. After I started to design the site, I realized that instead of ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-22-2003, 11:37 AM
Lurker
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
xavier_8_29_98
Default Change root directory for /catalog after installation???

Hi,

I installed 2.2CVS a few weeks ago. After I started to design the site, I realized that instead of www.solo5reminders.com/catalog/default.php I preferred everything at the root (solo5reminders.com/default.php).

The problem is that I have organized several categories and uploaded 40 or so products. How do I make the move without messing up the paths throughout the site?

Thanks,
Kimberly
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 07-22-2003, 09:49 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,077
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Products/category paths are all dynamic, so as long as you update the configure.php to reflect the correct location of the catalog files, all will be fine. In other words, remove all references to /catalog in your configure.php.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 09-06-2003, 01:04 PM
New Member
 
Join Date: Aug 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DebbieG
Default

I have been at this for days!! I have read everything I can in the forums and nothing seem to helps. I am trying to get my site to show up with www.mysite.com instead of www.mysite.com/catalog. If you can PLEASE help......I am ready to go live, but want to fix this first. I think I really messed up because nothing I do seems to work!!!

Thanks in Advance,
Debbie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 09-06-2003, 01:24 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,077
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

All you have to do is move all files up one level in the dir tree. Instead of everything in /catalog, move it all to /public_html.

Then change both configure.php files, removing all path references to /catalog
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 09-07-2003, 10:25 AM
New Member
 
Join Date: Aug 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DebbieG
Default

I moved all my files to public_html and removed all references to catalog in my configure.php files. And then I lost my entire site! It had 12 warnings and and fatal errors. Most of them relating to my application_top.php file.
Quote:
Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/lib/php') in /home/thingsud/public_html/catalog/index.php on line 13
I tried taking this line:
Quote:
require ('includes/application_top.php');
and adding this:
Quote:
('includes/application_top.php' (include_path='.:/usr/local/lib/php'));
but I get a parse error. I have changed it a hundred times, but cannot figure it out.

Please Help
Debbie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 09-07-2003, 10:48 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,077
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

DebbieG, change the line you modified to the original. The problem is not that line. The problem is you made a mistake in your path. Be sure you have the path correct. That is the problem. If you do not understand relative and absolute paths, you will have trouble with this. It is really a simple 2 minute operation to move the site up the directory tree. You just made a mistake somewhere in the configure.php file.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 09-27-2003, 05:36 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

Install the orginal backup (I hope you have one) of BOTH configure.php then change all refernces to '/catalog/' to '/'

Fixed!
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
change my mind to root installation ? qantas_new osCMax v2 Installation issues 2 10-07-2006 07:46 PM
Moved catalog from /catalog/ to root and now no images_big Redeye_Joe osCMax v2 Features Discussion 3 05-01-2006 06:01 PM
Can't install Oscommerce - only one script in root directory dalglish osCommerce 2.2 Installation Help 1 01-16-2005 01:09 PM
change location of some files in catalog directory yellowriver osCMax v1.7 Installation 0 10-22-2004 05:33 AM
Install in ROOT or CATALOG Folder??? Masalai osCommerce 2.2 Installation Help 6 12-29-2003 05:05 PM


All times are GMT -8. The time now is 03:58 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax