Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

write review function not working


needquickhelp

Recommended Posts

Posted

Well i created a test account and enabled cash on delivery and made a purchase and set the status to delivered in the admin. when in the account i go to the item and click reviews, then write review it makes me relogin, but when i login it just sends me to the home page. Any one have a solution to this?

Posted

Your SSL is not set up correctly - post the top part of /includes/configure.php :)

 

Matti

Posted

well here it is, i think its all setup right. im using a shared ssl right now, but im going to switch to my own ssl certificate soon.

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://laredocreationstation.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://titanium.host-care.com/~laredoc'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'laredocreationstation.com');
 define('HTTPS_COOKIE_DOMAIN', 'laredocreationstation.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/laredoc/public_html');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted

This is correct:

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://laredocreationstation.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://titanium.host-care.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'laredocreationstation.com');
define('HTTPS_COOKIE_DOMAIN', 'titanium.host-care.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/~laredoc/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/~laredoc/');
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/laredoc/public_html');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted

I found out the problem it was my computer. my internet security zone in ie was on high. I tried lowering it but it wouldnt stay lowered. Good thing for firefox. thanks for the help tho.

Posted

Your store *is* wrongly configured - what I posted is correct.

 

Matti

Posted

That code broke the login from the homepage. If i click "log yourself in" on the homepage and i type in the user and pass it goes to a http 404 page. but it does log me in tho, i just have to press the back button and it says im logged in.

Posted

I fixed it, yeah!!! I took a look at your post, and that just broke the login. Your way was close but no cigar.

Here's how it should look:

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://laredocreationstation.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://titanium.host-care.com/~laredoc'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'http://laredocreationstation.com');
 define('HTTPS_COOKIE_DOMAIN', 'https://titanium.host-care.com/~laredoc/');
 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/laredoc/public_html');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Now it works perfect.

Archived

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

×
×
  • Create New...