Fork me on GitHub




« 1 (2) 3 »


Re: AVERTISSEMENT: xoops_lib & xoops_data
Aspirant
Inscrit: 28/10/2009 15:03
Messages: 28
Ok donc je crées un autres répertoire "XXX" Je mais mais 2 dossier dedans et dans le mainfile.php je change le chemin pour le faire aller dans ce dossier .

Si j'ai bien compris

Posté le : 17/12/2009 09:06
Partager Twitter Partagez cette article sur GG+
Re: AVERTISSEMENT: xoops_lib & xoops_data
Aspirant
Inscrit: 28/10/2009 15:03
Messages: 28
Bas sa marche pas non plus. Je commence a en avoir marre ...


Bon alors J'ai crées un dossier "autres" Es que je dois mettre les 2 dossier dedans ?

Si oui pouvez vous me donnée la modife a mettre dans mainfile.php svp

Car tous ce que je tente marche pas ...

Posté le : 17/12/2009 10:01
Partager Twitter Partagez cette article sur GG+
Re: AVERTISSEMENT: xoops_lib & xoops_data
Supporter Xoops
Inscrit: 09/01/2005 13:37
De Breizh
Messages: 16972
Pour pouvoir t'aider, nous aurions besoin de connaître la hiérarchie des répertoires sur ton serveur.
Je pense qu'avec la doc et recommandations d'installation de xoops tu devrais t'en sortir sans trop de problème

Tu peux également regarder sur miniserver comment xoops est installé --> http://tutos.xoofoo.org/modules/mydow ... /visit.php?cid=24&lid=209

@+

Posté le : 17/12/2009 12:57

La connaissance s'accroît quand on la partage ...
Partager Twitter Partagez cette article sur GG+
Re: AVERTISSEMENT: xoops_lib & xoops_data
Xoops accro
Inscrit: 20/02/2008 20:27
De Belgium
Messages: 2708
Exemple d'une organisation des dossiers.

Posté le : 17/12/2009 14:30

Salutations, Gerard.
PS: Excusez mon mauvais français.
De la bonne manière de poser les questions
Partager Twitter Partagez cette article sur GG+
Re: AVERTISSEMENT: xoops_lib & xoops_data
Semi pro
Inscrit: 07/11/2009 10:34
De Lot
Messages: 517
Voilà la mise en forme de mes dossiers et de leurs nom communs.
Tu peux t'en inspirer pour faire de même de ton cotés, moi ça à fonctionner du premier coup grâce à l'aide de Ghia.
Image ci dessous.

Open in new window


Mon fichier mainfile.php lui contient ces lignes.

if (!defined("XOOPS_MAINFILE_INCLUDED")) {
     
define("XOOPS_MAINFILE_INCLUDED"1);
      
// XOOPS Physical Paths
      // Physical path to the XOOPS documents (served) directory WITHOUT trailing slash
     
define('XOOPS_ROOT_PATH''/home/tonnom/public_html');
      
// For forward compatibility
     // Physical path to the XOOPS library directory WITHOUT trailing slash
     
define('XOOPS_PATH''/home/tonnom/secure/lib');
     
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
     
define('XOOPS_VAR_PATH''/home/tonnom/secure/data');
     
// Alias of XOOPS_PATH, for compatibility, temporary solution
     
define("XOOPS_TRUST_PATH"XOOPS_PATH);
      
// URL Association for SSL and Protocol Compatibility
     
$http 'http://';
     if (!empty(
$_SERVER['HTTPS'])) {
         
$http = ($_SERVER['HTTPS']=='on') ? 'https://' 'http://';
     }
     
define('XOOPS_PROT'$http);
      
// XOOPS Virtual Path (URL)
     // Virtual path to your main XOOPS directory WITHOUT trailing slash
     // Example: define('XOOPS_URL', 'http://monsite.net');
     
define('XOOPS_URL''http://monsite.net');


A tu ça de ton cotés?.

Par contre après modification de ton fichier mainfile.php, tu dois supprimer celui de ton serveur ftp avant de mettre le nouveau sinon ça foire et c'est peut être ça qui te pénalise.

Posté le : 17/12/2009 14:48

Tout vient à  point à qui sait attendre.
http://www.graph-attitude.fr
Partager Twitter Partagez cette article sur GG+
Re: AVERTISSEMENT: xoops_lib & xoops_data
Aspirant
Inscrit: 28/10/2009 15:03
Messages: 28
Bonjours , merci pour ton poste .

Alors moi j'ai comme tu ma dit avec les dossier , et dans mon mainfile.php j'ai ceci (Qui n'est pas comme le tien...)


// Physical path to the XOOPS documents (served) directory WITHOUT trailing slash
define('XOOPS_ROOT_PATH', '/homepages/36/d290491244/htdocs/site/atn');

// For forward compatibility
// Physical path to the XOOPS library directory WITHOUT trailing slash
define('XOOPS_PATH', '/homepages/36/d290491244/htdocs/site/atn/xoops_lib');
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
define('XOOPS_VAR_PATH', '/homepages/36/d290491244/htdocs/site/atn/xoops_data');

Sa tombe pas comme toi

Posté le : 18/12/2009 08:34
Partager Twitter Partagez cette article sur GG+
Re: AVERTISSEMENT: xoops_lib & xoops_data
Régulier
Inscrit: 24/01/2008 09:20
De Moselle
Messages: 169
bon j'ai fait la modif sur mon serveur 1and1 (encore jamais "osé" le faire). et ça marche super sans soucis pour les 2 sites.
=> déplacer et renommer xoops_lib et xoops_data
=> vider les caches
=> modifier le mainfile.php
et tout tourne

Posté le : 18/12/2009 09:25
Partager Twitter Partagez cette article sur GG+
Re: AVERTISSEMENT: xoops_lib & xoops_data
Aspirant
Inscrit: 28/10/2009 15:03
Messages: 28
Bonjour , Quesque tu appelle pars "vider les caches" ?

Posté le : 18/12/2009 10:29
Partager Twitter Partagez cette article sur GG+
Re: AVERTISSEMENT: xoops_lib & xoops_data
Régulier
Inscrit: 24/01/2008 09:20
De Moselle
Messages: 169
supprimer les fichiers des répertoires sauf les index.html


edit pour précisions:
dans xoops_data\cache
je vide les répertoires smarty_cache (complètement), xoops_cache (tout sauf index.html), smarty_compile (je ne sais pas si c'est nécessaire mais je vide tout sauf index.html)

Posté le : 18/12/2009 10:52
Partager Twitter Partagez cette article sur GG+
Re: AVERTISSEMENT: xoops_lib & xoops_data
Semi pro
Inscrit: 07/11/2009 10:34
De Lot
Messages: 517
Citation :

xpected a écrit:
bon j'ai fait la modif sur mon serveur 1and1 (encore jamais "osé" le faire). et ça marche super sans soucis pour les 2 sites.
=> déplacer et renommer xoops_lib et xoops_data
=> vider les caches
=> modifier le mainfile.php
et tout tourne


Avec grand plaisir, si je t'ai aider j'en suis ravis, j'apprends des autres et je donne ce qu'on m'apprend ;).

Posté le : 18/12/2009 14:51

Tout vient à  point à qui sait attendre.
http://www.graph-attitude.fr
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant
« 1 (2) 3 »



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

125 Personne(s) en ligne (100 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 125 | Plus ...