We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18219
    • 826 Posts
    Bonjour à tous.

    Je lance un nouveau post sans réellement savoir si cela vient de MODx ou de ma config WAMP 5 (Apache 2, PHP 5 et MySQL 5)

    Bon, voila mes messages d’erreur quand je quitte MODx :

    Warning: Cannot modify header information - headers already sent by (output started at D:\www\mon_site\manager\includes\lang\francais.inc.php:1) in D:\www\mon_site\manager\processors\logout.processor.php on line 19
    
    Warning: session_start() function.session-start: Cannot send session cookie - headers already sent by (output started at D:\www\mon_site\manager\includes\lang\francais.inc.php:1) in D:\www\mon_site\manager\includes\config.inc.php on line 38
    
    Warning: session_start() function.session-start: Cannot send session cache limiter - headers already sent (output started at D:\www\mon_site\manager\includes\lang\francais.inc.php:1) in D:\www\mon_site\manager\includes\config.inc.php on line 38
    
    Warning: Cannot modify header information - headers already sent by (output started at D:\www\mon_site\manager\includes\lang\francais.inc.php:1) in D:\www\mon_site\manager\processors\logout.processor.php on line 36


    De même, j’ai le message suivant quand je souhaite créer un nouvel utilisateur :
    Parse error: syntax error, unexpected $end in D:\www\mon_sitemanager\actions\dynamic\mutate_user.dynamic.action.php on line 994


    Je pense que cela est du aux sessions. J’ai regardé et comparé le fichier de config php.ini avec mon ancien environnement : le paramètrage est identique.

    Quelqu’un aurait une idée ?

    PS : J’ai posté le même mssage sur le forum de WAMP 5 pour connaître leur avis mais j’avoue ne pas les trouver très réactif.
      Marc
      I'm French... Sorry for my bad English, I use ' Google Translator' or other... but that remains that tools wink
      • 18219
      • 826 Posts
      Je pense que cela provient de l’encoding UTF-8 et notamment la prise en compte du BOM (voir le topic de nissai)

      J’ai voulu revenir sur une autre configuration d’encoding notamment ’iso-8859-1’
      Voila ce que j’obtiens comme écran d’administration : Page blanche avec les caractères suivants
      


      Comment revenir en arrière huh

      @David, j’espère que la prochaine version prend en compte correctement l’encodage UTF-8 wink
        Marc
        I'm French... Sorry for my bad English, I use ' Google Translator' or other... but that remains that tools wink
        • 18219
        • 826 Posts
        J’ai copier le fichier

        Reste le pb lors de la création d’un nouvel utilisateur :
        Parse error: syntax error, unexpected $end in D:\www\mx_mac\manager\actions\dynamic\mutate_user.dynamic.action.php on line 994


        Quelqu’un a une idée ?
        Je pense au changement de version de MySQL de 4.1 à 5
          Marc
          I'm French... Sorry for my bad English, I use ' Google Translator' or other... but that remains that tools wink
          • 31331
          • 50 Posts
          Désolé Marc, je n’ai pas la solution mais je tiens a te dire que cela ne doit pas venir de MySQL 5 car je l’utilise aussi avec xampp 5 sur un pc windows xp et sur un autre en ubuntu linux et je n’ai pas ce problème.
          Par contre cela vient peut etre d’une configuration différente du à l’install de xampp 5.
          Je vais regarder ce fichier mutate_user.dynamic.action.php et je te redit si je trouve quelque chose dedans mais à mon avis le problème est extérieur.