Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP! Custom HTTP Error Page kills login


Recommended Posts

Hello,

 

I installed "Custom HTTP Error Page Contriburtion" and it works fine but with Mozilla Firefox it causes weird problem.

 

I am able to add items to cart as a visitor or logged but when I am trying to Continue it kicks me out (logs me out) and the shopping cart is empty. There are no any visible errors.

 

Removing http_error.php from ../catalog/ fixes this problem but then I have no customized error messages.

 

Can anyone help me? Is there any better personal error pages than "Custom HTTP Error Page Contriburtion" for OsC?

 

-Mika

Link to comment
Share on other sites

Hello,

 

I installed "Custom HTTP Error Page Contriburtion" and it works fine but with Mozilla Firefox it causes weird problem.

 

I am able to add items to cart as a visitor or logged but when I am trying to Continue it kicks me out (logs me out) and the shopping cart is empty. There are no any visible errors.

 

Removing http_error.php from ../catalog/ fixes this problem but then I have no customized error messages.

 

Can anyone help me? Is there any better personal error pages than "Custom HTTP Error Page Contriburtion" for OsC?

 

-Mika

 

I have also Separate Price Per Customer Contribution. Maybe there is something mess with these contributions?

Link to comment
Share on other sites

I have also Separate Price Per Customer Contribution. Maybe there is something mess with these contributions?

 

I just tested my colleague's site and he has a same problem without SPPC Contribution. There must be something in ../catalog/http_error.php which causes this problem.

 

Can anone help me, please.

 

-M

Link to comment
Share on other sites

could be dealing with your configure.php, cookie settings and / or also the way ssl is setup.

post configure.php file without the database connection info

Link to comment
Share on other sites

could be dealing with your configure.php, cookie settings and / or also the way ssl is setup.

post configure.php file without the database connection info

 

This one?

 

<?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://domain'); // 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', 'domain');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/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', '.../catalog/');

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

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

 

// define our database connection

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

define('DB_SERVER_USERNAME', 'user');

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'database');

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

first, you need the full http for your domain in http_server settings.

dir_fd_catalog needs the full path

store_sessions needs to be set to 'mysql'

Link to comment
Share on other sites

first, you need the full http for your domain in http_server settings.

dir_fd_catalog needs the full path

store_sessions needs to be set to 'mysql'

 

Thanks, :)

 

I had them there but now there is mysql too. It did not fix the problem. And it exist only with Firefox. Works fine with msie or Opera.

 

.htaccess:

It works if I use .htm errorpage but referring to http_errorpage.php (if it exists in catalog/) causes this problem. If I delete http_errorpage.php it works fine but then I have to use .htm errorpages. I have not done any changes to http_errorpage.php.

 

-M

Link to comment
Share on other sites

  • 2 weeks later...
Thanks, :)

 

I had them there but now there is mysql too. It did not fix the problem. And it exist only with Firefox. Works fine with msie or Opera.

 

.htaccess:

It works if I use .htm errorpage but referring to http_errorpage.php (if it exists in catalog/) causes this problem. If I delete http_errorpage.php it works fine but then I have to use .htm errorpages. I have not done any changes to http_errorpage.php.

 

-M

 

Please help me with this problem.

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...