Bonjour,
Je viens de changer d'hébergeur et copier mon site.
Par la même occasion, ce nouvel hébergement a des version de php et mysql plus récentes > je passe des versions 4 (ou tout fonctionnait dans le meilleur des mondes)aux versions 5.
Mes soucis, donnant des pages blanches :
Access denied for user 'httpd'@'localhost' (using password: NO)
All errors (16) queries (77) blocks (8) extra (0) timers (5) Errors
Notice: Undefined index: session_name in file /include/common.php line 254
Notice: Undefined index: session_name in file /include/common.php line 267
Notice: Undefined index: session_name in file /kernel/session.php line 273
Notice: Undefined index: session_name in file /kernel/session.php line 274
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning: mysql_query() [function.mysql-query]: Access denied for user 'httpd'@'localhost' (using password: NO) in file /mainfile.php line 127
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in file /mainfile.php line 127
la ligne 127 de mainfile.php est une requète
if (is_object($xoopsUser)) {
$uidpourtheme = $xoopsUser->getVar("uid");
///// forçage thème des membres //////
$requete_theme = mysql_query("SELECT theme,uid FROM users WHERE uid='$uidpourtheme'") or die(mysql_error());
while ($recup_theme= mysql_fetch_array($requete_theme) )
{
$user_theme=$recup_theme['theme'];
}
if ($user_theme!=""){$xoopsConfig['theme_set'] = $user_theme;}
la version de xoops est 2.3.2b
Merci pour toute aide.