Bonjour
je suis a mon premier projet zend, mais je suis connaisseur en PHP.
j'ai installé zend avec cette commande
Code : Sélectionner tout - Visualiser dans une fenêtre à part
yum --enablerepo=remi install php-ZendFramework php-ZendFramework-Cache-Backend-Memcached php-ZendFramework-Db-Adapter-Mysqli php-ZendFramework-Dojo php-ZendFramework-Feed  php-ZendFramework-Gdata php-ZendFramework-Pdf php-ZendFramework-Search-Lucene php-ZendFramework-Services php-ZendFramework-Soap php-ZendFramework-demos php-ZendFramework-extras php-ZendFramework-tests
apres avoir crée un projet, j'ai edité le fichier public/index.php et j'ai mis le contenu suivant
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
echo "ok0";
 
// identifiants de compte Google
$email = 'johndoe@gmail.com';
$passwd = 'xxxxxx';
echo ok1;
try {
 
   $client = Zend_Gdata_ClientLogin::getHttpClient($email, $passwd, 'cl');
} catch (Zend_Gdata_App_CaptchaRequiredException $cre) {
    echo 'l'URL de l\'image CAPTCHA est: ' . $cre->getCaptchaUrl() . "\n";
    echo 'Token ID: ' . $cre->getCaptchaToken() . "\n";
} catch (Zend_Gdata_App_AuthException $ae) {
   echo 'Problème d\'authentification : ' . $ae->exception() . "\n";
}
 
$cal = new Zend_Gdata_Calendar($client);
 
?>
le probleme est que la page n'affiche aucun message (reste blanche)! meme pas les echo que j'ai inséré. On dirait que le script crache ??

Pouvez vous m'aider SVP.