Jump to content

Al acceder al backoffice no carga la parte de adminsitración


Recommended Posts

Al intentar acceder esta mañana a la parte de administración de prestashop como he hecho hasta ayer, introduzco el nombre de usuario y la contraseña y se vuelve a cargar la ventana login, como los datos son correctos no lanza ningun error, solo se vuelve a recargar la pagina del login. Si introduzco el usuario o la contraseña mal, me dice que falla uno de los dos, pero si la vuelvo a poner correcta, vuelve a cargar el login, parece un especie de bucle o algo, no se.

 

Tambien me ocurre cuando se identifica algun usuario no lanza error, pero se queda para poner de nuevo el nombre de usuario y contraseña.

 

Cuando pichas sobre un producto para añadirlo al carro tp funciona. (Hasta ayer funcionaba todo correctamente).

 

desde el ftp he borrado el contenido de la carpeta cache.

he cambiado el nombre de la carpeta a la cual accedo http://xxxxx.es/admin123 a http://xxxxx.es/1234.

He renombrado los .htaccess uno por uno para ir probando.

La versión de prestashop es la 1.6.0.9 y la web funciona bien solo es la parte de administración.

 

No se que mas hacer para poder solucionar este problema.

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

Habilita el reporte de errores: http://www.prestashop.com/forums/topic/232476-%C2%BFqu%C3%A9-hacer-cuando-se-queda-la-pantalla-en-blanco-en-prestashop/ y dime si al hacer login con el reporte de errores habiltiado te sale una pantalla de error.

 

¿La cache de tu propio navegador la has limpiado? ¿O has probado acceder desde otro navegador?

 

No te comento lo recuperar la password http://www.prestashop.com/forums/topic/39918-cambio-de-password-update%C2%A1/page-4?do=findComment&comment=957463 porque en tu caso no parece dicho problema, pero igualmente te dejo el enlace.

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

Gracias por contestar,

 

La cache del navegador esta limpia, he probado otros navegadores, en otro ordenador e incluso con otra conexión a internet.

Restaure la contraseña por descartar, recibi la nueva, y la introduzco. Como anteriormente no me lanza error porque es correcta, pero vuelve a cargar el login.

 

he activado el reporte de errores, pego la parte del código para ver que es correcto.

una vez activado no sale ningun error en pantalla, tambien es posible que no salga error, porque a mi la pantalla no se me queda en blanco ,simplemente se vuelvve a cargar como si hubiera introducido de manera incorrecta los datos de conexión pero sin mostrar el error.

 

Que otra cosa podria probar.

 

archivo defines.inc.php (estoy en la version 1.6.0.9)

 

/* Debug only */
define('_PS_MODE_DEV_', true);
/* Compatibility warning */
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);
if (_PS_MODE_DEV_)
{
@ini_set('display_errors', 'on');
@error_reporting(E_ALL | E_STRICT);
define('_PS_DEBUG_SQL_', true);
}
else
{
@ini_set('display_errors', 'off');
define('_PS_DEBUG_SQL_', false);
}
 
define('_PS_DEBUG_PROFILING_', false);
define('_PS_MODE_DEMO_', false);
 
$currentDir = dirname(__FILE__);
 
if (!defined('PHP_VERSION_ID'))
{
    $version = explode('.', PHP_VERSION);
    define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2]));
}
 
if (!defined('_PS_VERSION_') && (getenv('_PS_VERSION_') || getenv('REDIRECT__PS_VERSION_')))
define('_PS_VERSION_', getenv('_PS_VERSION_') ? getenv('_PS_VERSION_') : getenv('REDIRECT__PS_VERSION_'));
 
if (!defined('_PS_HOST_MODE_') && (getenv('_PS_HOST_MODE_') || getenv('REDIRECT__PS_HOST_MODE_')))
define('_PS_HOST_MODE_', getenv('_PS_HOST_MODE_') ? getenv('_PS_HOST_MODE_') : getenv('REDIRECT__PS_HOST_MODE_'));
 
if (!defined('_PS_ROOT_DIR_') && (getenv('_PS_ROOT_DIR_') || getenv('REDIRECT__PS_ROOT_DIR_')))
define('_PS_ROOT_DIR_', getenv('_PS_ROOT_DIR_') ? getenv('_PS_ROOT_DIR_') : getenv('REDIRECT__PS_ROOT_DIR_'));
 
/* Directories */
if (!defined('_PS_ROOT_DIR_'))
{
define('_PS_ROOT_DIR_', realpath($currentDir.'/..'));
 
if (!defined('_PS_CORE_DIR_'))
define('_PS_CORE_DIR_', _PS_ROOT_DIR_);
}
elseif (!defined('_PS_CORE_DIR_'))
define('_PS_CORE_DIR_', realpath($currentDir.'/..'));
 
define('_PS_ALL_THEMES_DIR_',        _PS_ROOT_DIR_.'/themes/');
/* BO THEMES */
if (defined('_PS_ADMIN_DIR_'))
define('_PS_BO_ALL_THEMES_DIR_', _PS_ADMIN_DIR_.'/themes/');
define('_PS_CACHE_DIR_', _PS_ROOT_DIR_.'/cache/');
define('_PS_CONFIG_DIR_', _PS_CORE_DIR_.'/config/');
define('_PS_CLASS_DIR_',             _PS_CORE_DIR_.'/classes/');
define('_PS_DOWNLOAD_DIR_',          _PS_ROOT_DIR_.'/download/');
define('_PS_MAIL_DIR_',              _PS_CORE_DIR_.'/mails/');
if (!defined('_PS_MODULE_DIR_'))
define('_PS_MODULE_DIR_',        _PS_ROOT_DIR_.'/modules/');
if (!defined('_PS_OVERRIDE_DIR_'))
    define('_PS_OVERRIDE_DIR_',          _PS_ROOT_DIR_.'/override/');
define('_PS_PDF_DIR_',               _PS_CORE_DIR_.'/pdf/');
define('_PS_TRANSLATIONS_DIR_',      _PS_ROOT_DIR_.'/translations/');
define('_PS_UPLOAD_DIR_', _PS_ROOT_DIR_.'/upload/');
 
define('_PS_CONTROLLER_DIR_',        _PS_CORE_DIR_.'/controllers/');
define('_PS_ADMIN_CONTROLLER_DIR_',  _PS_CORE_DIR_.'/controllers/admin/');
define('_PS_FRONT_CONTROLLER_DIR_',  _PS_CORE_DIR_.'/controllers/front/');
 
define('_PS_TOOL_DIR_',              _PS_CORE_DIR_.'/tools/');
define('_PS_GEOIP_DIR_',             _PS_TOOL_DIR_.'geoip/');
define('_PS_PEAR_XML_PARSER_PATH_',  _PS_TOOL_DIR_.'pear_xml_parser/');
define('_PS_SWIFT_DIR_',             _PS_TOOL_DIR_.'swift/');
define('_PS_TAASC_PATH_',            _PS_TOOL_DIR_.'taasc/');
define('_PS_TCPDF_PATH_',            _PS_TOOL_DIR_.'tcpdf/');
 
define('_PS_IMG_DIR_',               _PS_ROOT_DIR_.'/img/');
 
if (!defined('_PS_HOST_MODE_'))
define('_PS_CORE_IMG_DIR_',      _PS_CORE_DIR_.'/img/');
else
define('_PS_CORE_IMG_DIR_',      _PS_ROOT_DIR_.'/img/');
 
define('_PS_CAT_IMG_DIR_',           _PS_IMG_DIR_.'c/');
define('_PS_COL_IMG_DIR_', _PS_IMG_DIR_.'co/');
define('_PS_EMPLOYEE_IMG_DIR_',      _PS_IMG_DIR_.'e/');
define('_PS_GENDERS_DIR_',           _PS_IMG_DIR_.'genders/');
define('_PS_LANG_IMG_DIR_',          _PS_IMG_DIR_.'l/');
define('_PS_MANU_IMG_DIR_',          _PS_IMG_DIR_.'m/');
define('_PS_ORDER_STATE_IMG_DIR_',   _PS_IMG_DIR_.'os/');
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_SHIP_IMG_DIR_',          _PS_IMG_DIR_.'s/');
define('_PS_STORE_IMG_DIR_', _PS_IMG_DIR_.'st/');
define('_PS_SUPP_IMG_DIR_',          _PS_IMG_DIR_.'su/');
define('_PS_TMP_IMG_DIR_',           _PS_IMG_DIR_.'tmp/');
 
/* settings php */
define('_PS_TRANS_PATTERN_',            '(.*[^\\\\])');
define('_PS_MIN_TIME_GENERATE_PASSWD_', '360');
if (!defined('_PS_MAGIC_QUOTES_GPC_'))
define('_PS_MAGIC_QUOTES_GPC_',         get_magic_quotes_gpc());
 
define('_CAN_LOAD_FILES_', 1);
 
/* Order statuses
Order statuses have been moved into config.inc.php file for backward compatibility reasons */
 
/* 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_ORDER_PROCESS_STANDARD', 0);
define('PS_ORDER_PROCESS_OPC', 1);
 
define('PS_ROUND_UP', 0);
define('PS_ROUND_DOWN', 1);
define('PS_ROUND_HALF', 2);
 
/* Registration behavior */
define('PS_REGISTRATION_PROCESS_STANDARD', 0);
define('PS_REGISTRATION_PROCESS_AIO', 1);
 
/* Carrier::getCarriers() filter */
// these defines are DEPRECATED since 1.4.5 version
define('PS_CARRIERS_ONLY', 1);
define('CARRIERS_MODULE', 2);
define('CARRIERS_MODULE_NEED_RANGE', 3);
define('PS_CARRIERS_AND_CARRIER_MODULES_NEED_RANGE', 4);
define('ALL_CARRIERS', 5);
 
/* SQL Replication management */
define('_PS_USE_SQL_SLAVE_', 0);
 
/* PS Technical configuration */
define('_PS_ADMIN_PROFILE_', 1);
 
/* Stock Movement */
define('_STOCK_MOVEMENT_ORDER_REASON_', 3);
define('_STOCK_MOVEMENT_MISSING_REASON_', 4);
 
/**
 * @deprecated 1.5.0.1
 * @see Configuration::get('PS_CUSTOMER_GROUP')
 */
define('_PS_DEFAULT_CUSTOMER_GROUP_', 3);
 
define('_PS_CACHEFS_DIRECTORY_', _PS_ROOT_DIR_.'/cache/cachefs/');
 
/* Geolocation */
define('_PS_GEOLOCATION_NO_CATALOG_', 0);
define('_PS_GEOLOCATION_NO_ORDER_', 1);
 
define('MIN_PASSWD_LENGTH', 8);
 
define('_PS_SMARTY_NO_COMPILE_', 0);
define('_PS_SMARTY_CHECK_COMPILE_', 1);
define('_PS_SMARTY_FORCE_COMPILE_', 2);
 
define('_PS_SMARTY_CONSOLE_CLOSE_', 0);
define('_PS_SMARTY_CONSOLE_OPEN_BY_URL_', 1);
define('_PS_SMARTY_CONSOLE_OPEN_', 2);
 
define('_PS_JQUERY_VERSION_', '1.11.0');
Edited by joseagb (see edit history)
Link to comment
Share on other sites

Pues es raro lo que comentas, la cache y cookies las has limpiado y desde otro navegador tampoco accedes, habilitas el debug y no te sale nada...

 

¿Y en el ftp en la carpeta de administracion de la tienda se te ha generado algun fichero errorlog o algo parecido?

 

¿Esto solo te pasa desde esta mañana?

 

¿Cual fue el ultimo cambio recordado que has realizado antes de que dejara de funcionar?

Link to comment
Share on other sites

Gracias de nuevo Nadie, este es el error.log dentro de la carpeta administracion. no se si por aqui esta el error, pero es de anoche cuando hice los ultimos cambios. que fue cambiar el precio de unos productos.

Ya digo que pense que era solo el acceder a la adminsitración.

- No puedo acceder a la administración con los datos correctos que vuelve a poner que ponga los datos.

- Como usuario tp mismo problema.

-registrarse el usuario si.

- cuando le doy a añadir al carrito tp lo sube.

 

ERROR.LOG

 

[13-Oct-2014 21:51:16 Europe/Madrid] PHP Fatal error:  Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/home/discus/public_html/cache/smarty/cache/blockspecials/20141006/19/6/6e/e4/93): failed to open dir: No such file or directory' in /home/discus/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php:180
Stack trace:
#0 [internal function]: RecursiveDirectoryIterator->__construct('/home/discus/pu...', 0)
#1 /home/discus/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php(180): RecursiveDirectoryIterator->getChildren()
#2 /home/discus/public_html/tools/smarty/Smarty.class.php(777): Smarty_Internal_CacheResource_File->clear(Object(Smarty), '/home/discus/pu...', 'blockspecials', NULL, NULL)
#3 /home/discus/public_html/classes/Tools.php(2596): Smarty->clearCache('/home/discus/pu...', 'blockspecials', NULL)
#4 /home/discus/public_html/classes/module/Module.php(2106): ToolsCore::clearCache(Object(Smarty), '/home/discus/pu...', 'blockspecials', NULL)
#5 /home/discus/public_h in /home/discus/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 180
Link to comment
Share on other sites

  • nadie locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...