Finalement j'ai corrigé 3 erreurs dans le startup.ini, ça fonctionne. En tout cas, le script fait bien ce qu'on lui demande et j'arrive bien à me connecter en admin ou avec le compte utilisateur.
Par contre, impossible de se déconnecter, posh garde toujours en mémoire l'ancienne adresse 127.0.0.1 du coup on est redirigé vers une erreur 404 et je ne sais pas où est-ce qu'il stocke ça.
Pour le moment ce que modifie startup.ini c'est le fichier includes/config.inc.php de posh et la table adm_config de la base de donnée. Dans les deux il y a une valeur pour l'accès à la base de donnée et une pour l'emplacement du site.
- Code: Tout sélectionner
- [UpdateMySQLPort]
 Name=Update Eskuel Port
 Description=Update Eskuel config with the Open MySQL Port
 Type=REPLACE
 File={$root_path_absolute}\App\{$ApplicationPath}\includes\config.inc.php
 SearchPattern=define\("__SERVER","localhost(:\d*)?"\);
 ReplaceValue=define("__SERVER","localhost:{$mysql_port}");
 [UpdateWebPort]
 Name=Update web Port
 Description=Update posh config with the open web Port
 Type=REPLACE
 File={$root_path_absolute}\App\{$ApplicationPath}\includes\config.inc.php
 SearchPattern=define\("__LOCALFOLDER","http://127.0.0.1(:\d*)?/posh/"\);
 ReplaceValue=define("__LOCALFOLDER","http://127.0.0.1:{$zmws_port}/posh/");
 [UpdateAdminServerSQLPort]
 Name=Update Server SQL
 Description=Update posh "adm_config" table with some real config values
 Type=SQL
 Query=UPDATE `adm_config` SET `value`='localhost:{$mysql_port}' WHERE `parameter`='SERVER';
 [UpdateAdminLocalFolderPort]
 Name=Update LocalFolder
 Description=Update posh "adm_config" table with some real config values
 Type=SQL
 Query=UPDATE `adm_config` SET `value`='http://127.0.0.1:{$zmws_port}/posh/' WHERE `parameter`='LOCALFOLDER';
Sinon, j'ai modifié la page descriptive (help.fr.html) qui contenait les infos relatives à Wordpress.
- 
				JosephK
   
- Messages : 2221

 
 c'est quoi IE ???
   c'est quoi IE ???   
  )
 )