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 ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-22-2003, 10: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!
  #2  
Old 07-22-2003, 08:49 PM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,761
Thanks: 139
Thanked 609 Times in 521 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

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 09-06-2003, 12: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, 12:24 PM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,761
Thanks: 139
Thanked 609 Times in 521 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

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 09-07-2003, 09: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, 09:48 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,761
Thanks: 139
Thanked 609 Times in 521 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

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 09-27-2003, 04:36 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
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 - To contact, post on the forum or click here
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!
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 06:46 PM
Moved catalog from /catalog/ to root and now no images_big Redeye_Joe osCMax v2 Features Discussion 3 05-01-2006 05:01 PM
Can't install Oscommerce - only one script in root directory dalglish osCommerce 2.2 Installation Help 1 01-16-2005 12:09 PM
change location of some files in catalog directory yellowriver osCMax v1.7 Installation 0 10-22-2004 04:33 AM
Install in ROOT or CATALOG Folder??? Masalai osCommerce 2.2 Installation Help 6 12-29-2003 04:05 PM


All times are GMT -8. The time now is 06:56 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design