This is a discussion on Security error on account creation within the osCMax v1.7 Installation forums, part of the osCMax v1.7 Forums category; Hey all- Helping a friend with a site, and we are running into a "cookie error" stating that ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hey all- Helping a friend with a site, and we are running into a "cookie error" stating that cookies have to be enabled. We have set the browser to accept everything known to man, and it still gives us the error. Any ideas? Url of the site is http://www.mydvdepot.com Aodhan |
|
#2
| ||||
| ||||
| Yea - cookies for your site is not setup correctly. Post a copy of your CONFIGURE.PHP file (less the database bit).
__________________ JPF - osCMax Fourm Moderator 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! |
|
#3
| |||
| |||
| I'm a dork. Edited last post out, I'll get a copy of the config file. |
|
#4
| |||
| |||
| Ok, here's the CONFIGURE.PHP file. I edited out the database portion, and there is a directory cookie/tmp under the root structure. Thanks all! Aodhan Code: <?php
/*
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', 'http://www.mydvdepot.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.mydvdepot.com');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', 'cookie/tmp');
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/');
//Added for BTS1.0
define('DIR_WS_TEMPLATES', 'templates/');
define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/');
define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/');
//End BTS1.0
define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/home/content/d/v/d/dvdepot/html/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
// define our database connection
?> |
|
#5
| ||||
| ||||
| What you need to post is the catalog configure.php - not the admin's (but you have to change BOTH anyway) Look for and change to: define('HTTP_COOKIE_DOMAIN', 'http://www.mydvdepot.com'); define('HTTPS_COOKIE_DOMAIN', 'http://www.mydvdepot.com''); define('HTTP_COOKIE_PATH', '/cookie/tmp/'); define('HTTPS_COOKIE_PATH', '/cookie/tmp/');
__________________ JPF - osCMax Fourm Moderator 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! |
|
#6
| |||
| |||
| Do you also have to CHMOD the cookie path '/cookie/tmp/' ? |
|
#7
| ||||
| ||||
| I find it odd that he wants to use a "non-standard" directory for this is normally it is /catalog/ or / (root) which normally hads the correct permissions (777 or 776). Thus if you move/change this then you have to have the same permissions on that directory also. I personally never tried moving it - so permissions should be looked at. I just assummed permissions was properly set.
__________________ JPF - osCMax Fourm Moderator 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! |
|
#8
| |||
| |||
| Quote:
Code: <?php
/*
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', 'http://www.mydvdepot.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', 'http://www.mydvdepot.com');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '/cookie/tmp');
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/');
//Added for BTS1.0
define('DIR_WS_TEMPLATES', 'templates/');
define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/');
define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/');
//End BTS1.0
define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/home/content/d/v/d/dvdepot/html/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
?> |
|
#9
| ||||
| ||||
| Im bad.... define('HTTP_COOKIE_DOMAIN', 'http://www.mydvdepot.com'); define('HTTPS_COOKIE_DOMAIN', 'http://www.mydvdepot.com''); s/b define('HTTP_COOKIE_DOMAIN', 'mydvdepot.com'); define('HTTPS_COOKIE_DOMAIN', 'mydvdepot.com''); or try: define('HTTP_COOKIE_DOMAIN', 'www.mydvdepot.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mydvdepot.com'');
__________________ JPF - osCMax Fourm Moderator 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! |
|
#10
| |||
| |||
| Quote:
Aodhan |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Edit the account creation email | adamr415 | osCMax v2 Features Discussion | 1 | 10-04-2005 05:29 PM |
| Adding fields to account creation page | adamr415 | osCMax v2 Customization/Mods | 1 | 10-03-2005 10:05 PM |
| emails not sent after new account creation | Anonymous | osCMax v1.7 Installation | 1 | 11-23-2003 11:55 AM |
| Application Hangs During Account Creation Submit | maxwelltl | osCMax v1.7 Discussion | 1 | 09-24-2003 10:54 AM |
| Required Option at account creation | martva | osCommerce 2.2 Modification Help | 1 | 06-02-2003 02:35 AM |