Jump to content

URGENT : LOGIN INACTIF


philm

Recommended Posts

Bonjour

gros problème d'identification : une fois soumis les champs du login se vident et rien ne se passe.

Essai avec plusieurs noms et mdp correspondant même chose.

Quelqu'un peut-il m'aider, c'est urgent. Merci.

Philippe

Prestashop 1.52 www.lokaterre.com

Link to comment
Share on other sites

Le problème est corrigé : en supprimant le hack du module PSS/ Bloc Wordpress dans Prestashop

 

// HACK - START

// get WordPress installation directory and path is absolute properties

$pss_wpinps_confs = Configuration::getMultiple(array('PRESTASCOPE_WPIPS_WP_DIR',

'PRESTASCOPE_WPIPS_WP_DIR_ABS'));

if (array_key_exists('PRESTASCOPE_WPIPS_WP_DIR', $pss_wpinps_confs)

&& strlen($pss_wpinps_confs['PRESTASCOPE_WPIPS_WP_DIR'])>0)

{

// the main Wordpress file location

$wpinps_filename = $pss_wpinps_confs['PRESTASCOPE_WPIPS_WP_DIR_ABS']=='1'?

$pss_wpinps_confs['PRESTASCOPE_WPIPS_WP_DIR'].'wp-load.php':

_PS_ROOT_DIR_.'/'.$pss_wpinps_confs['PRESTASCOPE_WPIPS_WP_DIR'].'wp-load.php';

// not in the admin section or there will be a redeclaration error

// for a translate() function defined both in PS and WP

if (file_exists($wpinps_filename)

&& !defined('PS_ADMIN_DIR')

&& !defined('_PS_ADMIN_DIR_'))

{

// load WordPress

define('WP_USE_THEMES', false);

require_once($wpinps_filename);

}

}

// HACK - END

Edited by philm (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...