Virtu Posted May 26, 2013 Share Posted May 26, 2013 (edited) Bonjour, j'ai un soucis de taille, réservé aux professionnels. Cette nuit vers 7h30 je tente d'accèder à mon back office et là je me retrouve devant cela : http://www.universel-informatique.fr/administrateur/ qui me donne cette page : Not Found The requested URL /administrateur/'.str_replace('&', '&', Tools::safeOutput($url, true)).' was not found on this server. Apache/2.2.22 (Debian) Server at www.universel-informatique.fr Port 80 et quand je tente de retirer ce symbole j'ai tous sa : * @copyright 2007-2012 PrestaShop SA * @version Release: $Revision: 16875 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ define('_PS_ADMIN_DIR_', getcwd()); define('PS_ADMIN_DIR', _PS_ADMIN_DIR_); // Retro-compatibility include(PS_ADMIN_DIR.'/../config/config.inc.php'); include(PS_ADMIN_DIR.'/functions.php'); include(PS_ADMIN_DIR.'/header.inc.php'); if (empty($tab) and !sizeof($_POST)) { $tab = 'AdminHome'; $_POST['tab'] = 'AdminHome'; $_POST['token'] = Tools::getAdminTokenLite($tab); } if ($id_tab = checkingTab($tab)) { $isoUser = Language::getIsoById(intval($cookie->id_lang)); $tabs = array(); recursiveTab($id_tab); $tabs = array_reverse($tabs); $bread = ''; foreach ($tabs AS $key => $item) $bread .= ' '.((sizeof($tabs) - 1 > $key) ? '.%27&token=%27.Tools::getAdminToken%28$item[%27class_name%27].intval%28$item[%27id_tab%27]%29.intval%28$cookie-%3Eid_employee%29%29.%27"]' : '').' '.$item['name'].((sizeof($tabs) - 1 > $key) ? '' : ''); // @TODO : a way to desactivate this feature echo''; echo ' '.translate('Back Office').' '.$bread.' '; if (Validate::isLoadedObject($adminObj)) { if ($adminObj->checkToken()) { /* Filter memorization */ if (isset($_POST) AND !empty($_POST) AND isset($adminObj->table)) foreach ($_POST AS $key => $value) if (is_array($adminObj->table)) { foreach ($adminObj->table AS $table) if (strncmp($key, $table.'Filter_', 7) === 0 OR strncmp($key, 'submitFilter', 12) === 0) $cookie->$key = !is_array($value) ? $value : serialize($value); } elseif (strncmp($key, $adminObj->table.'Filter_', 7) === 0 OR strncmp($key, 'submitFilter', 12) === 0) $cookie->$key = !is_array($value) ? $value : serialize($value); if (isset($_GET) AND !empty($_GET) AND isset($adminObj->table)) foreach ($_GET AS $key => $value) if (is_array($adminObj->table)) { foreach ($adminObj->table AS $table) if (strncmp($key, $table.'OrderBy', 7) === 0 OR strncmp($key, $table.'Orderway', 8) === 0) $cookie->$key = $value; } elseif (strncmp($key, $adminObj->table.'OrderBy', 7) === 0 OR strncmp($key, $adminObj->table.'Orderway', 12) === 0) $cookie->$key = $value; $adminObj->displayConf(); $adminObj->postProcess(); $adminObj->displayErrors(); $adminObj->display(); } else { // If this is an XSS attempt, then we should only display a simple, secure page ob_clean(); // ${1} in the replacement string of the regexp is required, because the token may begin with a number and mix up with it (e.g. $17) $url = preg_replace('/([&?]token=)[^&]*(&.*)?$/', '${1}'.$adminObj->token.'$2', $_SERVER['REQUEST_URI']); if (false === strpos($url, '?token=') AND false === strpos($url, '&token=')) $url .= '&token='.$adminObj->token; $message = translate('Invalid security token'); echo ' '.$message.' '; echo ' '.Tools::htmlentitiesUTF8(translate('I understand the risks and I really want to display this page')).' '.Tools::htmlentitiesUTF8(translate('Take me out of here!')).' '; die; } } } include(PS_ADMIN_DIR.'/footer.inc.php'); quelqu' pourrez t'il m'aiguiller vers une solution ? Cdtl. Virtu™ Edited May 26, 2013 by Virtu (see edit history) Link to comment Share on other sites More sharing options...
Bondaty and Co Posted May 26, 2013 Share Posted May 26, 2013 Topic déplace section configuration 1 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