Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem. Ever Return To Login.php


ramoniacs

Recommended Posts

Posted

I updated the version of my php host and now I can not make purchases after clicking "hold order", the page returns to login.php, I think it's in trouble or cokkies sessions, already modified my configure.php and my admin panel .. I do not know what else to do, is my php safe mode with the option on ... help me please

my version store: oscommerce 2.2 ms2

php version: 5.3

my configure.php:

define('HTTP_SERVER', 'http://www.acraciaeditora.com.br'); // 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.acraciaeditora.com.br');
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', '/home/acraciae/public_html/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
// define our database connection
define('DB_SERVER', 'xxxx'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'xxxxxx');
define('DB_SERVER_PASSWORD', 'xxxxx');
define('DB_DATABASE', 'xxxxx');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

Posted

I took a look, sorry I don't know your language.

Have you cleared the cookies in your browser? Because near as I can tell oscommerce seems totally normal for a site without ssl

Good luck!

~Motorcity

Posted

@@ramoniacs

 

MS2 was written for use with PHP 4.x. If you have not updated and the database for use with PHP 5.3.x then you will need to do so.

 

 

 

 

Chris

Posted

Rename your admin or protect it with .htaccess - as it is anyone can get into it.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...