Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Configure.php help...


Tye

Recommended Posts

Posted

Hi

 

Hows things going?

 

I am in need of a little help with my catalog/includes/configure.php

 

I have been building a site using OScommerce on a Mac using OSX and testing in Firefox and IE - here it is:

 

www.mbjewellery.com/jewellery/index.php

 

All was going well and I thought I had it finished when I checked on my PC with both browsers - and I get broken images and no style sheet attached.

 

A little stumped I looked into my config file only to find this:

 

/*
 $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 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', ''); // 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', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

I am no expert, in fact this is my first OScommerce site - but that looks like it missing some fields.

 

I have searched - but only came up with posts mentioning the 'configure.php'

 

Is something not correct here?

 

Thanks

 

Tye

Posted

That is basically a blank configure.php file you need to add all your server information to it. You can do this manually or run the install script.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

I actually installed OScommerce through the install script!!!!

 

If I run it again - will it damage any work I've done, including contributions I have installed?

 

 

That is basically a blank configure.php file you need to add all your server information to it. You can do this manually or run the install script.

Posted
I actually installed OScommerce through the install script!!!!

 

If I run it again - will it damage any work I've done, including contributions I have installed?

I don't know the answer to your question, but I'd back up the file and update it manually.

Posted
I actually installed OScommerce through the install script!!!!

 

If I run it again - will it damage any work I've done, including contributions I have installed?

 

The install script makes changes to your two configure.php files and your database. The rest of your files will not be affected. If any of your contiributions required you to make changes to your database you will need to do a restore from the backup on your local copy once you have run the install script.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
I don't know the answer to your question, but I'd back up the file and update it manually.

 

OK Thanks for the help - I'm checking out and trying this tomorrow with a clear head :'(

 

I have a backups - thats fine

 

I'll run the install script [which I think I have deleted as requested by OSC] - is there any other files other than install.php which I need to un-delete?

 

Also - why does this seem not to bother FireFox on the Mac - all appears well there and even test orders have worked and the contribution 'easy populate' works fine.... does that seem strange?

Posted
The install script makes changes to your two configure.php files and your database.  The rest of your files will not be affected. If any of your contiributions required you to make changes to your database you will need to do a restore from the backup on your local copy once you have run the install script.

 

Thanks ozcsys - that was a worry :-"

 

Luckily I have kept a changelog - which is totally out of character for me - but has proved invaluable in this case B)

 

[and totally recommended to anyone using OSC]

Archived

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

×
×
  • Create New...