developette Posted April 24, 2012 Share Posted April 24, 2012 Bonjour, Je viens de voir que j'ai quelque erreur sur mon site Prestashop Impossible de s'identifier en front office, erreur: "échec lors de l'authentification" Impossible de creer un compte en front office: "une erreur s'est produite pendant la création de votre compte" Lorsque je clic sur l'onglet CLIENT dans le back office, j'ai l'erreur: Requête SQL invalide J'ai rien modifié de particulier. Le site fonctionnait tres bien avant. Version 1.3.6.0 Version du client MySQL: 4.1.x Link to comment Share on other sites More sharing options...
developette Posted April 24, 2012 Author Share Posted April 24, 2012 Comment on fait pour voir les erreurs? Link to comment Share on other sites More sharing options...
Dev On Web Posted April 24, 2012 Share Posted April 24, 2012 Il faut les activer dans le fichier config/config.inc.php et le mode dev c'est dans config/defines.inc.php, dans les premières lignes Link to comment Share on other sites More sharing options...
developette Posted April 24, 2012 Author Share Posted April 24, 2012 c'est deja sur : @ini_set('display_errors', 'On'); define('_PS_DEBUG_SQL_', true); mais y'a rien qui s'affiche. et je comprends pas ce qu'il faut faire dans config/defines.inc.php. Link to comment Share on other sites More sharing options...
Dev On Web Posted April 24, 2012 Share Posted April 24, 2012 Dans le defines.inc.php : define('_PS_MODE_DEV_', true); Bon après, j'ai jamais eu la 1.3 entre les mains donc je ne peux pas t'en dire plus^^ Link to comment Share on other sites More sharing options...
developette Posted April 24, 2012 Author Share Posted April 24, 2012 en local (MySQL client version: 5.1.37) le problème est le même, sauf que l'onglet CLIENT fonctionne dans le back office. En local, j'ai vidé la tablet: ps_customer et la creation de compte via le front office re fonctionne.. Link to comment Share on other sites More sharing options...
developette Posted April 24, 2012 Author Share Posted April 24, 2012 Dans le defines.inc.php : define('_PS_MODE_DEV_', true); Bon après, j'ai jamais eu la 1.3 entre les mains donc je ne peux pas t'en dire plus^^ Y'a pas. <?php $currentDir = dirname(__FILE__); /* Base and themes */ define('_THEMES_DIR_', __PS_BASE_URI__.'themes/'); define('_THEME_IMG_DIR_', _THEMES_DIR_._THEME_NAME_.'/img/'); define('_THEME_CSS_DIR_', _THEMES_DIR_._THEME_NAME_.'/css/'); define('_THEME_JS_DIR_', _THEMES_DIR_._THEME_NAME_.'/js/'); define('_THEME_CAT_DIR_', __PS_BASE_URI__.'img/c/'); define('_THEME_PROD_DIR_', __PS_BASE_URI__.'img/p/'); define('_THEME_PROD_PIC_DIR_', __PS_BASE_URI__.'upload/'); define('_THEME_MANU_DIR_', __PS_BASE_URI__.'img/m/'); define('_THEME_SCENE_DIR_', __PS_BASE_URI__.'img/scenes/'); define('_THEME_SCENE_THUMB_DIR_', __PS_BASE_URI__.'img/scenes/thumbs'); define('_THEME_SUP_DIR_', __PS_BASE_URI__.'img/su/'); define('_THEME_SHIP_DIR_', __PS_BASE_URI__.'img/s/'); define('_THEME_LANG_DIR_', __PS_BASE_URI__.'img/l/'); define('_THEME_COL_DIR_', __PS_BASE_URI__.'img/co/'); define('_SUPP_DIR_', __PS_BASE_URI__.'img/su/'); define('_THEME_DIR_', _THEMES_DIR_._THEME_NAME_.'/'); define('_MAIL_DIR_', __PS_BASE_URI__.'mails/'); define('_MODULE_DIR_', __PS_BASE_URI__.'modules/'); define('_PS_IMG_', __PS_BASE_URI__.'img/'); define('_PS_ADMIN_IMG_', _PS_IMG_.'admin/'); /* Directories */ define('_PS_ROOT_DIR_', realpath($currentDir.'/..')); define('_PS_CLASS_DIR_', _PS_ROOT_DIR_.'/classes/'); define('_PS_TRANSLATIONS_DIR_', _PS_ROOT_DIR_.'/translations/'); define('_PS_DOWNLOAD_DIR_', _PS_ROOT_DIR_.'/download/'); define('_PS_MAIL_DIR_', _PS_ROOT_DIR_.'/mails/'); define('_PS_ALL_THEMES_DIR_', _PS_ROOT_DIR_.'/themes/'); define('_PS_THEME_DIR_', _PS_ROOT_DIR_.'/themes/'._THEME_NAME_.'/'); define('_PS_IMG_DIR_', _PS_ROOT_DIR_.'/img/'); define('_PS_CAT_IMG_DIR_', _PS_IMG_DIR_.'c/'); define('_PS_PROD_IMG_DIR_', _PS_IMG_DIR_.'p/'); define('_PS_SCENE_IMG_DIR_', _PS_IMG_DIR_.'scenes/'); define('_PS_SCENE_THUMB_IMG_DIR_', _PS_IMG_DIR_.'scenes/thumbs/'); define('_PS_MANU_IMG_DIR_', _PS_IMG_DIR_.'m/'); define('_PS_SHIP_IMG_DIR_', _PS_IMG_DIR_.'s/'); define('_PS_SUPP_IMG_DIR_', _PS_IMG_DIR_.'su/'); define('_PS_COL_IMG_DIR_', _PS_IMG_DIR_.'co/'); define('_PS_TMP_IMG_DIR_', _PS_IMG_DIR_.'tmp/'); define('_PS_PROD_PIC_DIR_', _PS_ROOT_DIR_.'/upload/'); define('_PS_TOOL_DIR_', _PS_ROOT_DIR_.'/tools/'); define('_PS_SMARTY_DIR_', _PS_TOOL_DIR_.'smarty/'); define('_PS_STEST_DIR_', _PS_TOOL_DIR_.'simpletest/'); define('_PS_SWIFT_DIR_', _PS_TOOL_DIR_.'swift/'); define('_PS_FPDF_PATH_', _PS_TOOL_DIR_.'fpdf/'); define('_PS_PEAR_XML_PARSER_PATH_', _PS_TOOL_DIR_.'pear_xml_parser/'); define('_PS_CSS_DIR_', __PS_BASE_URI__.'css/'); define('_PS_JS_DIR_', __PS_BASE_URI__.'js/'); /* settings php */ define('_PS_TRANS_PATTERN_', '(.*[^\\\\])'); define('_PS_MIN_TIME_GENERATE_PASSWD_', '360'); if (!defined('PHP_VERSION_ID')) { $version = explode('.', PHP_VERSION); define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2])); } define('_CAN_LOAD_FILES_', 1); /* Order states */ define('_PS_OS_CHEQUE_', 1); define('_PS_OS_PAYMENT_', 2); define('_PS_OS_PREPARATION_', 3); define('_PS_OS_SHIPPING_', 4); define('_PS_OS_DELIVERED_', 5); define('_PS_OS_CANCELED_', 6); define('_PS_OS_REFUND_', 7); define('_PS_OS_ERROR_', 8); define('_PS_OS_OUTOFSTOCK_', 9); define('_PS_OS_BANKWIRE_', 10); define('_PS_OS_PAYPAL_', 11); /* Tax behavior */ define('PS_PRODUCT_TAX', 0); define('PS_STATE_TAX', 1); define('PS_BOTH_TAX', 2); define('_PS_PRICE_DISPLAY_PRECISION_', 2); define('PS_TAX_EXC', 1); define('PS_TAX_INC', 0); define('PS_FRENCH_ECOTAX_RATE', 0.196); define('PS_ROUND_UP', 0); define('PS_ROUND_DOWN', 1); define('PS_ROUND_HALF', 2); /* PS Technical configuration */ define('_PS_ADMIN_PROFILE_', 1); Link to comment Share on other sites More sharing options...
Dev On Web Posted April 24, 2012 Share Posted April 24, 2012 Ha mince, ça n'existait pas à l'époque ^^ Désolé ! Link to comment Share on other sites More sharing options...
developette Posted April 24, 2012 Author Share Posted April 24, 2012 Quand je vide la table: ps_customer sur mon hebergeur, je peux cliquer sur l'onglet client dans le back office. Mais je ne peux toujours pas creer de compte client en front... ca deviens chiant.. Link to comment Share on other sites More sharing options...
Dev On Web Posted April 24, 2012 Share Posted April 24, 2012 Quel hébergeur ? Peut être que ça fera réagir quelqu'un ayant rencontré ce soucis... Link to comment Share on other sites More sharing options...
developette Posted April 24, 2012 Author Share Posted April 24, 2012 Icodia. Link to comment Share on other sites More sharing options...
Dev On Web Posted April 24, 2012 Share Posted April 24, 2012 Hmm inconnu au bataillon pour moi :/ Link to comment Share on other sites More sharing options...
developette Posted April 24, 2012 Author Share Posted April 24, 2012 Je viens de voir qu'il y a aussi un problème lors de la demande d'un nouveau mot de passe: Une erreur s'est produite et votre nouveau mot de passe n'a pas pu vous être envoyé : merci de signaler ce problème en utilisant le formulaire de contact. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now