Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

my configure.php doesnt look right


rommany

Recommended Posts

Hello,

 

i think im missing a lot of data here can someone check and tell me if anything is wrong, i use no ssl just paypal. thxs

 

 

 

<?php

/*

$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 © 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.jellybabys.co.uk/'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'http://www.jellybabys.co.uk/'); // 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/');

 

// define our database connection

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

define('DB_SERVER_USERNAME', '********');

define('DB_SERVER_PASSWORD', '********');

define('DB_DATABASE', 'jellybabys_co_uk_1');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

HI.

 

The reason i am asking is because i have opened a test account and every time it keeps taking me to the login part and that goes for edit details and confirm order, so for it to keep returning to login again something must be wrong, and i have had well over 50 people leave my site at the login part and even after opening an account, so i guessing they keep having to login. i know i would only do it my self once mybe twice then not trust the site after that.

 

someone pls help, i hate too beg but im losing customers.

 

many thxs

Link to comment
Share on other sites

define('HTTP_COOKIE_DOMAIN', '');

TO

define('HTTP_COOKIE_DOMAIN', 'www.jellybabys.co.uk');

 

 

ive just dont that and know i have this warning on my site

 

Warning: I am able to write to the configuration file: /data/members/paid/j/e/jellybabys.co.uk/htdocs/www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

pls helppppppppppppp

Link to comment
Share on other sites

Ive done this and im still getting the warning ?

 

 

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

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

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

define('HTTP_COOKIE_DOMAIN', 'www.jellybabys.co.uk');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

 

 

Any ideas pls john

 

thxs

Link to comment
Share on other sites

Has no one go a clue how i remove the warning pls

 

Change the permissions to configure.php to 444

Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.

Link to comment
Share on other sites

Hello,

 

 

Sorry to go back on this one, but i got an email from my host ( who are very big :( )saying that i need to go back to osc as they ( my host ) could not help me with the 1, warning sign ( but i fixed that by starting all over again 5 more days work ) but i havent finally learnt to back up :blush: 2, they could not change the cookies for me so i am back to the beginning again as my customers keep getting logged off after signing on then going to a new page eg basket and so on, but i cant change the cookies part myself as i will get the warning sign again ( at a guess ).

 

Could anyone pls help as this is the make or break of my site.

 

 

Many many thxs

Link to comment
Share on other sites

When you were getting this error you were almost there.

 

Warning: I am able to write to the configuration file: /data/members/paid/j/e/jellybabys.co.uk/htdocs/www/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

All you had to do at that point was to change the file permissions of includes/configure.php

 

What is the point of your hosting company providing osCommerce if they won't provide even basic help on installing it?

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...