Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

about to install shop in root


Guest

Recommended Posts

nope - just remove any references to catalog/ in your configure.php files and you're all set.

Hi,

 

I had the site 90% there in the catalog folder but decided I wanted the shop at root.

 

I therefore moved all of the files from catalog to root, and then amended to admin/includes/configure.php file and the includes/configure.php file to remove all references to catalog/

 

Then changed the permission of the includes/configure.php.

 

When I tested it, everything looks okay EXCEPT that the entire right column is mental. The tables are all messed up and not drawing correctly but I can't understand why given it's the same code as was working except for the amended configuration files......

 

Any help would be a lifesaver.... >_<

Link to comment
Share on other sites

Hi,

 

I had the site 90% there in the catalog folder but decided I wanted the shop at root.

 

I therefore moved all of the files from catalog to root, and then amended to admin/includes/configure.php file and the includes/configure.php file to remove all references to catalog/

 

Then changed the permission of the includes/configure.php.

 

When I tested it, everything looks okay EXCEPT that the entire right column is mental. The tables are all messed up and not drawing correctly but I can't understand why given it's the same code as was working except for the amended configuration files......

 

Any help would be a lifesaver.... >_<

 

Are you sure your catalog/includes/configure.php now looks like this, as often a misplaced '/' throws all off?

*****************************************

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.mydomaine.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'http://www.mydomaine.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.mydomaine.com');

define('HTTPS_COOKIE_DOMAIN', 'www.mydomaine.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/.xxx/x/sitexxx/web/'); -->path to site given by hoster

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

*************************************************************************

Link to comment
Share on other sites

Are you sure your catalog/includes/configure.php now looks like this, as often a misplaced '/' throws all off?

*****************************************

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.mydomaine.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'http://www.mydomaine.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.mydomaine.com');

define('HTTPS_COOKIE_DOMAIN', 'www.mydomaine.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/.xxx/x/sitexxx/web/'); -->path to site given by hoster

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

*************************************************************************

 

Yep, it all seems okay (but obviously isn't)...!!...

 

My includes/configuration.php is :

 

<code>

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.devmc.theabbeyshop.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.devmc.theabbeyshop.com');

define('HTTPS_COOKIE_DOMAIN', 'www.devmc.theabbeyshop.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/kunden/homepages/10/d85670999/htdocs/devshopmc/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

</code>

 

To see the problem go to www.devmc.theabbeyshop.com - all the data is displayed but it's just mental on the right column...????...I've been trying to work this out for 2 days now and it's driving me nuts.

 

Any help would be much appreciated....

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...