osCmax v2.5 User Manual
Results 1 to 7 of 7

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

      
  1. #1
    Lurker
    Join Date
    Jul 2003
    Posts
    2
    Rep Power
    0


    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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 Documentation

  3. #3
    New Member
    Join Date
    Aug 2003
    Posts
    11
    Rep Power
    0


    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

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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 Documentation

  5. #5
    New Member
    Join Date
    Aug 2003
    Posts
    11
    Rep Power
    0


    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.
    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:
    require ('includes/application_top.php');
    and adding this:
    ('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

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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 Documentation

  7. #7
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    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!

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •