Page blanche avec Easy PHP

omarF Messages postés 82 Date d'inscription dimanche 25 janvier 2009 Statut Membre Dernière intervention 24 novembre 2012 - 9 déc. 2009 à 20:44
omarF Messages postés 82 Date d'inscription dimanche 25 janvier 2009 Statut Membre Dernière intervention 24 novembre 2012 - 10 déc. 2009 à 20:59
jutilise EasyPHP et les serveurs MySQL et Apache sont en marche (vert),
lorsque je tappe http://localhost il maffiche une page blanche.
Le dossier www contient mon siteWeb

Aidez moi SVP

10 réponses

omarF Messages postés 82 Date d'inscription dimanche 25 janvier 2009 Statut Membre Dernière intervention 24 novembre 2012
10 déc. 2009 à 16:10
où sont les developpeurs PHP ?
0
kohntark Messages postés 3705 Date d'inscription lundi 5 juillet 2004 Statut Membre Dernière intervention 27 avril 2012 30
10 déc. 2009 à 20:12
.... ils répondent sans doute aux messages portant le mot clé "bonjour"

Si tu crées un fichier "tartanpion.php" dans www et que tu y colles :
<?php
echo 'Hello World';
?>
Puis que tu appelles la page http://localhost/tartanpion.php
Qu'est ce que ça dit ?



Kohntark -
0
omarF Messages postés 82 Date d'inscription dimanche 25 janvier 2009 Statut Membre Dernière intervention 24 novembre 2012
10 déc. 2009 à 20:20
il m'affiche Hello world
0
kohntark Messages postés 3705 Date d'inscription lundi 5 juillet 2004 Statut Membre Dernière intervention 27 avril 2012 30
10 déc. 2009 à 20:27
Ok, c'est donc un problème avec ton script.
Peut on le voir ?


Kohntark -
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
omarF Messages postés 82 Date d'inscription dimanche 25 janvier 2009 Statut Membre Dernière intervention 24 novembre 2012
10 déc. 2009 à 20:29
j'ai bien configuré ma base ' le nom d'utilisateur et le mot de passe' comme c'est noté dans mon fichier configuration.PHP qui se trouve dans le repertoir www
0
omarF Messages postés 82 Date d'inscription dimanche 25 janvier 2009 Statut Membre Dernière intervention 24 novembre 2012
10 déc. 2009 à 20:32
voilà le code de mon fichier index.php

<?php
/**
* @version $Id: index.php 10381 2008-06-01 03:35:53Z pasamio $
* @package Joomla
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// Set flag that this is a parent file
define( '_JEXEC', 1 );

define('JPATH_BASE', dirname(__FILE__) );

define( 'DS', DIRECTORY_SEPARATOR );

require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );

JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null;

/**
* CREATE THE APPLICATION
*
* NOTE :
*/
$mainframe =& JFactory::getApplication('site');

/**
* INITIALISE THE APPLICATION
*
* NOTE :
*/
// set the language
$mainframe->initialise();

JPluginHelper::importPlugin('system');

// trigger the onAfterInitialise events
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;
$mainframe->triggerEvent('onAfterInitialise');

/**
* ROUTE THE APPLICATION
*
* NOTE :
*/
$mainframe->route();

// authorization
$Itemid = JRequest::getInt( 'Itemid');
$mainframe->authorize($Itemid);

// trigger the onAfterRoute events
JDEBUG ? $_PROFILER->mark('afterRoute') : null;
$mainframe->triggerEvent('onAfterRoute');

/**
* DISPATCH THE APPLICATION
*
* NOTE :
*/
$option = JRequest::getCmd('option');
$mainframe->dispatch($option);

// trigger the onAfterDispatch events
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;
$mainframe->triggerEvent('onAfterDispatch');

/**
* RENDER THE APPLICATION
*
* NOTE :
*/
$mainframe->render();

// trigger the onAfterRender events
JDEBUG ? $_PROFILER->mark('afterRender') : null;
$mainframe->triggerEvent('onAfterRender');

/**
* RETURN THE RESPONSE
*/
echo JResponse::toString($mainframe->getCfg('gzip'));
0
kohntark Messages postés 3705 Date d'inscription lundi 5 juillet 2004 Statut Membre Dernière intervention 27 avril 2012 30
10 déc. 2009 à 20:33
D'accord, mais ce n'est pas ma question.
Tu as un fichier index.php dans www n'est ce pas ? Que contient il ?



Kohntark -
0
omarF Messages postés 82 Date d'inscription dimanche 25 janvier 2009 Statut Membre Dernière intervention 24 novembre 2012
10 déc. 2009 à 20:38
le fichier index.php contient

<?php
/**
* @version $Id: index.php 10381 2008-06-01 03:35:53Z pasamio $
* @package Joomla
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// Set flag that this is a parent file
define( '_JEXEC', 1 );

define('JPATH_BASE', dirname(__FILE__) );

define( 'DS', DIRECTORY_SEPARATOR );

require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );

JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null;

/**
* CREATE THE APPLICATION
*
* NOTE :
*/
$mainframe =& JFactory::getApplication('site');

/**
* INITIALISE THE APPLICATION
*
* NOTE :
*/
// set the language
$mainframe->initialise();

JPluginHelper::importPlugin('system');

// trigger the onAfterInitialise events
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;
$mainframe->triggerEvent('onAfterInitialise');

/**
* ROUTE THE APPLICATION
*
* NOTE :
*/
$mainframe->route();

// authorization
$Itemid = JRequest::getInt( 'Itemid');
$mainframe->authorize($Itemid);

// trigger the onAfterRoute events
JDEBUG ? $_PROFILER->mark('afterRoute') : null;
$mainframe->triggerEvent('onAfterRoute');

/**
* DISPATCH THE APPLICATION
*
* NOTE :
*/
$option = JRequest::getCmd('option');
$mainframe->dispatch($option);

// trigger the onAfterDispatch events
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;
$mainframe->triggerEvent('onAfterDispatch');

/**
* RENDER THE APPLICATION
*
* NOTE :
*/
$mainframe->render();

// trigger the onAfterRender events
JDEBUG ? $_PROFILER->mark('afterRender') : null;
$mainframe->triggerEvent('onAfterRender');

/**
* RETURN THE RESPONSE
*/
echo JResponse::toString($mainframe->getCfg('gzip'));

----------------------------------------------------------
et le fichier index2.php contient ce code
<?php
/**
* @version $Id: index2.php 10381 2008-06-01 03:35:53Z pasamio $
* @package Joomla
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

$_REQUEST['tmpl'] = 'component';
include('index.php');
0
kohntark Messages postés 3705 Date d'inscription lundi 5 juillet 2004 Statut Membre Dernière intervention 27 avril 2012 30
10 déc. 2009 à 20:42
Désolé, j'ai loupé ton dernier message.
Je n'ai quasiment aucune expérience avec Joomla et pour le coup je ne pourrais pas t'aider des masses.
Je ne doute pas que des calés en la matière passeront par là, mais n'hésite pas à profiter des forums spécialisés qui sont très répandus.

Cordialement,

Kohntark -
0
omarF Messages postés 82 Date d'inscription dimanche 25 janvier 2009 Statut Membre Dernière intervention 24 novembre 2012
10 déc. 2009 à 20:59
ok merci en tout cas, je vais voir d'autres forum
0
Rejoignez-nous