Fork me on GitHub




(1) 2 »


Installation de xoops sur linux
Newbie
Inscrit: 27/09/2010 12:58
De wi
Messages: 13
Bonjour,


J'ai une application basé sur xoops deja prete installée sur windows je veux installer cette application sur linux (centos) est ce qu il ya un doc ou est expliquée l'installation pas à pas sur linux


Merci

Posté le : 27/09/2010 13:01
Partager Twitter Partagez cette article sur GG+
Re: Installation de xoops sur linux
Supporter Xoops
Inscrit: 17/12/2005 01:41
De Alpes Maritimes
Messages: 1682
Bonjour

Sans le nom de ton programme ca va etre dure de te passer la doc.
Ensuite Xoops ne s'installe pas sur windows mais sur un serveur. Pour le mettre sur ton windows en local il faut donc émuler un serveur avec un autre logiciel (comme wamp par exemple) regarde dans la section téléchargement partie outils tu devrais trouver ton bonheur pour émuler un serveur sur linux.

Xoopsement benoit

Posté le : 27/09/2010 13:41
Partager Twitter Partagez cette article sur GG+
Re: Installation de xoops sur linux
Newbie
Inscrit: 27/09/2010 12:58
De wi
Messages: 13
Dans la partie téléchargements->outils je vois que Filezila!!!!

Posté le : 27/09/2010 18:21
Partager Twitter Partagez cette article sur GG+
Re: Installation de xoops sur linux
Semi pro
Inscrit: 04/08/2005 14:16
De Quelque part dans les étoiles...
Messages: 1141
Pour Windows on dit Wamp
Pour Linux on dit Lamp

Google est ton ami
http://www.google.fr/search?source=ig ... pbx=1&fp=e95ddc70bf869e12

Posté le : 27/09/2010 19:16

Il n'y a qu'une chose que vous pouvez changer dans l'Univers : c'est Vous-Même !
Partager Twitter Partagez cette article sur GG+
Re: Installation de xoops sur linux
Xoops accro
Inscrit: 20/02/2008 20:27
De Belgium
Messages: 2708
Le Linux doit être configurée comme 'serveur internet'.
Ça veut dire il y a Apache, MySQL et PHP (par exemple avec XAMPP).
Après il faut télécharger XOOPS vers le dossier htdocs et aller avec le navigateur vers la site pour faire l'installation.

Posté le : 28/09/2010 00:52

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: Installation de xoops sur linux
Newbie
Inscrit: 27/09/2010 12:58
De wi
Messages: 13
J'ai deja mon site pret! c'est pas la peine je pense de reinstaller tt au debut !! mais comment faire

Posté le : 29/09/2010 11:05
Partager Twitter Partagez cette article sur GG+
Re: Installation de xoops sur linux
Xoops accro
Inscrit: 20/02/2008 20:27
De Belgium
Messages: 2708
Il y a une FAQ pour transférer des sites. (Ça n'a pas d'importance que c'est du Windows vers Linux.)
Il faut transférer tous les fichiers (sauf xoops_data, là seulement le index.html).
Faites les permissions sur les dossiers spéciales comme avec une nouvelle installation.
Installer le bdd, depuis une sauvegarde (effacez tout dans les tables sessions et online).
Adaptez les définitions en mainfile.php (voies, URL, connexion bdd, etc)
(Aussi possible est de faire une installation neuf avec XOOPS et après remplacer le bdd, comme ça le mainfile.php est déjà générée par l'installation)

Posté le : 29/09/2010 11:56

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: Installation de xoops sur linux
Newbie
Inscrit: 27/09/2010 12:58
De wi
Messages: 13
MERCI

quand je fait un copier collerde mon dssier ou se trouve mon application , je recois ce message en tapant 192.168.254.200

This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Unable to connect to database

sachant que mon mainfile .php est
**************
<?php
// $Id: mainfile.dist.php 506 2006-05-26 23:10:37Z skalpa $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
// <http://www.xoops.org/> //
// ------------------------------------------------------------------------ //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// You may not change or alter any portion of this comment or credits //
// of supporting developers from this source code or any supporting //
// source code which is considered copyrighted (c) material of the //
// original comment or credit authors. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with this program; if not, write to the Free Software //
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //

if ( !defined("XOOPS_MAINFILE_INCLUDED") ) {
define("XOOPS_MAINFILE_INCLUDED",1);

// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_ROOT_PATH', 'c:/program files/easyphp1-8/www/personnel');
define('XOOPS_ROOT_PATH', '/var/www/Personnel/');

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://196.200.156.117/Personnel');
define('XOOPS_URL', 'http://192.168.254.200/Personnel/');
define('XOOPS_CHECK_PATH', 1);
// Protect against external scripts execution if safe mode is not enabled
if ( XOOPS_CHECK_PATH && !@ini_get('safe_mode') ) {
if ( function_exists('debug_backtrace') ) {
$xoopsScriptPath = debug_backtrace();
if ( !count($xoopsScriptPath) ) {
die("XOOPS path check: this file cannot be requested directly");
}
$xoopsScriptPath = $xoopsScriptPath[0]['file'];
} else {
$xoopsScriptPath = isset($_SERVER['PATH_TRANSLATED']) ? $_SERVER['PATH_TRANSLATED'] : $_SERVER['SCRIPT_FILENAME'];
}
if ( DIRECTORY_SEPARATOR != '/' ) {
// IIS6 may double the \ chars
$xoopsScriptPath = str_replace( strpos( $xoopsScriptPath, '\\\\', 2 ) ? '\\\\' : DIRECTORY_SEPARATOR, '/', $xoopsScriptPath);
}
if ( strcasecmp( substr($xoopsScriptPath, 0, strlen(XOOPS_ROOT_PATH)), str_replace( DIRECTORY_SEPARATOR, '/', XOOPS_ROOT_PATH)) ) {
exit("XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.");
}
}

// Database
// Choose the database to be used
define('XOOPS_DB_TYPE', 'mysql');

// Table Prefix
// This prefix will be added to all new tables created to avoid name conflict in the database. If you are unsure, just use the default 'xoops'.
define('XOOPS_DB_PREFIX', 'xoops');

// Database Hostname
// Hostname of the database server. If you are unsure, 'localhost' works in most cases.
define('XOOPS_DB_HOST', 'localhost');

// Database Username
// Your database user account on the host
define('XOOPS_DB_USER', 'root');

// Database Password
// Password for your database user account
define('XOOPS_DB_PASS', '');

// Database Name
// The name of database on the host. The installer will attempt to create the database if not exist
define('XOOPS_DB_NAME', 'personet');

// Use persistent connection? (Yes=1 No=0)
// Default is 'Yes'. Choose 'Yes' if you are unsure.
define('XOOPS_DB_PCONNECT', 1);

define('XOOPS_GROUP_ADMIN', '1');
define('XOOPS_GROUP_USERS', '2');
define('XOOPS_GROUP_ANONYMOUS', '3');

foreach ( array('GLOBALS', '_SESSION', 'HTTP_SESSION_VARS', '_GET', 'HTTP_GET_VARS', '_POST', 'HTTP_POST_VARS', '_COOKIE', 'HTTP_COOKIE_VARS', '_REQUEST', '_SERVER', 'HTTP_SERVER_VARS', '_ENV', 'HTTP_ENV_VARS', '_FILES', 'HTTP_POST_FILES', 'xoopsDB', 'xoopsUser', 'xoopsUserId', 'xoopsUserGroups', 'xoopsUserIsAdmin', 'xoopsConfig', 'xoopsOption', 'xoopsModule', 'xoopsModuleConfig', 'xoopsRequestUri') as $bad_global ) {
if ( isset( $_REQUEST[$bad_global] ) ) {
header( 'Location: '.XOOPS_URL.'/' );
exit();
}
}

if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
include XOOPS_ROOT_PATH."/include/common.php";
}
}
?>
********************************
qq a une idée???

Posté le : 29/09/2010 12:13
Partager Twitter Partagez cette article sur GG+
Re: Installation de xoops sur linux
Xoops accro
Inscrit: 20/02/2008 20:27
De Belgium
Messages: 2708
Vérifiez que les définitions XOOPS_DB_xxxxx sont correctes et que le XOOPS_DB_USER existe et a des droits.
Est-ce-que ce serveur Linux est à vous ou d'une hébergeur?
En tous cas (si la site est ouvert pour la publique) l’utilisateur et mot de passe pour la bdd doivent être changées de ce par défaut de root et aucune, car ça n'est pas sûre.
(Ne publiez pas ce paramètres ici)

Posté le : 29/09/2010 12: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: Installation de xoops sur linux
Newbie
Inscrit: 27/09/2010 12:58
De wi
Messages: 13
Oui ca a marché je me trompé sur le mot de passe merci beaucoup mais y'a un autre problème
la page d'accueil apprait correctement mais quand je met le login et le mot de passe il me dit merci pour votre authentification mais ya que la meme page(page d'acceuil qui se recharge) c'est su à quoi je ne sais pas

Posté le : 29/09/2010 18:50
Partager Twitter Partagez cette article sur GG+

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



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

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